1 write to AddMethod
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6873this.AddMethod = addMethod;
18 references to AddMethod
Microsoft.CodeAnalysis.CSharp (18)
BoundTree\BoundExpression.cs (1)
649return this.AddMethod;
FlowAnalysis\AbstractFlowPass.cs (3)
3604if (node.AddMethod.CallsAreOmitted(node.SyntaxTree)) 3613VisitArguments(node.Arguments, default(ImmutableArray<RefKind>), node.AddMethod); 3619VisitArguments(node.Arguments, default(ImmutableArray<RefKind>), node.AddMethod);
FlowAnalysis\NullableWalker.cs (3)
4356SetUpdatedSymbol(node, node.AddMethod, reinferredMethod); 4378var method = node.AddMethod; 6677if (node is BoundCollectionElementInitializer { AddMethod: { TypeArgumentsWithAnnotations: { IsEmpty: false } } })
Generated\BoundNodes.xml.Generated.cs (4)
6898if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(addMethod, this.AddMethod) || arguments != this.Arguments || implicitReceiverOpt != this.ImplicitReceiverOpt || expanded != this.Expanded || argsToParamsOpt != this.ArgsToParamsOpt || defaultArguments != this.DefaultArguments || invokedAsExtensionMethod != this.InvokedAsExtensionMethod || resultKind != this.ResultKind || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 11861return node.Update(node.AddMethod, arguments, implicitReceiverOpt, node.Expanded, node.ArgsToParamsOpt, node.DefaultArguments, node.InvokedAsExtensionMethod, node.ResultKind, type); 14220MethodSymbol addMethod = GetUpdatedSymbol(node, node.AddMethod); 16595new TreeDumperNode("addMethod", node.AddMethod, null),
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
1009_bound.MethodInfo(i.AddMethod, _bound.WellKnownType(WellKnownType.System_Reflection_MethodInfo)),
Lowering\DiagnosticsPass_ExpressionTrees.cs (2)
511if (_inExpressionLambda && node.AddMethod.IsStatic) 516VisitCall(node.AddMethod, null, node.Arguments, default(ImmutableArray<RefKind>), default(ImmutableArray<string>), node.DefaultArguments, node);
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (1)
128return addMethod.Equals(collectionInitializer.AddMethod.OriginalDefinition);
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (1)
142MethodSymbol addMethod = initializer.AddMethod;
Operations\CSharpOperationFactory.cs (1)
925MethodSymbol addMethod = boundCollectionElementInitializer.AddMethod;
Operations\CSharpOperationFactory_Methods.cs (1)
244return DeriveArguments(boundCollectionElementInitializer.AddMethod,