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)
173var bodySyntax = _methodBodySyntaxOpt; 319BlockSyntax blockSyntax = _methodBodySyntaxOpt as BlockSyntax; 473if (_emitPdbSequencePoints && _methodBodySyntaxOpt != null) 481_builder.SetInitialDebugDocument(_methodBodySyntaxOpt.SyntaxTree);
CodeGen\EmitStatement.cs (1)
847return _ilEmitStyle == ILEmitStyle.Debug && _method.GenerateDebugInfo && _methodBodySyntaxOpt?.IsKind(SyntaxKind.Block) == true ||