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