2 writes to TargetMethod
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
1341
this.
TargetMethod
= targetMethod;
1352
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)
1365
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(targetMethod, this.
TargetMethod
) || !TypeSymbol.Equals(constrainedToTypeOpt, this.ConstrainedToTypeOpt, TypeCompareKind.ConsiderEverything) || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
11000
return node.Update(node.
TargetMethod
, constrainedToTypeOpt, type);
12624
MethodSymbol targetMethod = GetUpdatedSymbol(node, node.
TargetMethod
);
15244
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));