55 references to DebugInformationFormat
Microsoft.CodeAnalysis (30)
CommandLine\CommandLineArguments.cs (1)
372
=> EmitPdb && EmitOptions.DebugInformationFormat !=
DebugInformationFormat
.Embedded;
Compilation\Compilation.cs (10)
2858
if (options?.DebugInformationFormat ==
DebugInformationFormat
.Embedded)
2890
if (options?.DebugInformationFormat ==
DebugInformationFormat
.Embedded &&
2924
options?.DebugInformationFormat !=
DebugInformationFormat
.Embedded)
2966
bool embedPdb = options.DebugInformationFormat ==
DebugInformationFormat
.Embedded;
3273
Debug.Assert(moduleBeingBuilt.DebugInformationFormat !=
DebugInformationFormat
.Embedded || pdbStreamProvider == null);
3277
if (moduleBeingBuilt.DebugInformationFormat ==
DebugInformationFormat
.Embedded || pdbStreamProvider != null)
3286
if (moduleBeingBuilt.DebugInformationFormat ==
DebugInformationFormat
.Embedded && !RoslynString.IsNullOrEmpty(pePdbFilePath))
3304
if (moduleBeingBuilt.DebugInformationFormat ==
DebugInformationFormat
.Pdb && pdbStreamProvider != null)
3316
moduleBeingBuilt.DebugInformationFormat !=
DebugInformationFormat
.PortablePdb || pdbStreamProvider == null
3543
var nativePdbWriter = (moduleBeingBuilt.DebugInformationFormat !=
DebugInformationFormat
.Pdb) ? null :
Emit\CommonPEModuleBuilder.cs (1)
77
internal
DebugInformationFormat
DebugInformationFormat => EmitOptions.DebugInformationFormat;
Emit\DebugInformationFormat.cs (6)
16
internal static bool IsValid(this
DebugInformationFormat
value)
18
return value >=
DebugInformationFormat
.Pdb && value <=
DebugInformationFormat
.Embedded;
21
internal static bool IsPortable(this
DebugInformationFormat
value)
23
return value ==
DebugInformationFormat
.PortablePdb || value ==
DebugInformationFormat
.Embedded;
Emit\EditAndContinue\DeltaMetadataWriter.cs (2)
78
debugMetadataOpt: (context.Module.DebugInformationFormat ==
DebugInformationFormat
.PortablePdb) ? new MetadataBuilder() : null,
90
Debug.Assert(context.Module.DebugInformationFormat !=
DebugInformationFormat
.Embedded);
Emit\EmitOptions.cs (8)
21
: new EmitOptions().WithDebugInformationFormat(
DebugInformationFormat
.PortablePdb);
72
public
DebugInformationFormat
DebugInformationFormat { get; private set; }
128
DebugInformationFormat
debugInformationFormat,
157
DebugInformationFormat
debugInformationFormat,
188
DebugInformationFormat
debugInformationFormat,
221
DebugInformationFormat
debugInformationFormat = 0,
237
DebugInformationFormat = (debugInformationFormat == 0) ?
DebugInformationFormat
.Pdb : debugInformationFormat;
442
public EmitOptions WithDebugInformationFormat(
DebugInformationFormat
format)
PEWriter\FullMetadataWriter.cs (2)
52
case
DebugInformationFormat
.PortablePdb:
56
case
DebugInformationFormat
.Embedded:
Microsoft.CodeAnalysis.CSharp (9)
CommandLine\CSharpCommandLineParser.cs (7)
74
DebugInformationFormat
debugInformationFormat = PathUtilities.IsUnixLikePlatform ?
DebugInformationFormat
.PortablePdb :
DebugInformationFormat
.Pdb;
826
debugInformationFormat = PathUtilities.IsUnixLikePlatform ?
DebugInformationFormat
.PortablePdb :
DebugInformationFormat
.Pdb;
829
debugInformationFormat =
DebugInformationFormat
.PortablePdb;
832
debugInformationFormat =
DebugInformationFormat
.Embedded;
Emitter\EditAndContinue\EmitHelpers.cs (2)
36
var emitOptions = EmitOptions.Default.WithDebugInformationFormat(baseline.HasPortablePdb ?
DebugInformationFormat
.PortablePdb :
DebugInformationFormat
.Pdb);
Microsoft.CodeAnalysis.Rebuild (3)
CompilationFactory.cs (3)
115
DebugInformationFormat
debugInformationFormat;
123
debugInformationFormat =
DebugInformationFormat
.Embedded;
133
debugInformationFormat =
DebugInformationFormat
.PortablePdb;
Microsoft.CodeAnalysis.Scripting (2)
Utilities\PdbHelpers.cs (2)
12
public static
DebugInformationFormat
GetPlatformSpecificDebugInformationFormat()
16
return
DebugInformationFormat
.PortablePdb;
Microsoft.CodeAnalysis.VisualBasic (11)
CodeGen\EmitStatement.vb (1)
1440
If _module.debugInformationFormat =
DebugInformationFormat
.Pdb Then
CommandLine\VisualBasicCommandLineParser.vb (7)
102
Dim debugInformationFormat As
DebugInformationFormat
= If(PathUtilities.IsUnixLikePlatform,
DebugInformationFormat
.PortablePdb,
DebugInformationFormat
.Pdb)
753
debugInformationFormat = If(PathUtilities.IsUnixLikePlatform,
DebugInformationFormat
.PortablePdb,
DebugInformationFormat
.Pdb)
755
debugInformationFormat =
DebugInformationFormat
.PortablePdb
757
debugInformationFormat =
DebugInformationFormat
.Embedded
Compilation\MethodCompiler.vb (1)
1683
Dim stateMachineHoistedLocalScopes = If(kickoffMethod Is Nothing OrElse moduleBuilder.DebugInformationFormat =
DebugInformationFormat
.Pdb,
Emit\EditAndContinue\EmitHelpers.vb (2)
36
Dim emitOpts = EmitOptions.Default.WithDebugInformationFormat(If(baseline.HasPortablePdb,
DebugInformationFormat
.PortablePdb,
DebugInformationFormat
.Pdb))