1 write to _methodBodySyntaxOpt
Microsoft.CodeAnalysis.CSharp (1)
CodeGen\CodeGenerator.cs (1)
151
_methodBodySyntaxOpt
= (SyntaxNode)blockBody ?? expressionBody ?? sourceMethod?.SyntaxNode;
5 references to _methodBodySyntaxOpt
Microsoft.CodeAnalysis.CSharp (5)
CodeGen\CodeGenerator.cs (4)
173
var bodySyntax =
_methodBodySyntaxOpt
;
319
BlockSyntax blockSyntax =
_methodBodySyntaxOpt
as BlockSyntax;
473
if (_emitPdbSequencePoints &&
_methodBodySyntaxOpt
!= null)
481
_builder.SetInitialDebugDocument(
_methodBodySyntaxOpt
.SyntaxTree);
CodeGen\EmitStatement.cs (1)
847
return _ilEmitStyle == ILEmitStyle.Debug && _method.GenerateDebugInfo &&
_methodBodySyntaxOpt
?.IsKind(SyntaxKind.Block) == true ||