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)
4130
if ((load.
TargetMethod
.IsAbstract || load.
TargetMethod
.IsVirtual) && load.
TargetMethod
.IsStatic)
4142
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))
11011
MethodSymbol targetMethod = this.VisitMethodSymbol(node.
TargetMethod
);
12768
MethodSymbol targetMethod = GetUpdatedSymbol(node, node.
TargetMethod
);
15387
new TreeDumperNode("targetMethod", node.
TargetMethod
, null),
Lowering\ClosureConversion\ClosureConversion.cs (3)
1367
if (node.
TargetMethod
.MethodKind == MethodKind.LocalFunction)
1369
Debug.Assert(node.
TargetMethod
is { RequiresInstanceReceiver: false, IsStatic: true });
1375
node.
TargetMethod
,
Lowering\ExtensionMethodReferenceRewriter.cs (1)
226
MethodSymbol targetMethod = VisitMethodSymbolWithExtensionRewrite(rewriter, node.
TargetMethod
);