2 writes to TargetMethod
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
1340
this.
TargetMethod
= targetMethod;
1351
this.
TargetMethod
= targetMethod;
12 references to TargetMethod
Microsoft.CodeAnalysis.CSharp (12)
CodeGen\EmitExpression.cs (4)
4104
if ((load.
TargetMethod
.IsAbstract || load.
TargetMethod
.IsVirtual) && load.
TargetMethod
.IsStatic)
4116
EmitSymbolToken(load.
TargetMethod
, load.Syntax, optArgList: null);
Generated\BoundNodes.xml.Generated.cs (4)
1364
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(targetMethod, this.
TargetMethod
) || !TypeSymbol.Equals(constrainedToTypeOpt, this.ConstrainedToTypeOpt, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
10963
return node.Update(node.
TargetMethod
, constrainedToTypeOpt, type);
12587
MethodSymbol targetMethod = GetUpdatedSymbol(node, node.
TargetMethod
);
15207
new TreeDumperNode("targetMethod", node.
TargetMethod
, null),
Lowering\ClosureConversion\ClosureConversion.cs (3)
1364
if (node.
TargetMethod
.MethodKind == MethodKind.LocalFunction)
1366
Debug.Assert(node.
TargetMethod
is { RequiresInstanceReceiver: false, IsStatic: true });
1372
node.
TargetMethod
,
Lowering\MethodToClassRewriter.cs (1)
603
return node.Update(VisitMethodSymbol(node.
TargetMethod
), VisitType(node.ConstrainedToTypeOpt), VisitType(node.Type));