Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2016-09-03 05:08:40 +0300
committerGitHub <noreply@github.com>2016-09-03 05:08:40 +0300
commit8c239d6e51d32b90126592d8289c1dae37bfb7d9 (patch)
tree34e03c217d706227b1322ff8f60d490c279dd524 /mcs/class/corlib/System.Reflection.Emit/SignatureHelper.cs
parent462dd05a951aa2afeab5f2af7e3adaf18249e0f8 (diff)
[SRE] Move the resolving of user types to managed code, the runtime was not using write barriers. (#3515)
Diffstat (limited to 'mcs/class/corlib/System.Reflection.Emit/SignatureHelper.cs')
-rw-r--r--mcs/class/corlib/System.Reflection.Emit/SignatureHelper.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/mcs/class/corlib/System.Reflection.Emit/SignatureHelper.cs b/mcs/class/corlib/System.Reflection.Emit/SignatureHelper.cs
index 924eb674e15..f921be22180 100644
--- a/mcs/class/corlib/System.Reflection.Emit/SignatureHelper.cs
+++ b/mcs/class/corlib/System.Reflection.Emit/SignatureHelper.cs
@@ -361,6 +361,8 @@ namespace System.Reflection.Emit {
public byte[] GetSignature ()
{
+ TypeBuilder.ResolveUserTypes (arguments);
+
switch (type) {
case SignatureHelperType.HELPER_LOCAL:
return get_signature_local ();