diff --git a/src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems b/src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems index 99e354aa32d3a..ce22178ca8a0f 100644 --- a/src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems +++ b/src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems @@ -1482,19 +1482,19 @@ Common\System\Reflection\AssemblyNameFormatter.cs - + Common\System\Reflection\Metadata\AssemblyNameInfo.cs - + Common\System\Reflection\Metadata\TypeName.cs Common\System\Reflection\Metadata\TypeNameHelpers.cs - + Common\System\Reflection\Metadata\TypeNameParser.cs - + Common\System\Reflection\Metadata\TypeNameParserHelpers.cs diff --git a/src/libraries/System.Reflection.Metadata/src/System.Reflection.Metadata.csproj b/src/libraries/System.Reflection.Metadata/src/System.Reflection.Metadata.csproj index 266d4c6f55fdd..6c74a3229021f 100644 --- a/src/libraries/System.Reflection.Metadata/src/System.Reflection.Metadata.csproj +++ b/src/libraries/System.Reflection.Metadata/src/System.Reflection.Metadata.csproj @@ -122,6 +122,11 @@ The System.Reflection.Metadata library is built-in as part of the shared framewo + + + + + @@ -255,11 +260,6 @@ The System.Reflection.Metadata library is built-in as part of the shared framewo - - - - - diff --git a/src/libraries/Common/src/System/Reflection/Metadata/AssemblyNameInfo.cs b/src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/AssemblyNameInfo.cs similarity index 98% rename from src/libraries/Common/src/System/Reflection/Metadata/AssemblyNameInfo.cs rename to src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/AssemblyNameInfo.cs index 35e12bdd81527..14c796ac52170 100644 --- a/src/libraries/Common/src/System/Reflection/Metadata/AssemblyNameInfo.cs +++ b/src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/AssemblyNameInfo.cs @@ -154,7 +154,6 @@ public AssemblyName ToAssemblyName() #else if (!PublicKeyOrToken.IsDefault) { -#pragma warning disable RS0030 // TypeSystem does not allow System.Linq, but we need to use System.Linq.ImmutableArrayExtensions.ToArray // A copy of the array needs to be created, as AssemblyName allows for the mutation of provided array. if ((Flags & AssemblyNameFlags.PublicKey) != 0) { @@ -164,7 +163,6 @@ public AssemblyName ToAssemblyName() { assemblyName.SetPublicKeyToken(PublicKeyOrToken.ToArray()); } -#pragma warning restore RS0030 } #endif diff --git a/src/libraries/Common/src/System/Reflection/Metadata/TypeName.cs b/src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/TypeName.cs similarity index 100% rename from src/libraries/Common/src/System/Reflection/Metadata/TypeName.cs rename to src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/TypeName.cs diff --git a/src/libraries/Common/src/System/Reflection/Metadata/TypeNameParser.cs b/src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/TypeNameParser.cs similarity index 100% rename from src/libraries/Common/src/System/Reflection/Metadata/TypeNameParser.cs rename to src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/TypeNameParser.cs diff --git a/src/libraries/Common/src/System/Reflection/Metadata/TypeNameParserHelpers.cs b/src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/TypeNameParserHelpers.cs similarity index 100% rename from src/libraries/Common/src/System/Reflection/Metadata/TypeNameParserHelpers.cs rename to src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/TypeNameParserHelpers.cs diff --git a/src/libraries/Common/src/System/Reflection/Metadata/TypeNameParserOptions.cs b/src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/TypeNameParserOptions.cs similarity index 100% rename from src/libraries/Common/src/System/Reflection/Metadata/TypeNameParserOptions.cs rename to src/libraries/System.Reflection.Metadata/src/System/Reflection/Metadata/TypeNameParserOptions.cs diff --git a/src/libraries/System.Reflection.Metadata/tests/System.Reflection.Metadata.Tests.csproj b/src/libraries/System.Reflection.Metadata/tests/System.Reflection.Metadata.Tests.csproj index f739ac0789ff8..a985caddfff1b 100644 --- a/src/libraries/System.Reflection.Metadata/tests/System.Reflection.Metadata.Tests.csproj +++ b/src/libraries/System.Reflection.Metadata/tests/System.Reflection.Metadata.Tests.csproj @@ -25,8 +25,6 @@ Link="Common\Microsoft\Win32\SafeHandles\SafeLibraryHandle.cs" /> -