From: Luqun Lou Date: Mon, 11 Jun 2018 19:22:50 +0000 (-0700) Subject: WinRT attribute Cleanup (dotnet/coreclr#18412) X-Git-Tag: submit/tizen/20210909.063632~11030^2~4625 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b65e4f9e73f9c9bb30de5e58039be874d2f7f371;p=platform%2Fupstream%2Fdotnet%2Fruntime.git WinRT attribute Cleanup (dotnet/coreclr#18412) Commit migrated from https://github.com/dotnet/coreclr/commit/2bfc551e240198d88d79f5425d783da31872e8f7 --- diff --git a/src/coreclr/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/Attributes.cs b/src/coreclr/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/Attributes.cs index d11b436..84854c9 100644 --- a/src/coreclr/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/Attributes.cs +++ b/src/coreclr/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/Attributes.cs @@ -32,7 +32,6 @@ namespace System.Runtime.InteropServices.WindowsRuntime // implement the CLR's support for WinRT, so this type is internal as marking tdWindowsRuntime should // generally be done via winmdexp for user code. [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Enum | AttributeTargets.Struct | AttributeTargets.Delegate, Inherited = false)] - // [System.Runtime.CompilerServices.FriendAccessAllowed] internal sealed class WindowsRuntimeImportAttribute : Attribute { internal WindowsRuntimeImportAttribute() diff --git a/src/coreclr/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IRestrictedErrorInfo.cs b/src/coreclr/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IRestrictedErrorInfo.cs index ca19d94..03faef0 100644 --- a/src/coreclr/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IRestrictedErrorInfo.cs +++ b/src/coreclr/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IRestrictedErrorInfo.cs @@ -8,7 +8,6 @@ using System; namespace System.Runtime.InteropServices.WindowsRuntime { - // [System.Runtime.CompilerServices.FriendAccessAllowed] [ComImport] [Guid("82BA7092-4C88-427D-A7BC-16DD93FEB67E")] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] diff --git a/src/coreclr/src/System.Private.CoreLib/src/mscorlib.Friends.cs b/src/coreclr/src/System.Private.CoreLib/src/mscorlib.Friends.cs index eadba9c..b4e3133 100644 --- a/src/coreclr/src/System.Private.CoreLib/src/mscorlib.Friends.cs +++ b/src/coreclr/src/System.Private.CoreLib/src/mscorlib.Friends.cs @@ -6,4 +6,3 @@ using System.Runtime.CompilerServices; // Depends on things like WindowsRuntimeImportAttribute [assembly: InternalsVisibleTo("System.Runtime.WindowsRuntime, PublicKey=00000000000000000400000000000000", AllInternalsVisible = false)] -[assembly: InternalsVisibleTo("System.Runtime.WindowsRuntime.UI.Xaml, PublicKey=00000000000000000400000000000000", AllInternalsVisible = false)]