diff options
author | Jan Kotas <jkotas@microsoft.com> | 2018-11-15 22:33:52 -0800 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2018-11-16 08:26:43 -0800 |
commit | fe59f7512ef3b218e8c2112d78aae5e3029cf331 (patch) | |
tree | c98ea65883420b2d86e8176d067a65ff01ddb457 /src/vm/mscorlib.h | |
parent | 15c6593db2e28b4c2d2d72aaa58c65dcb12cfa9b (diff) | |
download | coreclr-fe59f7512ef3b218e8c2112d78aae5e3029cf331.tar.gz coreclr-fe59f7512ef3b218e8c2112d78aae5e3029cf331.tar.bz2 coreclr-fe59f7512ef3b218e8c2112d78aae5e3029cf331.zip |
Add explicit signatures for Span indexer
Fixes #21032 and #20958
Diffstat (limited to 'src/vm/mscorlib.h')
-rw-r--r-- | src/vm/mscorlib.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vm/mscorlib.h b/src/vm/mscorlib.h index b2eb63bfed..36394e50cc 100644 --- a/src/vm/mscorlib.h +++ b/src/vm/mscorlib.h @@ -603,9 +603,9 @@ DEFINE_CLASS(NULLABLE, System, Nullable`1) DEFINE_CLASS(BYREFERENCE, System, ByReference`1) DEFINE_CLASS(SPAN, System, Span`1) -DEFINE_METHOD(SPAN, GET_ITEM, get_Item, NoSig) +DEFINE_METHOD(SPAN, GET_ITEM, get_Item, IM_Int_RetRefT) DEFINE_CLASS(READONLY_SPAN, System, ReadOnlySpan`1) -DEFINE_METHOD(READONLY_SPAN, GET_ITEM, get_Item, NoSig) +DEFINE_METHOD(READONLY_SPAN, GET_ITEM, get_Item, IM_Int_RetReadOnlyRefT) // Keep this in sync with System.Globalization.NumberFormatInfo DEFINE_CLASS_U(Globalization, NumberFormatInfo, NumberFormatInfo) @@ -1446,6 +1446,8 @@ DEFINE_CLASS(NULLABLE_EQUALITYCOMPARER, CollectionsGeneric, NullableEqualityComp DEFINE_CLASS(GENERIC_EQUALITYCOMPARER, CollectionsGeneric, GenericEqualityComparer`1) DEFINE_CLASS(OBJECT_EQUALITYCOMPARER, CollectionsGeneric, ObjectEqualityComparer`1) +DEFINE_CLASS(INATTRIBUTE, Interop, InAttribute) + #undef DEFINE_CLASS #undef DEFINE_METHOD #undef DEFINE_FIELD |