Skip to content

Commit

Permalink
fix!: Make some classes static to match UWP
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Some classes are now static to match UWP.
  • Loading branch information
Youssef1313 authored and ebariche committed Oct 22, 2021
1 parent 6ab7d39 commit 53f6d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uno.UWPSyncGenerator/SyncGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down

0 comments on commit 53f6d4e

Please sign in to comment.