2 writes to DebugInformationFormat
Microsoft.CodeAnalysis (2)
Emit\EmitOptions.cs (2)
235DebugInformationFormat = (debugInformationFormat == 0) ? DebugInformationFormat.Pdb : debugInformationFormat; 447return new EmitOptions(this) { DebugInformationFormat = format };
58 references to DebugInformationFormat
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
RuntimeViewCompiler.cs (1)
343var emitPdbFile = _csharpCompiler.EmitPdb && emitOptions.DebugInformationFormat != DebugInformationFormat.Embedded;
Microsoft.CodeAnalysis (14)
CommandLine\CommandLineArguments.cs (1)
361=> EmitPdb && EmitOptions.DebugInformationFormat != DebugInformationFormat.Embedded;
Compilation\Compilation.cs (4)
2837if (options?.DebugInformationFormat == DebugInformationFormat.Embedded) 2869if (options?.DebugInformationFormat == DebugInformationFormat.Embedded && 2903options?.DebugInformationFormat != DebugInformationFormat.Embedded) 2945bool embedPdb = options.DebugInformationFormat == DebugInformationFormat.Embedded;
Compilation\DeterministicKeyBuilder.cs (1)
413writer.Write("debugInformationFormat", options.DebugInformationFormat);
Emit\CommonPEModuleBuilder.cs (1)
70internal DebugInformationFormat DebugInformationFormat => EmitOptions.DebugInformationFormat;
Emit\EmitOptions.cs (7)
253other.DebugInformationFormat, 291DebugInformationFormat == other.DebugInformationFormat && 310Hash.Combine((int)DebugInformationFormat, 334if (!DebugInformationFormat.IsValid()) 336diagnostics.Add(messageProvider.CreateDiagnostic(messageProvider.ERR_InvalidDebugInformationFormat, Location.None, (int)DebugInformationFormat)); 442if (DebugInformationFormat == format)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (18)
CommandLineTests.cs (18)
1968Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 1975Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 1982Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 1989Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 1996Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 2002Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 2008Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 2015Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 2021Assert.Equal(DebugInformationFormat.PortablePdb, parsedArgs.EmitOptions.DebugInformationFormat); 2028Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat); 2035Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 2041Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 2047Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat); 2053Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat); 2059Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat); 2065Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat); 2071Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat); 2077Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\DeterministicTests.cs (1)
496pdbStream: optEmit.DebugInformationFormat != DebugInformationFormat.Embedded ? streamPdb : null,
Microsoft.CodeAnalysis.Rebuild.UnitTests (2)
RoundTripUtil.cs (2)
136switch (emitOptions.DebugInformationFormat) 159throw new ArgumentException("Unsupported DebugInformationFormat: " + emitOptions.DebugInformationFormat);
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\CompilationExtensions.cs (2)
64if (pdbStream == null && compilation.Options.OptimizationLevel == OptimizationLevel.Debug && options?.DebugInformationFormat != DebugInformationFormat.Embedded) 71var discretePdb = (object)options != null && options.DebugInformationFormat != DebugInformationFormat.Embedded;
Compilation\IRuntimeEnvironment.cs (1)
248var pdbStream = (emitOptions.DebugInformationFormat != DebugInformationFormat.Embedded) ? new MemoryStream() : null;
Microsoft.CodeAnalysis.UnitTests (2)
Emit\EmitOptionsTests.cs (2)
63TestProperty((old, value) => old.WithDebugInformationFormat(value), opt => opt.DebugInformationFormat, 86nameof(EmitOptions.DebugInformationFormat),
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (17)
CommandLineTests.vb (17)
3050Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3055Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3060Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3065Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3070Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3075Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3080Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3085Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, DebugInformationFormat.PortablePdb) 3090Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, DebugInformationFormat.Embedded) 3095Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3100Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3105Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat) 3110Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat) 3115Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat) 3120Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat) 3125Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat) 3130Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat)