From eb782a198e084ae9285a059f23d51f1901613d19 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Fri, 18 Dec 2020 13:07:07 -0800 Subject: [PATCH] Update System.Reflection.Metadata in crossgen2 (#46183) --- eng/Versions.props | 1 + .../tools/Common/TypeSystem/Ecma/EcmaSignatureParser.cs | 3 +-- src/coreclr/tools/ILVerification/ILVerification.csproj | 2 +- src/coreclr/tools/ILVerify/ILVerify.csproj | 2 +- .../ILCompiler.Reflection.ReadyToRun.csproj | 4 ++-- .../ILCompiler.TypeSystem.ReadyToRun.Tests.csproj | 2 +- .../ILCompiler.TypeSystem.ReadyToRun.csproj | 2 +- src/coreclr/tools/dotnet-pgo/dotnet-pgo.csproj | 2 +- src/coreclr/tools/r2rtest/R2RTest.csproj | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/eng/Versions.props b/eng/Versions.props index 326b28c836c..01fe7aa6585 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -88,6 +88,7 @@ 4.3.4 4.3.1 4.5.0 + 5.0.0 4.3.0 4.3.1 4.3.1 diff --git a/src/coreclr/tools/Common/TypeSystem/Ecma/EcmaSignatureParser.cs b/src/coreclr/tools/Common/TypeSystem/Ecma/EcmaSignatureParser.cs index 4b86fae7d77..843e7d0df1c 100644 --- a/src/coreclr/tools/Common/TypeSystem/Ecma/EcmaSignatureParser.cs +++ b/src/coreclr/tools/Common/TypeSystem/Ecma/EcmaSignatureParser.cs @@ -267,8 +267,7 @@ private MethodSignature ParseMethodSignatureImpl(bool skipEmbeddedSignatureData) Debug.Assert((int)MethodSignatureFlags.UnmanagedCallingConventionStdCall == (int)SignatureCallingConvention.StdCall); Debug.Assert((int)MethodSignatureFlags.UnmanagedCallingConventionThisCall == (int)SignatureCallingConvention.ThisCall); Debug.Assert((int)MethodSignatureFlags.CallingConventionVarargs == (int)SignatureCallingConvention.VarArgs); - // [TODO] Debug.Assert((int)MethodSignatureFlags.UnmanagedCallingConvention == (int)SignatureCallingConvention.Unmanaged); - Debug.Assert((int)MethodSignatureFlags.UnmanagedCallingConvention == 9); + Debug.Assert((int)MethodSignatureFlags.UnmanagedCallingConvention == (int)SignatureCallingConvention.Unmanaged); flags = (MethodSignatureFlags)signatureCallConv; } diff --git a/src/coreclr/tools/ILVerification/ILVerification.csproj b/src/coreclr/tools/ILVerification/ILVerification.csproj index 5d24c044d5e..a7d028326cf 100644 --- a/src/coreclr/tools/ILVerification/ILVerification.csproj +++ b/src/coreclr/tools/ILVerification/ILVerification.csproj @@ -13,6 +13,6 @@ - + diff --git a/src/coreclr/tools/ILVerify/ILVerify.csproj b/src/coreclr/tools/ILVerify/ILVerify.csproj index a84288247c3..606b4ea4c8f 100644 --- a/src/coreclr/tools/ILVerify/ILVerify.csproj +++ b/src/coreclr/tools/ILVerify/ILVerify.csproj @@ -20,6 +20,6 @@ - + diff --git a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ILCompiler.Reflection.ReadyToRun.csproj b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ILCompiler.Reflection.ReadyToRun.csproj index d65d6047ade..8e464d35ec8 100644 --- a/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ILCompiler.Reflection.ReadyToRun.csproj +++ b/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ILCompiler.Reflection.ReadyToRun.csproj @@ -18,8 +18,8 @@ - - + + diff --git a/src/coreclr/tools/aot/ILCompiler.TypeSystem.ReadyToRun.Tests/ILCompiler.TypeSystem.ReadyToRun.Tests.csproj b/src/coreclr/tools/aot/ILCompiler.TypeSystem.ReadyToRun.Tests/ILCompiler.TypeSystem.ReadyToRun.Tests.csproj index f26d0814f44..21f6f8a1370 100644 --- a/src/coreclr/tools/aot/ILCompiler.TypeSystem.ReadyToRun.Tests/ILCompiler.TypeSystem.ReadyToRun.Tests.csproj +++ b/src/coreclr/tools/aot/ILCompiler.TypeSystem.ReadyToRun.Tests/ILCompiler.TypeSystem.ReadyToRun.Tests.csproj @@ -17,7 +17,7 @@ - + diff --git a/src/coreclr/tools/aot/ILCompiler.TypeSystem.ReadyToRun/ILCompiler.TypeSystem.ReadyToRun.csproj b/src/coreclr/tools/aot/ILCompiler.TypeSystem.ReadyToRun/ILCompiler.TypeSystem.ReadyToRun.csproj index 88400e87536..4323ffe0e48 100644 --- a/src/coreclr/tools/aot/ILCompiler.TypeSystem.ReadyToRun/ILCompiler.TypeSystem.ReadyToRun.csproj +++ b/src/coreclr/tools/aot/ILCompiler.TypeSystem.ReadyToRun/ILCompiler.TypeSystem.ReadyToRun.csproj @@ -28,7 +28,7 @@ 4.3.0 - 1.8.1 + $(SystemReflectionMetadataVersion) 1.3.0 diff --git a/src/coreclr/tools/dotnet-pgo/dotnet-pgo.csproj b/src/coreclr/tools/dotnet-pgo/dotnet-pgo.csproj index 8dcb83dc3ec..ce67c09e2e3 100644 --- a/src/coreclr/tools/dotnet-pgo/dotnet-pgo.csproj +++ b/src/coreclr/tools/dotnet-pgo/dotnet-pgo.csproj @@ -17,6 +17,6 @@ - + diff --git a/src/coreclr/tools/r2rtest/R2RTest.csproj b/src/coreclr/tools/r2rtest/R2RTest.csproj index a0900133f05..a1f57cb717d 100644 --- a/src/coreclr/tools/r2rtest/R2RTest.csproj +++ b/src/coreclr/tools/r2rtest/R2RTest.csproj @@ -23,7 +23,7 @@ $(SystemCommandLineVersion) - 1.8.1 + $(SystemReflectionMetadataVersion) -- GitLab