Delete InternalsVisibleTo attributes from S.P.CoreLib (#18697)
authorLuqun Lou <luqunl@users.noreply.github.com>
Wed, 4 Jul 2018 01:30:33 +0000 (18:30 -0700)
committerJan Kotas <jkotas@microsoft.com>
Wed, 4 Jul 2018 01:30:33 +0000 (03:30 +0200)
src/System.Private.CoreLib/System.Private.CoreLib.csproj
src/System.Private.CoreLib/src/mscorlib.Friends.cs [deleted file]

index 562da8f..92eb180 100644 (file)
     <!-- These files are shared with other framework components and don't live the same folder as the rest of them-->
     <Compile Include="$(CommonPath)\NotImplemented.cs" />
     <Compile Include="$(CommonPath)\System\SR.cs" />
-    <!-- Include Internals visible to file in the compilation -->
-    <Compile Include="$(BclSourcesRoot)\mscorlib.Friends.cs" Condition="'$(FeatureCominterop)' == 'true'" />
   </ItemGroup>
   <ItemGroup>
     <Compile Include="src\System\Runtime\RuntimeImports.cs" />
diff --git a/src/System.Private.CoreLib/src/mscorlib.Friends.cs b/src/System.Private.CoreLib/src/mscorlib.Friends.cs
deleted file mode 100644 (file)
index b4e3133..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-using System.Runtime.CompilerServices;
-
-// Depends on things like WindowsRuntimeImportAttribute
-[assembly: InternalsVisibleTo("System.Runtime.WindowsRuntime, PublicKey=00000000000000000400000000000000", AllInternalsVisible = false)]