KEMBAR78
Delegate.GetMethodInfo may return null? · Issue #30968 · dotnet/runtime · GitHub
Skip to content

Delegate.GetMethodInfo may return null? #30968

@exyi

Description

@exyi

Why is the result of RuntimeReflectionExtensions.GetMethodInfo(this Delegate) marked as nullable? It only seems to touch the Delegate.Method property which is not nullable. If that's intended, could you please describe the reason in a comment?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions