소스 검색

acceptable interface change.

Dan Walmsley 4 년 전
부모
커밋
a93d29991c
2개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 0
      src/Avalonia.Controls/ApiCompatBaseline.txt
  2. 0 2
      src/Avalonia.Controls/Platform/ITopLevelNativeMenuExporter.cs

+ 1 - 0
src/Avalonia.Controls/ApiCompatBaseline.txt

@@ -37,6 +37,7 @@ MembersMustExist : Member 'public System.Action<Avalonia.Size> Avalonia.Controls
 MembersMustExist : Member 'public void Avalonia.Controls.Embedding.Offscreen.OffscreenTopLevelImplBase.Resized.set(System.Action<Avalonia.Size>)' does not exist in the implementation but it does exist in the contract.
 MembersMustExist : Member 'public void Avalonia.Controls.Embedding.Offscreen.OffscreenTopLevelImplBase.SetCursor(Avalonia.Platform.IPlatformHandle)' does not exist in the implementation but it does exist in the contract.
 MembersMustExist : Member 'public Avalonia.AvaloniaProperty Avalonia.AvaloniaProperty Avalonia.Controls.Notifications.NotificationCard.CloseOnClickProperty' does not exist in the implementation but it does exist in the contract.
+InterfacesShouldHaveSameMembers : Interface member 'public void Avalonia.Controls.Platform.ITopLevelNativeMenuExporter.SetNativeMenu(Avalonia.Controls.NativeMenu)' is present in the contract but not in the implementation.
 EnumValuesMustMatch : Enum value 'Avalonia.Platform.ExtendClientAreaChromeHints Avalonia.Platform.ExtendClientAreaChromeHints.Default' is (System.Int32)2 in the implementation but (System.Int32)1 in the contract.
 InterfacesShouldHaveSameMembers : Interface member 'public System.Nullable<Avalonia.Size> Avalonia.Platform.ITopLevelImpl.FrameSize' is present in the implementation but not in the contract.
 InterfacesShouldHaveSameMembers : Interface member 'public System.Nullable<Avalonia.Size> Avalonia.Platform.ITopLevelImpl.FrameSize.get()' is present in the implementation but not in the contract.

+ 0 - 2
src/Avalonia.Controls/Platform/ITopLevelNativeMenuExporter.cs

@@ -12,8 +12,6 @@ namespace Avalonia.Controls.Platform
 
     public interface ITopLevelNativeMenuExporter : INativeMenuExporter
     {
-        new void SetNativeMenu(NativeMenu menu);
-
         bool IsNativeMenuExported { get; }
 
         event EventHandler OnIsNativeMenuExportedChanged;