3 writes to _ilEmitStyle
Microsoft.CodeAnalysis.CSharp (3)
CodeGen\CodeGenerator.cs (3)
112_ilEmitStyle = ILEmitStyle.Release; 118_ilEmitStyle = ILEmitStyle.Debug; 122_ilEmitStyle = IsDebugPlus() ?
10 references to _ilEmitStyle
Microsoft.CodeAnalysis.CSharp (10)
CodeGen\CodeGenerator.cs (4)
140debugFriendly: _ilEmitStyle != ILEmitStyle.Release, 174if (_ilEmitStyle == ILEmitStyle.Debug && bodySyntax != null) 388if (instructionsEmitted == 0 && syntax != null && _ilEmitStyle == ILEmitStyle.Debug) 411if (instructionsEmitted == 0 && span != default(TextSpan) && _ilEmitStyle == ILEmitStyle.Debug)
CodeGen\EmitExpression.cs (1)
3776else if (_ilEmitStyle == ILEmitStyle.Debug)
CodeGen\EmitStatement.cs (5)
138if (_ilEmitStyle == ILEmitStyle.Debug) 822return _ilEmitStyle == ILEmitStyle.Debug && _method.GenerateDebugInfo && _methodBodySyntaxOpt?.IsKind(SyntaxKind.Block) == true || 1803isSlotReusable: local.SynthesizedKind.IsSlotReusable(_ilEmitStyle != ILEmitStyle.Release)); 1842if (_ilEmitStyle == ILEmitStyle.Debug) 1859return local.SynthesizedKind.IsSlotReusable(_ilEmitStyle != ILEmitStyle.Release);