diff --git a/src/Uno.UWPSyncGenerator/SyncGenerator.cs b/src/Uno.UWPSyncGenerator/SyncGenerator.cs index 926438f1b4e7..f7cd4e86bcc1 100644 --- a/src/Uno.UWPSyncGenerator/SyncGenerator.cs +++ b/src/Uno.UWPSyncGenerator/SyncGenerator.cs @@ -42,7 +42,7 @@ private void WriteType(INamedTypeSymbol type, IndentedStringBuilder b) var partialModifier = type.TypeKind != TypeKind.Enum ? "partial" : ""; var allSymbols = GetAllSymbols(type); - var staticQualifier = (type.IsAbstract && type.IsSealed) ? "static" : ""; + var staticQualifier = type.IsStatic ? "static" : ""; if (SkippedType(type)) {