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)
143
debugFriendly:
_ilEmitStyle
!= ILEmitStyle.Release,
190
if (
_ilEmitStyle
== ILEmitStyle.Debug && bodySyntax != null)
407
if (instructionsEmitted == 0 && syntax != null &&
_ilEmitStyle
== ILEmitStyle.Debug)
430
if (instructionsEmitted == 0 && span != default(TextSpan) &&
_ilEmitStyle
== ILEmitStyle.Debug)
CodeGen\EmitExpression.cs (2)
3783
if (used &&
_ilEmitStyle
!= ILEmitStyle.Debug &&
4095
else if (
_ilEmitStyle
== ILEmitStyle.Debug)
CodeGen\EmitStatement.cs (5)
138
if (
_ilEmitStyle
== ILEmitStyle.Debug)
857
return
_ilEmitStyle
== ILEmitStyle.Debug && _method.GenerateDebugInfo && _methodBodySyntaxOpt?.IsKind(SyntaxKind.Block) == true ||
1860
isSlotReusable: local.SynthesizedKind.IsSlotReusable(
_ilEmitStyle
!= ILEmitStyle.Release));
1899
if (
_ilEmitStyle
== ILEmitStyle.Debug)
1916
return local.SynthesizedKind.IsSlotReusable(
_ilEmitStyle
!= ILEmitStyle.Release);