Skip to content

Commit

Permalink
chore: build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ramezgerges committed May 4, 2024
1 parent 4215061 commit 2f05c67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Uno.UI.Composition/Composition/BorderVisual.skia.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#nullable enable
#nullable enable

using System;
using System.Numerics;
Expand Down Expand Up @@ -41,7 +41,7 @@ public CompositionSpriteShape BackgroundShape
_backgroundShape!.Comment = "#borderBackground";
#endif
}
return _backgroundShape;
return _backgroundShape!;
}
}

Expand All @@ -57,7 +57,7 @@ public CompositionSpriteShape BorderShape
_borderShape!.Comment = "#borderShape";
#endif
}
return _borderShape;
return _borderShape!;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/Uno.UI.Composition/Composition/Uno/CornerRadius.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ unsafe internal void GetRadii(SkiaSharp.SKPoint* radiiStore)
NonUniformCornerRadius Inner
)
{
public static readonly FullCornerRadius None = default;
public static FullCornerRadius None => default;

Check failure on line 40 in src/Uno.UI.Composition/Composition/Uno/CornerRadius.cs

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

src/Uno.UI.Composition/Composition/Uno/CornerRadius.cs#L40

Rename this property to not shadow the outer class' member with the same name.

public bool IsEmpty => Outer.IsEmpty && Inner.IsEmpty;
}
Expand Down

0 comments on commit 2f05c67

Please sign in to comment.