We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 23fd270 + 8b72733 commit 2bb5d38Copy full SHA for 2bb5d38
1 file changed
src/NetArchTest.Rules/Extensions/TypeDefinitionExtensions.cs
@@ -119,7 +119,7 @@ public static bool IsCompilerGenerated(this TypeDefinition typeDefinition)
119
/// </remarks>
120
public static string GetNamespace(this TypeDefinition typeDefinition)
121
{
122
- if ((typeDefinition.IsNestedPrivate) || (typeDefinition.IsNestedPublic))
+ if ((typeDefinition.IsNested))
123
124
return typeDefinition.DeclaringType.FullName;
125
}
0 commit comments