Browse Source

Build fixes

pull/11029/head
Max Katz 3 years ago
parent
commit
d3fb8dee89
  1. 1
      samples/IntegrationTestApp/IntegrationTestApp.csproj
  2. 2
      src/Avalonia.Controls/Application.cs
  3. 2
      src/Avalonia.Controls/AutoCompleteBox/AutoCompleteFilterMode.cs

1
samples/IntegrationTestApp/IntegrationTestApp.csproj

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

2
src/Avalonia.Controls/Application.cs

@ -94,6 +94,8 @@ namespace Avalonia
} }
/// <inheritdoc /> /// <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); public ThemeVariant ActualThemeVariant => GetValue(ActualThemeVariantProperty);
/// <summary> /// <summary>

2
src/Avalonia.Controls/AutoCompleteBox/AutoCompleteFilterMode.cs

@ -9,7 +9,7 @@ namespace Avalonia.Controls
{ {
/// <summary> /// <summary>
/// Specifies how text in the text box portion of the <see cref="AutoCompleteBox" /> /// 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. /// property for display in the drop-down.
/// </summary> /// </summary>
public enum AutoCompleteFilterMode public enum AutoCompleteFilterMode

Loading…
Cancel
Save