Skip to content

Commit

Permalink
Suppress CA1001 errors coming from Uno for DependencyObject generator
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-hawker committed May 12, 2022
1 parent 8760ce6 commit 8ed486f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions labs/SizerBase/src/Toolkit/OrientationToObjectConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ namespace CommunityToolkit.Labs.WinUI.SizerBaseLocal;
/// <summary>
/// This class returns a value depending on the <see cref="Orientation"/> of the value provided to the converter. In case of default will return the <see cref="VerticalValue"/>.
/// </summary>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1001:Types that own disposable fields should be disposable", Justification = "Internal Uno Generator Issue: https://github.com/unoplatform/uno/pull/8743")]
public partial class OrientationToObjectConverter : DependencyObject, IValueConverter
{
/// <summary>
Expand Down
1 change: 1 addition & 0 deletions labs/SizerBase/src/Toolkit/TypeToObjectConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ namespace CommunityToolkit.Labs.WinUI.SizerBaseLocal;
/// <summary>
/// This class returns an object or another, depending on whether the type of the provided value matches another provided Type.
/// </summary>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1001:Types that own disposable fields should be disposable", Justification = "Internal Uno Generator Issue: https://github.com/unoplatform/uno/pull/8743")]
public partial class TypeToObjectConverter : DependencyObject, IValueConverter
{
/// <summary>
Expand Down

0 comments on commit 8ed486f

Please sign in to comment.