6 references to System_Runtime_InteropServices_CollectionsMarshal__AsSpan_T
Microsoft.CodeAnalysis.CSharp (2)
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (2)
890
&& _factory.WellKnownMethod(WellKnownMember.
System_Runtime_InteropServices_CollectionsMarshal__AsSpan_T
, isOptional: true) is { } collectionsMarshalAsSpanMethod)
1042
asSpan = ((MethodSymbol?)_compilation.GetWellKnownTypeMember(WellKnownMember.
System_Runtime_InteropServices_CollectionsMarshal__AsSpan_T
))?.Construct(typeArguments);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Semantics\CollectionExpressionTests.cs (3)
20670
[InlineData(new[] { (int)WellKnownMember.
System_Runtime_InteropServices_CollectionsMarshal__AsSpan_T
})]
20672
[InlineData(new[] { (int)WellKnownMember.
System_Runtime_InteropServices_CollectionsMarshal__AsSpan_T
, (int)WellKnownMember.System_Runtime_InteropServices_CollectionsMarshal__SetCount_T })]
34669
comp.MakeMemberMissing(WellKnownMember.
System_Runtime_InteropServices_CollectionsMarshal__AsSpan_T
);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\MissingSpecialMember.cs (1)
1067
case WellKnownMember.
System_Runtime_InteropServices_CollectionsMarshal__AsSpan_T
: