浏览代码

Build fixes

Max Katz 2 年之前
父节点
当前提交
d3fb8dee89

+ 1 - 0
samples/IntegrationTestApp/IntegrationTestApp.csproj

@@ -3,6 +3,7 @@
     <OutputType>WinExe</OutputType>
     <TargetFramework>net7.0</TargetFramework>
     <Nullable>enable</Nullable>
+    <NoWarn>$(NoWarn);AVP1012</NoWarn>
   </PropertyGroup>
 
   <PropertyGroup>

+ 2 - 0
src/Avalonia.Controls/Application.cs

@@ -94,6 +94,8 @@ namespace Avalonia
         }
         
         /// <inheritdoc />
+        [System.Diagnostics.CodeAnalysis.SuppressMessage("AvaloniaProperty", "AVP1031", Justification = "This property is supposed to be a styled readonly property.")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessage("AvaloniaProperty", "AVP1030", Justification = "False positive.")]
         public ThemeVariant ActualThemeVariant => GetValue(ActualThemeVariantProperty);
 
         /// <summary>

+ 1 - 1
src/Avalonia.Controls/AutoCompleteBox/AutoCompleteFilterMode.cs

@@ -9,7 +9,7 @@ namespace Avalonia.Controls
 {
     /// <summary>
     /// Specifies how text in the text box portion of the <see cref="AutoCompleteBox" />
-    /// control is used to filter items specified by the <see cref="AutoCompleteBox.Items" />
+    /// control is used to filter items specified by the <see cref="AutoCompleteBox.ItemsSource" />
     /// property for display in the drop-down.
     /// </summary>
     public enum AutoCompleteFilterMode