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
Types.InNamespace(searchTerm) will incorrectly match all namespaces that start with searchTerm. For example:
namespaceOrders{publicclassOrder;}namespaceOrderSamples{publicclassSample;}publicclassTests{[Fact]publicvoidTest(){varresult=Types.InNamespace("Orders").GetTypes();Assert.Single(result);// Fails as OrderSamples.Sample also matched}}
The text was updated successfully, but these errors were encountered:
NeVeSpl
added a commit
to NeVeSpl/NetArchTest.eNhancedEdition
that referenced
this issue
Feb 18, 2025
Types.InNamespace(searchTerm)
will incorrectly match all namespaces that start withsearchTerm
. For example:The text was updated successfully, but these errors were encountered: