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