1 write to AddMethod
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6874
this.
AddMethod
= addMethod;
18 references to AddMethod
Microsoft.CodeAnalysis.CSharp (18)
BoundTree\BoundExpression.cs (1)
649
return this.
AddMethod
;
FlowAnalysis\AbstractFlowPass.cs (3)
3604
if (node.
AddMethod
.CallsAreOmitted(node.SyntaxTree))
3613
VisitArguments(node.Arguments, default(ImmutableArray<RefKind>), node.
AddMethod
);
3619
VisitArguments(node.Arguments, default(ImmutableArray<RefKind>), node.
AddMethod
);
FlowAnalysis\NullableWalker.cs (3)
4356
SetUpdatedSymbol(node, node.
AddMethod
, reinferredMethod);
4378
var method = node.
AddMethod
;
6677
if (node is BoundCollectionElementInitializer {
AddMethod
: { TypeArgumentsWithAnnotations: { IsEmpty: false } } })
Generated\BoundNodes.xml.Generated.cs (4)
6899
if (!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))
11862
return node.Update(node.
AddMethod
, arguments, implicitReceiverOpt, node.Expanded, node.ArgsToParamsOpt, node.DefaultArguments, node.InvokedAsExtensionMethod, node.ResultKind, type);
14221
MethodSymbol addMethod = GetUpdatedSymbol(node, node.
AddMethod
);
16596
new 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)
511
if (_inExpressionLambda && node.
AddMethod
.IsStatic)
516
VisitCall(node.
AddMethod
, null, node.Arguments, default(ImmutableArray<RefKind>), default(ImmutableArray<string>), node.DefaultArguments, node);
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (1)
128
return addMethod.Equals(collectionInitializer.
AddMethod
.OriginalDefinition);
Lowering\LocalRewriter\LocalRewriter_ObjectOrCollectionInitializerExpression.cs (1)
142
MethodSymbol addMethod = initializer.
AddMethod
;
Operations\CSharpOperationFactory.cs (1)
925
MethodSymbol addMethod = boundCollectionElementInitializer.
AddMethod
;
Operations\CSharpOperationFactory_Methods.cs (1)
244
return DeriveArguments(boundCollectionElementInitializer.
AddMethod
,