3 writes to _ilEmitStyle
Microsoft.CodeAnalysis.CSharp (3)
CodeGen\CodeGenerator.cs (3)
115_ilEmitStyle = ILEmitStyle.Release; 121_ilEmitStyle = ILEmitStyle.Debug; 125_ilEmitStyle = IsDebugPlus() ?
11 references to _ilEmitStyle
Microsoft.CodeAnalysis.CSharp (11)
CodeGen\CodeGenerator.cs (4)
143debugFriendly: _ilEmitStyle != ILEmitStyle.Release, 190if (_ilEmitStyle == ILEmitStyle.Debug && bodySyntax != null) 407if (instructionsEmitted == 0 && syntax != null && _ilEmitStyle == ILEmitStyle.Debug) 430if (instructionsEmitted == 0 && span != default(TextSpan) && _ilEmitStyle == ILEmitStyle.Debug)
CodeGen\EmitExpression.cs (2)
3783if (used && _ilEmitStyle != ILEmitStyle.Debug && 4095else if (_ilEmitStyle == ILEmitStyle.Debug)
CodeGen\EmitStatement.cs (5)
138if (_ilEmitStyle == ILEmitStyle.Debug) 857return _ilEmitStyle == ILEmitStyle.Debug && _method.GenerateDebugInfo && _methodBodySyntaxOpt?.IsKind(SyntaxKind.Block) == true || 1860isSlotReusable: local.SynthesizedKind.IsSlotReusable(_ilEmitStyle != ILEmitStyle.Release)); 1899if (_ilEmitStyle == ILEmitStyle.Debug) 1916return local.SynthesizedKind.IsSlotReusable(_ilEmitStyle != ILEmitStyle.Release);