You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assert.Fail failed. "Types that reside in namespace with full name "ClassLibrary1" should only depend on Types that reside in assembly with full name "System"" failed:
ClassLibrary1.Class1 does depend on System.Object and System.Runtime.CompilerServices.NullableAttribute and ClassLibrary1.Class1
Note that it also complains about system types. When I add .Or().ResideInNamespace("ClassLibrary1"), the test succeeds.
Is it possible to only complain about types that real errors instead of complaining about all references? Or am I missing something?
The text was updated successfully, but these errors were encountered:
I created a test library with a simple single class:
My tests look like this:
This test complains about:
Note that it also complains about system types. When I add
.Or().ResideInNamespace("ClassLibrary1")
, the test succeeds.Is it possible to only complain about types that real errors instead of complaining about all references? Or am I missing something?
The text was updated successfully, but these errors were encountered: