3 writes to _ilEmitStyle
Microsoft.CodeAnalysis.CSharp (3)
CodeGen\CodeGenerator.cs (3)
112_ilEmitStyle = ILEmitStyle.Release; 118_ilEmitStyle = ILEmitStyle.Debug; 122_ilEmitStyle = IsDebugPlus() ?
11 references to _ilEmitStyle
Microsoft.CodeAnalysis.CSharp (11)
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 (2)
3745if (used && _ilEmitStyle != ILEmitStyle.Debug && 4050else if (_ilEmitStyle == ILEmitStyle.Debug)
CodeGen\EmitStatement.cs (5)
138if (_ilEmitStyle == ILEmitStyle.Debug) 847return _ilEmitStyle == ILEmitStyle.Debug && _method.GenerateDebugInfo && _methodBodySyntaxOpt?.IsKind(SyntaxKind.Block) == true || 1826isSlotReusable: local.SynthesizedKind.IsSlotReusable(_ilEmitStyle != ILEmitStyle.Release)); 1865if (_ilEmitStyle == ILEmitStyle.Debug) 1882return local.SynthesizedKind.IsSlotReusable(_ilEmitStyle != ILEmitStyle.Release);