49 references to DebugInformationFormat
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (6)
CSharpCompiler.cs (5)
126
DebugInformationFormat
debugInformationFormat;
129
debugInformationFormat =
DebugInformationFormat
.PortablePdb;
142
debugInformationFormat =
DebugInformationFormat
.PortablePdb;
147
debugInformationFormat =
DebugInformationFormat
.PortablePdb;
151
debugInformationFormat =
DebugInformationFormat
.PortablePdb;
RuntimeViewCompiler.cs (1)
343
var emitPdbFile = _csharpCompiler.EmitPdb && emitOptions.DebugInformationFormat !=
DebugInformationFormat
.Embedded;
Microsoft.CodeAnalysis (29)
CommandLine\CommandLineArguments.cs (1)
372
=> EmitPdb && EmitOptions.DebugInformationFormat !=
DebugInformationFormat
.Embedded;
Compilation\Compilation.cs (9)
2858
if (options?.DebugInformationFormat ==
DebugInformationFormat
.Embedded)
2918
options?.DebugInformationFormat !=
DebugInformationFormat
.Embedded)
2960
bool embedPdb = options.DebugInformationFormat ==
DebugInformationFormat
.Embedded;
3268
Debug.Assert(moduleBeingBuilt.DebugInformationFormat !=
DebugInformationFormat
.Embedded || pdbStreamProvider == null);
3278
else if (moduleBeingBuilt.DebugInformationFormat ==
DebugInformationFormat
.Embedded || pdbStreamProvider != null)
3287
if (moduleBeingBuilt.DebugInformationFormat ==
DebugInformationFormat
.Embedded && !RoslynString.IsNullOrEmpty(pePdbFilePath))
3305
if (moduleBeingBuilt.DebugInformationFormat ==
DebugInformationFormat
.Pdb && pdbStreamProvider != null)
3317
moduleBeingBuilt.DebugInformationFormat !=
DebugInformationFormat
.PortablePdb || pdbStreamProvider == null
3544
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;