2 writes to TargetMethod
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
1328
this.
TargetMethod
= targetMethod;
1339
this.
TargetMethod
= targetMethod;
12 references to TargetMethod
Microsoft.CodeAnalysis.CSharp (12)
CodeGen\EmitExpression.cs (4)
3830
if ((load.
TargetMethod
.IsAbstract || load.
TargetMethod
.IsVirtual) && load.
TargetMethod
.IsStatic)
3842
EmitSymbolToken(load.
TargetMethod
, load.Syntax, optArgList: null);
Generated\BoundNodes.xml.Generated.cs (4)
1352
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(targetMethod, this.
TargetMethod
) || !TypeSymbol.Equals(constrainedToTypeOpt, this.ConstrainedToTypeOpt, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
10584
return node.Update(node.
TargetMethod
, constrainedToTypeOpt, type);
12153
MethodSymbol targetMethod = GetUpdatedSymbol(node, node.
TargetMethod
);
14670
new TreeDumperNode("targetMethod", node.
TargetMethod
, null),
Lowering\ClosureConversion\ClosureConversion.cs (3)
1348
if (node.
TargetMethod
.MethodKind == MethodKind.LocalFunction)
1350
Debug.Assert(node.
TargetMethod
is { RequiresInstanceReceiver: false, IsStatic: true });
1356
node.
TargetMethod
,
Lowering\MethodToClassRewriter.cs (1)
594
return node.Update(VisitMethodSymbol(node.
TargetMethod
), VisitType(node.ConstrainedToTypeOpt), VisitType(node.Type));