Skip to content

Commit f77fdcf

Browse files
committed
Fix tests
1 parent fe747a6 commit f77fdcf

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

src/Compilers/CSharp/Test/Symbol/Symbols/MissingSpecialMember.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,7 @@ public void AllWellKnownTypes()
617617
case WellKnownType.System_Runtime_CompilerServices_ScopedRefAttribute:
618618
case WellKnownType.System_MemoryExtensions:
619619
case WellKnownType.System_Runtime_CompilerServices_CompilerFeatureRequiredAttribute:
620+
case WellKnownType.System_Runtime_CompilerServices_MetadataUpdateOriginalTypeAttribute:
620621
// Not yet in the platform.
621622
continue;
622623
case WellKnownType.Microsoft_CodeAnalysis_Runtime_Instrumentation:
@@ -981,6 +982,7 @@ public void AllWellKnownTypeMembers()
981982
case WellKnownMember.System_MemoryExtensions__SequenceEqual_ReadOnlySpan_T:
982983
case WellKnownMember.System_MemoryExtensions__AsSpan_String:
983984
case WellKnownMember.System_Runtime_CompilerServices_CompilerFeatureRequiredAttribute__ctor:
985+
case WellKnownMember.System_Runtime_CompilerServices_MetadataUpdateOriginalTypeAttribute__ctor:
984986
// Not yet in the platform.
985987
continue;
986988
case WellKnownMember.Microsoft_CodeAnalysis_Runtime_Instrumentation__CreatePayloadForMethodsSpanningSingleFile:

src/Compilers/VisualBasic/Test/Symbol/SymbolsTests/WellKnownTypeValidationTests.vb

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,9 @@ End Namespace
552552
WellKnownType.System_MemoryExtensions,
553553
WellKnownType.System_Runtime_CompilerServices_CompilerFeatureRequiredAttribute,
554554
WellKnownType.System_Runtime_CompilerServices_ScopedRefAttribute,
555-
WellKnownType.System_MemoryExtensions
555+
WellKnownType.System_MemoryExtensions,
556+
WellKnownType.System_Runtime_CompilerServices_MetadataUpdateOriginalTypeAttribute
557+
556558
' Not available on all platforms.
557559
Continue For
558560
Case WellKnownType.ExtSentinel
@@ -623,7 +625,8 @@ End Namespace
623625
WellKnownType.System_Diagnostics_CodeAnalysis_SetsRequiredMembersAttribute,
624626
WellKnownType.System_MemoryExtensions,
625627
WellKnownType.System_Runtime_CompilerServices_CompilerFeatureRequiredAttribute,
626-
WellKnownType.System_Runtime_CompilerServices_ScopedRefAttribute
628+
WellKnownType.System_Runtime_CompilerServices_ScopedRefAttribute,
629+
WellKnownType.System_Runtime_CompilerServices_MetadataUpdateOriginalTypeAttribute
627630
' Not available on all platforms.
628631
Continue For
629632
Case WellKnownType.ExtSentinel
@@ -719,7 +722,8 @@ End Namespace
719722
WellKnownMember.System_MemoryExtensions__SequenceEqual_Span_T,
720723
WellKnownMember.System_MemoryExtensions__SequenceEqual_ReadOnlySpan_T,
721724
WellKnownMember.System_MemoryExtensions__AsSpan_String,
722-
WellKnownMember.System_Runtime_CompilerServices_CompilerFeatureRequiredAttribute__ctor
725+
WellKnownMember.System_Runtime_CompilerServices_CompilerFeatureRequiredAttribute__ctor,
726+
WellKnownMember.System_Runtime_CompilerServices_MetadataUpdateOriginalTypeAttribute__ctor
723727
' Not available yet, but will be in upcoming release.
724728
Continue For
725729
Case WellKnownMember.Microsoft_CodeAnalysis_Runtime_Instrumentation__CreatePayloadForMethodsSpanningSingleFile,
@@ -871,7 +875,8 @@ End Namespace
871875
WellKnownMember.System_MemoryExtensions__SequenceEqual_Span_T,
872876
WellKnownMember.System_MemoryExtensions__SequenceEqual_ReadOnlySpan_T,
873877
WellKnownMember.System_MemoryExtensions__AsSpan_String,
874-
WellKnownMember.System_Runtime_CompilerServices_CompilerFeatureRequiredAttribute__ctor
878+
WellKnownMember.System_Runtime_CompilerServices_CompilerFeatureRequiredAttribute__ctor,
879+
WellKnownMember.System_Runtime_CompilerServices_MetadataUpdateOriginalTypeAttribute__ctor
875880
' Not available yet, but will be in upcoming release.
876881
Continue For
877882
Case WellKnownMember.Microsoft_CodeAnalysis_Runtime_Instrumentation__CreatePayloadForMethodsSpanningSingleFile,

0 commit comments

Comments
 (0)