2 writes to DebugInformationFormat
Microsoft.CodeAnalysis (2)
Emit\EmitOptions.cs (2)
237DebugInformationFormat = (debugInformationFormat == 0) ? DebugInformationFormat.Pdb : debugInformationFormat; 449return new EmitOptions(this) { DebugInformationFormat = format };
61 references to DebugInformationFormat
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
RuntimeViewCompiler.cs (1)
343var emitPdbFile = _csharpCompiler.EmitPdb && emitOptions.DebugInformationFormat != DebugInformationFormat.Embedded;
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (2)
CSharpCompilerTest.cs (2)
168Assert.Equal(DebugInformationFormat.PortablePdb, emitOptions.DebugInformationFormat); 183Assert.Equal(DebugInformationFormat.PortablePdb, emitOptions.DebugInformationFormat);
Microsoft.CodeAnalysis (14)
CommandLine\CommandLineArguments.cs (1)
372=> EmitPdb && EmitOptions.DebugInformationFormat != DebugInformationFormat.Embedded;
Compilation\Compilation.cs (4)
2838if (options?.DebugInformationFormat == DebugInformationFormat.Embedded) 2870if (options?.DebugInformationFormat == DebugInformationFormat.Embedded && 2904options?.DebugInformationFormat != DebugInformationFormat.Embedded) 2946bool embedPdb = options.DebugInformationFormat == DebugInformationFormat.Embedded;
Compilation\DeterministicKeyBuilder.cs (1)
414writer.Write("debugInformationFormat", options.DebugInformationFormat);
Emit\CommonPEModuleBuilder.cs (1)
77internal DebugInformationFormat DebugInformationFormat => EmitOptions.DebugInformationFormat;
Emit\EmitOptions.cs (7)
255other.DebugInformationFormat, 293DebugInformationFormat == other.DebugInformationFormat && 312Hash.Combine((int)DebugInformationFormat, 336if (!DebugInformationFormat.IsValid()) 338diagnostics.Add(messageProvider.CreateDiagnostic(messageProvider.ERR_InvalidDebugInformationFormat, Location.None, (int)DebugInformationFormat)); 444if (DebugInformationFormat == format)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (19)
CommandLineTests.cs (19)
1957Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 1964Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 1971Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 1978Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 1985Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 1991Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 1997Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 2004Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 2010Assert.Equal(DebugInformationFormat.PortablePdb, parsedArgs.EmitOptions.DebugInformationFormat); 2017Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat); 2024Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 2030Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 2036Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat); 2042Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat); 2048Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat); 2054Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat); 2060Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat); 2066Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat); 12420VerifyQuotedValid("debug", tuple.Item1, tuple.Item2, x => x.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;
CompilationVerifier.cs (1)
1041var 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)
3035Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3040Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3045Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 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, DebugInformationFormat.PortablePdb) 3075Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, DebugInformationFormat.Embedded) 3080Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3085Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3090Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat) 3095Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat) 3100Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat) 3105Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat) 3110Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat) 3115Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat)