WinRT attribute Cleanup (dotnet/coreclr#18412)
authorLuqun Lou <luqunl@users.noreply.github.com>
Mon, 11 Jun 2018 19:22:50 +0000 (12:22 -0700)
committerGitHub <noreply@github.com>
Mon, 11 Jun 2018 19:22:50 +0000 (12:22 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/2bfc551e240198d88d79f5425d783da31872e8f7

src/coreclr/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/Attributes.cs
src/coreclr/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/IRestrictedErrorInfo.cs
src/coreclr/src/System.Private.CoreLib/src/mscorlib.Friends.cs

index d11b436..84854c9 100644 (file)
@@ -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()
index ca19d94..03faef0 100644 (file)
@@ -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)]
index eadba9c..b4e3133 100644 (file)
@@ -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)]