259 references to DebugInformationFormat
Microsoft.AspNetCore.Http.Microbenchmarks (1)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (6)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (3)
Microsoft.CodeAnalysis (30)
Microsoft.CodeAnalysis.CSharp (9)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (13)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (15)
Emit\DeterministicTests.cs (11)
51private (ImmutableArray<byte> pe, ImmutableArray<byte> pdb) EmitDeterministic(string source, Platform platform, DebugInformationFormat pdbFormat, bool optimize)
59if (pdbFormat == DebugInformationFormat.Pdb)
64var pdbStream = (pdbFormat == DebugInformationFormat.Embedded) ? null : new MemoryStream();
152var result1 = EmitDeterministic(CompareAllBytesEmitted_Source, Platform.X64, DebugInformationFormat.Embedded, optimize: false);
153var result2 = EmitDeterministic(CompareAllBytesEmitted_Source, Platform.Arm64, DebugInformationFormat.Embedded, optimize: false);
210public void CompareAllBytesEmitted_Release(DebugInformationFormat pdbFormat)
213if (pdbFormat == DebugInformationFormat.Pdb)
237public void CompareAllBytesEmitted_Debug(DebugInformationFormat pdbFormat)
240if (pdbFormat == DebugInformationFormat.Pdb)
489.WithDebugInformationFormat(DebugInformationFormat.PortablePdb)
496pdbStream: optEmit.DebugInformationFormat != DebugInformationFormat.Embedded ? streamPdb : null,
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (72)
PDB\PDBConstantTests.cs (10)
63</symbols>", format: DebugInformationFormat.Pdb);
83</symbols>", format: DebugInformationFormat.PortablePdb);
127</symbols>", format: DebugInformationFormat.Pdb);
145</symbols>", format: DebugInformationFormat.PortablePdb);
629</symbols>", format: DebugInformationFormat.Pdb);
647</symbols>", format: DebugInformationFormat.PortablePdb);
689</symbols>", format: DebugInformationFormat.Pdb);
707</symbols>", format: DebugInformationFormat.PortablePdb);
746</symbols>", format: DebugInformationFormat.Pdb);
764</symbols>", format: DebugInformationFormat.PortablePdb);
PDB\PDBTests.cs (16)
152", format: DebugInformationFormat.PortablePdb, options: PdbValidationOptions.ExcludeMethods);
508</symbols>", format: DebugInformationFormat.Pdb, options: PdbValidationOptions.SkipConversionValidation);
540</symbols>", format: DebugInformationFormat.Pdb, options: PdbValidationOptions.SkipConversionValidation);
579</symbols>", format: DebugInformationFormat.Pdb, options: PdbValidationOptions.SkipConversionValidation);
599</symbols>", format: DebugInformationFormat.Pdb, options: PdbValidationOptions.SkipConversionValidation);
764", format: DebugInformationFormat.PortablePdb);
786", format: DebugInformationFormat.Pdb);
4985</symbols>", format: DebugInformationFormat.Pdb);
5001</symbols>", format: DebugInformationFormat.PortablePdb);
5096</symbols>", format: DebugInformationFormat.PortablePdb);
12349", format: DebugInformationFormat.Pdb);
12378</symbols>", format: DebugInformationFormat.PortablePdb);
12428", format: DebugInformationFormat.Pdb);
12446</symbols>", format: DebugInformationFormat.PortablePdb);
12882var result = compilation.Emit(outStream, options: new EmitOptions(pdbFilePath: "test\\?.pdb", debugInformationFormat: DebugInformationFormat.Embedded));
12994", options: PdbValidationOptions.IncludeModuleDebugInfo, format: DebugInformationFormat.Pdb);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (8)
Microsoft.CodeAnalysis.Features.Test.Utilities (8)
Microsoft.CodeAnalysis.Features.UnitTests (9)
Microsoft.CodeAnalysis.Rebuild (3)
Microsoft.CodeAnalysis.Rebuild.UnitTests (7)
Microsoft.CodeAnalysis.Scripting (2)
Microsoft.CodeAnalysis.Test.Utilities (10)
Microsoft.CodeAnalysis.UnitTests (5)
Microsoft.CodeAnalysis.VisualBasic (11)
Microsoft.Extensions.Validation.GeneratorTests (1)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (6)
Roslyn.Test.PdbUtilities (22)
Reader\PdbValidation.cs (21)
36DebugInformationFormat format = 0,
50DebugInformationFormat format = 0,
66DebugInformationFormat format = 0,
82DebugInformationFormat format = 0,
105DebugInformationFormat format = DebugInformationFormat.Pdb,
117DebugInformationFormat format = DebugInformationFormat.Pdb,
128DebugInformationFormat format,
133Assert.NotEqual(default(DebugInformationFormat), format);
134Assert.NotEqual(DebugInformationFormat.Embedded, format);
155DebugInformationFormat format = 0,
170DebugInformationFormat format = 0,
194DebugInformationFormat format = 0,
208DebugInformationFormat format = 0,
232DebugInformationFormat format,
238Assert.NotEqual(DebugInformationFormat.Embedded, format);
240bool testWindowsPdb = (format == 0 || format == DebugInformationFormat.Pdb) && ExecutionConditionUtil.IsWindows;
241bool testPortablePdb = format is 0 or DebugInformationFormat.PortablePdb;
527var emitOptions = EmitOptions.Default.WithDebugInformationFormat(portable ? DebugInformationFormat.PortablePdb : DebugInformationFormat.Pdb);