diff options
Diffstat (limited to 'src/ILCompiler.TypeSystem')
-rw-r--r-- | src/ILCompiler.TypeSystem/tests/CoreTestAssembly/Platform.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ILCompiler.TypeSystem/tests/CoreTestAssembly/Platform.cs b/src/ILCompiler.TypeSystem/tests/CoreTestAssembly/Platform.cs index 2d65cdfff..e61a165cd 100644 --- a/src/ILCompiler.TypeSystem/tests/CoreTestAssembly/Platform.cs +++ b/src/ILCompiler.TypeSystem/tests/CoreTestAssembly/Platform.cs @@ -67,15 +67,13 @@ namespace System public class Exception { } - [System.Runtime.CompilerServices.IsByRefLike] - public struct TypedReference + public ref struct TypedReference { private readonly ByReference<byte> _value; private readonly RuntimeTypeHandle _typeHandle; } - [System.Runtime.CompilerServices.IsByRefLike] - public struct ByReference<T> { } + public ref struct ByReference<T> { } } namespace System.Collections |