Open batkaevruslan opened 8 months ago
FindTypesThatHaveDependencyOnAny fails with NRE when examined type has constant field with null value
null
public class Class_C { private const string NullConstant = null; Dependency_2 dp2; }
Repro https://github.com/BenMorris/NetArchTest/compare/master...batkaevruslan:NetArchTest:const-field-dependency-issue fails test
FindTypesThatHaveDependencyOnAny fails with NRE when examined type has constant field with
null
valueRepro https://github.com/BenMorris/NetArchTest/compare/master...batkaevruslan:NetArchTest:const-field-dependency-issue fails test![image](https://github.com/BenMorris/NetArchTest/assets/3961279/bf4aa26f-4b71-475c-afe0-993cb9cf19f4)