Skip to content

NRE when constant field has null value #137

@batkaevruslan

Description

@batkaevruslan

FindTypesThatHaveDependencyOnAny fails with NRE when examined type has constant field with null value

public class Class_C
{
    private const string NullConstant = null;
    Dependency_2 dp2;      
}

Repro master...batkaevruslan:NetArchTest:const-field-dependency-issue fails test
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions