Merge pull request #8601 from pgavlin/gh7963
[platform/upstream/coreclr.git] / src / mscorlib / src / mscorlib.Friends.cs
1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
4 using System.Runtime.CompilerServices;
5
6 // We need this to be able to typeforward to internal types
7 [assembly: InternalsVisibleTo("mscorlib, PublicKey=00240000048000009400000006020000002400005253413100040000010001008d56c76f9e8649383049f383c44be0ec204181822a6c31cf5eb7ef486944d032188ea1d3920763712ccb12d75fb77e9811149e6148e5d32fbaab37611c1878ddc19e20ef135d0cb2cff2bfec3d115810c3d9069638fe4be215dbf795861920e5ab6f7db2e2ceef136ac23d5dd2bf031700aec232f6c6b1c785b4305c123b37ab", AllInternalsVisible=false)]
8
9 // For now we are only moving to using this file over AssemblyAttributes.cspp in CoreSys, ideally we would move away from the centralized 
10 // AssemblyAttributes.cspp model for the other build types at a future point in time.
11 #if FEATURE_CORESYSTEM
12
13 // Depends on things like SuppressUnmanagedCodeAttribute and WindowsRuntimeImportAttribute
14 [assembly: InternalsVisibleTo("System.Runtime.WindowsRuntime, PublicKey=" + _InternalsVisibleToKeys.EcmaPublicKeyFull, AllInternalsVisible=false)]
15
16 // Depends on WindowsRuntimeImportAttribute
17 [assembly: InternalsVisibleTo("System.Runtime.WindowsRuntime.UI.Xaml, PublicKey=" + _InternalsVisibleToKeys.EcmaPublicKeyFull, AllInternalsVisible=false)]
18
19 internal class _InternalsVisibleToKeys
20 {
21   // Token = b77a5c561934e089
22   internal const string EcmaPublicKeyFull = "00000000000000000400000000000000";
23 }
24
25 #endif // FEATURE_CORESYS