1 write to CollectionBuilderMethod
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6445
this.
CollectionBuilderMethod
= collectionBuilderMethod;
11 references to CollectionBuilderMethod
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder.ValueChecks.cs (1)
4538
var constructMethod = expr.
CollectionBuilderMethod
;
FlowAnalysis\NullableWalker.cs (2)
3797
var createMethod = node.
CollectionBuilderMethod
;
3813
var createMethod = node.
CollectionBuilderMethod
;
Generated\BoundNodes.xml.Generated.cs (4)
6467
if (collectionTypeKind != this.CollectionTypeKind || placeholder != this.Placeholder || collectionCreation != this.CollectionCreation || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(collectionBuilderMethod, this.
CollectionBuilderMethod
) || collectionBuilderInvocationPlaceholder != this.CollectionBuilderInvocationPlaceholder || collectionBuilderInvocationConversion != this.CollectionBuilderInvocationConversion || wasTargetTyped != this.WasTargetTyped || unconvertedCollectionExpression != this.UnconvertedCollectionExpression || elements != this.Elements || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
11787
return node.Update(node.CollectionTypeKind, placeholder, collectionCreation, node.
CollectionBuilderMethod
, collectionBuilderInvocationPlaceholder, collectionBuilderInvocationConversion, node.WasTargetTyped, unconvertedCollectionExpression, elements, type);
14043
MethodSymbol? collectionBuilderMethod = GetUpdatedSymbol(node, node.
CollectionBuilderMethod
);
16474
new TreeDumperNode("collectionBuilderMethod", node.
CollectionBuilderMethod
, null),
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (3)
223
CollectionBuilderMethod
: { } builder,
474
Debug.Assert(node.
CollectionBuilderMethod
is { });
478
var constructMethod = node.
CollectionBuilderMethod
;
Operations\CSharpOperationFactory.cs (1)
1251
return expr.
CollectionBuilderMethod
;