4 references to ShouldUseRuntimeHelpersCreateSpan
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder.ValueChecks.cs (2)
4530return !LocalRewriter.ShouldUseRuntimeHelpersCreateSpan(expr, elementType.Type); 4550if (LocalRewriter.ShouldUseRuntimeHelpersCreateSpan(expr, ((NamedTypeSymbol)parameter.Type).TypeArgumentsWithAnnotationsNoUseSiteDiagnostics[0].Type))
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (2)
275ShouldUseRuntimeHelpersCreateSpan(node, elementType.Type)) 521&& !(collectionKind == CollectionExpressionTypeKind.ReadOnlySpan && ShouldUseRuntimeHelpersCreateSpan(node, elementType))