Skip to content

Warn if GetNestedType is not checked for null or offer refactoring to throw on error #186

Open
@jnm2

Description

@jnm2

Should GetNestedType be treated as a special case of GetType so that the existing #14 check is applied?

That would be cool because I'd totally prefer a refactoring from type.GetNestedType to type.Assembly.GetType("RepeatedTypeName+NestedTypeName, throwOnError: true) over avoiding NRE manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions