Browse Source
Merge pull request #10584 from workgroupengineering/fixes/Warnings/CS0628
fix: Warning CS0628 new protected member declared in sealed type
pull/10601/head
Max Katz
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
3 deletions
-
src/Avalonia.Base/Media/DrawingGroup.cs
-
src/Avalonia.Base/Styling/TypeNameAndClassSelector.cs
|
|
|
@ -117,10 +117,10 @@ namespace Avalonia.Media |
|
|
|
// root DrawingGroup, and be the same value as the root _currentDrawingGroup.
|
|
|
|
//
|
|
|
|
// Either way, _rootDrawing always references the root drawing.
|
|
|
|
protected Drawing? _rootDrawing; |
|
|
|
private Drawing? _rootDrawing; |
|
|
|
|
|
|
|
// Current DrawingGroup that new children are added to
|
|
|
|
protected DrawingGroup? _currentDrawingGroup; |
|
|
|
private DrawingGroup? _currentDrawingGroup; |
|
|
|
|
|
|
|
// Previous values of _currentDrawingGroup
|
|
|
|
private Stack<DrawingGroup?>? _previousDrawingGroupStack; |
|
|
|
|
|
|
|
@ -52,7 +52,7 @@ namespace Avalonia.Styling |
|
|
|
return result; |
|
|
|
} |
|
|
|
|
|
|
|
protected TypeNameAndClassSelector(Selector? previous) |
|
|
|
TypeNameAndClassSelector(Selector? previous) |
|
|
|
{ |
|
|
|
_previous = previous; |
|
|
|
} |
|
|
|
|