3 references to IsAllocatingRefStructCollectionExpression
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Conversions.cs (1)
829
if (LocalRewriter.
IsAllocatingRefStructCollectionExpression
(node, collectionTypeKind, elementType, Compilation))
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (2)
309
Debug.Assert(!
IsAllocatingRefStructCollectionExpression
(node, CollectionExpressionTypeKind.ReadOnlySpan, elementType.Type, _compilation));
319
Debug.Assert(!
IsAllocatingRefStructCollectionExpression
(node, isReadOnlySpan ? CollectionExpressionTypeKind.ReadOnlySpan : CollectionExpressionTypeKind.Span, elementType.Type, _compilation));