From 53f6d4ea1b3f373931950ec24657cfec825e69b9 Mon Sep 17 00:00:00 2001 From: Youssef1313 Date: Thu, 7 Oct 2021 12:48:33 +0200 Subject: [PATCH] fix!: Make some classes static to match UWP BREAKING CHANGE: Some classes are now static to match UWP. --- src/Uno.UWPSyncGenerator/SyncGenerator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {