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