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

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>2017-03-23 22:28:47 +0300
committerGitHub <noreply@github.com>2017-03-23 22:28:47 +0300
commitf4407ca10449c759455c3b0589fe3d689f7bb6cc (patch)
tree1df25024a56146ab5a4da61ed1347e0a806b1e14 /src/ILCompiler.MetadataTransform
parent2c7f5907b1805b5cef78ddc442d6a48a1080dd31 (diff)
Implement TypedReference in CoreRT (#3000)
This is basically three things: 1. `ByReference<T>` support 2. General support infra in the type system for Byref-like types (to be reused for e.g. `Span<T>`). 3. TypedReference Fixes #367.
Diffstat (limited to 'src/ILCompiler.MetadataTransform')
-rw-r--r--src/ILCompiler.MetadataTransform/tests/PrimaryMetadataAssembly/Platform.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ILCompiler.MetadataTransform/tests/PrimaryMetadataAssembly/Platform.cs b/src/ILCompiler.MetadataTransform/tests/PrimaryMetadataAssembly/Platform.cs
index b6bea6761..c89e50ead 100644
--- a/src/ILCompiler.MetadataTransform/tests/PrimaryMetadataAssembly/Platform.cs
+++ b/src/ILCompiler.MetadataTransform/tests/PrimaryMetadataAssembly/Platform.cs
@@ -69,6 +69,10 @@ namespace System
public sealed class ParamArrayAttribute : Attribute
{
}
+
+ public struct TypedReference { }
+
+ public struct ByReference<T> { }
}
namespace System.Collections