Skip to content

Commit 1016cc1

Browse files
Suppress CA1001 errors coming from Uno for DependencyObject generator
1 parent 2146b92 commit 1016cc1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

labs/SizerBase/src/Toolkit/OrientationToObjectConverter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ namespace CommunityToolkit.Labs.WinUI.SizerBaseLocal;
1919
/// <summary>
2020
/// 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"/>.
2121
/// </summary>
22+
[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")]
2223
public partial class OrientationToObjectConverter : DependencyObject, IValueConverter
2324
{
2425
/// <summary>

labs/SizerBase/src/Toolkit/TypeToObjectConverter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ namespace CommunityToolkit.Labs.WinUI.SizerBaseLocal;
1717
/// <summary>
1818
/// This class returns an object or another, depending on whether the type of the provided value matches another provided Type.
1919
/// </summary>
20+
[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")]
2021
public partial class TypeToObjectConverter : DependencyObject, IValueConverter
2122
{
2223
/// <summary>

0 commit comments

Comments
 (0)