Skip to content

Commit fd94c0b

Browse files
AClerboisCopilot
andauthored
Update examples/Tools/FluentUI.Demo.DocApiGen/Extensions/ReflectionExtensions.cs
Co-authored-by: Copilot <[email protected]>
1 parent c39ecbc commit fd94c0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/Tools/FluentUI.Demo.DocApiGen/Extensions/ReflectionExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public static bool IsValidType(this Type type)
4343
type.BaseType != typeof(Regex) &&
4444
type.BaseType?.Name != "Icon" &&
4545
type.IsAbstract == false &&
46-
type.Name.EndsWith("_g") == false &&
46+
!type.Name.EndsWith("_g") &&
4747
!type.Name.Contains('+') && // Exclude nested types
4848
!type.IsInterface &&
4949
type.IsPublic;

0 commit comments

Comments
 (0)