457 references to DebugInformationFormat
Microsoft.CodeAnalysis (30)
Microsoft.CodeAnalysis.CSharp (9)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (13)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (72)
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,
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)
145", format: DebugInformationFormat.PortablePdb, options: PdbValidationOptions.ExcludeMethods);
420</symbols>", format: DebugInformationFormat.Pdb, options: PdbValidationOptions.SkipConversionValidation);
452</symbols>", format: DebugInformationFormat.Pdb, options: PdbValidationOptions.SkipConversionValidation);
491</symbols>", format: DebugInformationFormat.Pdb, options: PdbValidationOptions.SkipConversionValidation);
511</symbols>", format: DebugInformationFormat.Pdb, options: PdbValidationOptions.SkipConversionValidation);
676", format: DebugInformationFormat.PortablePdb);
698", format: DebugInformationFormat.Pdb);
4897</symbols>", format: DebugInformationFormat.Pdb);
4913</symbols>", format: DebugInformationFormat.PortablePdb);
5008</symbols>", format: DebugInformationFormat.PortablePdb);
12332", format: DebugInformationFormat.Pdb);
12361</symbols>", format: DebugInformationFormat.PortablePdb);
12411", format: DebugInformationFormat.Pdb);
12429</symbols>", format: DebugInformationFormat.PortablePdb);
12865var result = compilation.Emit(outStream, options: new EmitOptions(pdbFilePath: "test\\?.pdb", debugInformationFormat: DebugInformationFormat.Embedded));
12977", options: PdbValidationOptions.IncludeModuleDebugInfo, format: DebugInformationFormat.Pdb);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler.UnitTests (161)
ExpressionCompilerTests.cs (66)
7982atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8024atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8067atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8112atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8155atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8199atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8232atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8277atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8323atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8370atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8414atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8457atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8500atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8543atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8576atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8619atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8662atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8705atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8750atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8795atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8840atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8882atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8924atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
8966atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9009atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9054atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9099atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9142atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9178atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9214atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9240atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9275atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9389atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9454atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9494atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9536atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9566atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9596atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9625atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9666atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9709atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9752atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9790atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9817atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9888atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9928atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
9971atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
10011atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
10050atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
10089atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
10131atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
10172atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
10210atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
10278atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
10320atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
10361atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
10404atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
10440atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
10467atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
10490atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
10523atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
10549atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
10585atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
10612atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
10641atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
10680atLineNumber: 100, debugFormat: DebugInformationFormat.PortablePdb,
LocalsTests.cs (60)
6455WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
6506WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
6558WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
6612WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
6664WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
6717WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
6757WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
6811WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
6866WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
6922WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
6975WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
7027WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
7079WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
7131WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
7171WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
7223WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
7275WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
7327WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
7381WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
7435WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
7489WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
7540WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
7591WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
7642WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
7694WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
7748WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
7802WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
7855WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
7897WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
7939WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
7971WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8019WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8068WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8119WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8155WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8191WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8226WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8276WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8328WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8380WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8427WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8460WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8507WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8554WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8604WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8653WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8699WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8737WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8785WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8835WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8884WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8929WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8962WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
8991WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
9033WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
9065WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
9110WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
9143WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
9178WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
9213WithRuntimeInstance(compilation0, targetDebugFormat: DebugInformationFormat.PortablePdb, validator: runtime =>
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (6)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (23)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler.Utilities (8)
Microsoft.CodeAnalysis.Rebuild (3)
Microsoft.CodeAnalysis.Rebuild.UnitTests (7)
Microsoft.CodeAnalysis.Scripting (3)
Microsoft.CodeAnalysis.Test.Utilities (10)
Microsoft.CodeAnalysis.UnitTests (5)
Microsoft.CodeAnalysis.VisualBasic (11)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (6)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (34)
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler.UnitTests (14)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (4)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (6)
Roslyn.Test.PdbUtilities (21)
Reader\PdbValidation.cs (21)
41DebugInformationFormat format = 0,
55DebugInformationFormat format = 0,
70DebugInformationFormat format = 0,
85DebugInformationFormat format = 0,
108DebugInformationFormat format = DebugInformationFormat.Pdb,
119DebugInformationFormat format = DebugInformationFormat.Pdb,
130DebugInformationFormat format,
135Assert.NotEqual(default(DebugInformationFormat), format);
136Assert.NotEqual(DebugInformationFormat.Embedded, format);
157DebugInformationFormat format = 0,
171DebugInformationFormat 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);