Browse Source

Merge pull request #10476 from workgroupengineering/fixes/Warnings/CA2823

fix: CA1823 Unused field
pull/10491/head
Max Katz 4 years ago
committed by GitHub
parent
commit
169f651525
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/Avalonia.Base/Media/DrawingContext.cs
  2. 2
      src/Avalonia.Base/Media/DrawingGroup.cs

1
src/Avalonia.Base/Media/DrawingContext.cs

@ -277,7 +277,6 @@ namespace Avalonia.Media
private readonly record struct RestoreState : IDisposable
{
private readonly DrawingContext _context;
private readonly Matrix _matrix;
private readonly PushedStateType _type;
public enum PushedStateType

2
src/Avalonia.Base/Media/DrawingGroup.cs

@ -107,8 +107,6 @@ namespace Avalonia.Media
private readonly DrawingGroup _drawingGroup;
private readonly IPlatformRenderInterface _platformRenderInterface = AvaloniaLocator.Current.GetRequiredService<IPlatformRenderInterface>();
private Matrix _transform;
private bool _disposed;
// Root drawing created by this DrawingContext.

Loading…
Cancel
Save