2 overrides of IsInMethodBody
Microsoft.CodeAnalysis.CSharp (2)
Binder\BuckStopsHereBinder.cs (1)
102
internal override bool
IsInMethodBody
Binder\InMethodBinder.cs (1)
79
internal override bool
IsInMethodBody
4 references to IsInMethodBody
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder.cs (1)
311
return Next.
IsInMethodBody
;
Binder\Binder_Expressions.cs (2)
1799
if (!
IsInMethodBody
&& !IsInsideNameof)
4528
inLegalPosition = (
IsInMethodBody
|| IsLocalFunctionsScopeBinder) && node.IsLegalCSharp73SpanStackAllocPosition();
Compilation\CSharpSemanticModel.cs (1)
1609
if (!binder.
IsInMethodBody
&&