diff options
Diffstat (limited to 'src/Common/src/TypeSystem/NativeFormat/NativeFormatType.cs')
-rw-r--r-- | src/Common/src/TypeSystem/NativeFormat/NativeFormatType.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/src/TypeSystem/NativeFormat/NativeFormatType.cs b/src/Common/src/TypeSystem/NativeFormat/NativeFormatType.cs index 6b4cb5902..cde2d125e 100644 --- a/src/Common/src/TypeSystem/NativeFormat/NativeFormatType.cs +++ b/src/Common/src/TypeSystem/NativeFormat/NativeFormatType.cs @@ -287,9 +287,9 @@ namespace Internal.TypeSystem.NativeFormat flags |= TypeFlags.HasFinalizer; } - if ((mask & TypeFlags.IsByRefLikeComputed) != 0) + if ((mask & TypeFlags.AttributeCacheComputed) != 0) { - flags |= TypeFlags.IsByRefLikeComputed; + flags |= TypeFlags.AttributeCacheComputed; if (IsValueType && HasCustomAttribute("System.Runtime.CompilerServices", "IsByRefLikeAttribute")) flags |= TypeFlags.IsByRefLike; |