1 write to CollectionBuilderMethod
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6543this.CollectionBuilderMethod = collectionBuilderMethod;
12 references to CollectionBuilderMethod
Microsoft.CodeAnalysis.CSharp (12)
BoundTree\BoundCollectionExpression.cs (2)
21Debug.Assert(this.CollectionBuilderMethod is not null); 32Debug.Assert(this.CollectionBuilderMethod is null);
FlowAnalysis\NullableWalker.cs (2)
4158var createMethod = node.CollectionBuilderMethod; 4174var createMethod = node.CollectionBuilderMethod;
Generated\BoundNodes.xml.Generated.cs (4)
6569if (collectionTypeKind != this.CollectionTypeKind || placeholder != this.Placeholder || collectionCreation != this.CollectionCreation || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(collectionBuilderMethod, this.CollectionBuilderMethod) || collectionBuilderElementsPlaceholder != this.CollectionBuilderElementsPlaceholder || wasTargetTyped != this.WasTargetTyped || hasWithElement != this.HasWithElement || unconvertedCollectionExpression != this.UnconvertedCollectionExpression || elements != this.Elements || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 12068MethodSymbol? collectionBuilderMethod = this.VisitMethodSymbol(node.CollectionBuilderMethod); 14366MethodSymbol? collectionBuilderMethod = GetUpdatedSymbol(node, node.CollectionBuilderMethod); 16807new TreeDumperNode("collectionBuilderMethod", node.CollectionBuilderMethod, null),
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (3)
232CollectionBuilderMethod: { Parameters: [var parameter] } builder, 585Debug.Assert(node.CollectionBuilderMethod is { }); 588var constructMethod = node.CollectionBuilderMethod;
Operations\CSharpOperationFactory.cs (1)
1262return expr.CollectionBuilderMethod;