Skip to content

Commit

Permalink
Fix WellKnownType tests
Browse files Browse the repository at this point in the history
  • Loading branch information
333fred committed May 19, 2022
1 parent bdf8e3e commit ade4be4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,7 @@ public void AllWellKnownTypes()
case WellKnownType.System_Runtime_CompilerServices_RequiredMemberAttribute:
case WellKnownType.System_Diagnostics_CodeAnalysis_SetsRequiredMembersAttribute:
case WellKnownType.System_MemoryExtensions:
case WellKnownType.System_Runtime_CompilerServices_CompilerFeatureRequiredAttribute:
// Not yet in the platform.
continue;
case WellKnownType.Microsoft_CodeAnalysis_Runtime_Instrumentation:
Expand Down Expand Up @@ -974,6 +975,7 @@ public void AllWellKnownTypeMembers()
case WellKnownMember.System_MemoryExtensions__SequenceEqual_Span_T:
case WellKnownMember.System_MemoryExtensions__SequenceEqual_ReadOnlySpan_T:
case WellKnownMember.System_MemoryExtensions__AsSpan_String:
case WellKnownMember.System_Runtime_CompilerServices_CompilerFeatureRequiredAttribute__ctor:
// Not yet in the platform.
continue;
case WellKnownMember.Microsoft_CodeAnalysis_Runtime_Instrumentation__CreatePayloadForMethodsSpanningSingleFile:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,8 @@ End Namespace
WellKnownType.System_Runtime_CompilerServices_DefaultInterpolatedStringHandler,
WellKnownType.System_Runtime_CompilerServices_RequiredMemberAttribute,
WellKnownType.System_Diagnostics_CodeAnalysis_SetsRequiredMembersAttribute,
WellKnownType.System_MemoryExtensions
WellKnownType.System_MemoryExtensions,
WellKnownType.System_Runtime_CompilerServices_CompilerFeatureRequiredAttribute
' Not available on all platforms.
Continue For
Case WellKnownType.ExtSentinel
Expand Down Expand Up @@ -709,7 +710,8 @@ End Namespace
WellKnownMember.System_Diagnostics_CodeAnalysis_SetsRequiredMembersAttribute__ctor,
WellKnownMember.System_MemoryExtensions__SequenceEqual_Span_T,
WellKnownMember.System_MemoryExtensions__SequenceEqual_ReadOnlySpan_T,
WellKnownMember.System_MemoryExtensions__AsSpan_String
WellKnownMember.System_MemoryExtensions__AsSpan_String,
WellKnownMember.System_Runtime_CompilerServices_CompilerFeatureRequiredAttribute__ctor
' Not available yet, but will be in upcoming release.
Continue For
Case WellKnownMember.Microsoft_CodeAnalysis_Runtime_Instrumentation__CreatePayloadForMethodsSpanningSingleFile,
Expand Down

0 comments on commit ade4be4

Please sign in to comment.