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)
310return Next.IsInMethodBody;
Binder\Binder_Expressions.cs (2)
1761if (!IsInMethodBody && !IsInsideNameof) 4490inLegalPosition = (IsInMethodBody || IsLocalFunctionsScopeBinder) && node.IsLegalCSharp73SpanStackAllocPosition();
Compilation\CSharpSemanticModel.cs (1)
1609if (!binder.IsInMethodBody &&