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)
140
debugFriendly:
_ilEmitStyle
!= ILEmitStyle.Release,
174
if (
_ilEmitStyle
== ILEmitStyle.Debug && bodySyntax != null)
388
if (instructionsEmitted == 0 && syntax != null &&
_ilEmitStyle
== ILEmitStyle.Debug)
411
if (instructionsEmitted == 0 && span != default(TextSpan) &&
_ilEmitStyle
== ILEmitStyle.Debug)
CodeGen\EmitExpression.cs (1)
3776
else if (
_ilEmitStyle
== ILEmitStyle.Debug)
CodeGen\EmitStatement.cs (5)
138
if (
_ilEmitStyle
== ILEmitStyle.Debug)
822
return
_ilEmitStyle
== ILEmitStyle.Debug && _method.GenerateDebugInfo && _methodBodySyntaxOpt?.IsKind(SyntaxKind.Block) == true ||
1803
isSlotReusable: local.SynthesizedKind.IsSlotReusable(
_ilEmitStyle
!= ILEmitStyle.Release));
1842
if (
_ilEmitStyle
== ILEmitStyle.Debug)
1859
return local.SynthesizedKind.IsSlotReusable(
_ilEmitStyle
!= ILEmitStyle.Release);