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