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)
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 (2)
3745
if (used &&
_ilEmitStyle
!= ILEmitStyle.Debug &&
4050
else if (
_ilEmitStyle
== ILEmitStyle.Debug)
CodeGen\EmitStatement.cs (5)
138
if (
_ilEmitStyle
== ILEmitStyle.Debug)
847
return
_ilEmitStyle
== ILEmitStyle.Debug && _method.GenerateDebugInfo && _methodBodySyntaxOpt?.IsKind(SyntaxKind.Block) == true ||
1826
isSlotReusable: local.SynthesizedKind.IsSlotReusable(
_ilEmitStyle
!= ILEmitStyle.Release));
1865
if (
_ilEmitStyle
== ILEmitStyle.Debug)
1882
return local.SynthesizedKind.IsSlotReusable(
_ilEmitStyle
!= ILEmitStyle.Release);