3 writes to _currentMethod
Microsoft.CodeAnalysis.CSharp (3)
Lowering\ClosureConversion\ClosureConversion.cs (3)
182
_currentMethod
= method;
1569
_currentMethod
= synthesizedMethod;
1593
_currentMethod
= oldMethod;
15 references to _currentMethod
Microsoft.CodeAnalysis.CSharp (15)
Lowering\ClosureConversion\ClosureConversion.cs (15)
45
/// (2) The current method being processed (this changes within a lambda's body), in <see cref="
_currentMethod
"/>
320
get { return
_currentMethod
; }
603
var lambda =
_currentMethod
as SynthesizedClosureMethod;
789
if (
_currentMethod
.MethodKind == MethodKind.Constructor &&
790
symbol ==
_currentMethod
.ThisParameter &&
799
_currentMethod
is not SynthesizedPrimaryConstructor)
809
Debug.Assert(
_currentMethod
is not SynthesizedPrimaryConstructor primaryConstructor ||
810
symbol !=
_currentMethod
.ThisParameter ||
842
return (
_currentMethod
== _topLevelMethod || _topLevelMethod.ThisParameter == null ?
849
return (!
_currentMethod
.IsStatic && TypeSymbol.Equals(
_currentMethod
.ContainingType, _topLevelMethod.ContainingType, TypeCompareKind.ConsiderEverything2))
1114
if (
_currentMethod
== _topLevelMethod && node.IsConstructorInitializer())
1557
var oldMethod =
_currentMethod
;
1673
_currentMethod
.MethodKind != MethodKind.StaticConstructor &&
1685
var F = new SyntheticBoundNodeFactory(
_currentMethod
, node.Syntax, CompilationState, Diagnostics);