Skip to content

Commit 8b72733

Browse files
committed
correction Of #98
1 parent 23fd270 commit 8b72733

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/NetArchTest.Rules/Extensions/TypeDefinitionExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public static bool IsCompilerGenerated(this TypeDefinition typeDefinition)
119119
/// </remarks>
120120
public static string GetNamespace(this TypeDefinition typeDefinition)
121121
{
122-
if ((typeDefinition.IsNestedPrivate) || (typeDefinition.IsNestedPublic))
122+
if ((typeDefinition.IsNested))
123123
{
124124
return typeDefinition.DeclaringType.FullName;
125125
}

0 commit comments

Comments
 (0)