123 references to PortablePdb
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
127debugInformationFormat: DebugInformationFormat.PortablePdb,
Microsoft.AspNetCore.Http.Microbenchmarks (1)
src\Http\Http.Extensions\test\RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
127debugInformationFormat: DebugInformationFormat.PortablePdb,
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (4)
CSharpCompiler.cs (4)
129debugInformationFormat = DebugInformationFormat.PortablePdb; 142debugInformationFormat = DebugInformationFormat.PortablePdb; 147debugInformationFormat = DebugInformationFormat.PortablePdb; 151debugInformationFormat = DebugInformationFormat.PortablePdb;
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (2)
CSharpCompilerTest.cs (2)
168Assert.Equal(DebugInformationFormat.PortablePdb, emitOptions.DebugInformationFormat); 183Assert.Equal(DebugInformationFormat.PortablePdb, emitOptions.DebugInformationFormat);
Microsoft.CodeAnalysis (5)
Compilation\Compilation.cs (1)
3261moduleBeingBuilt.DebugInformationFormat != DebugInformationFormat.PortablePdb || pdbStreamProvider == null
Emit\DebugInformationFormat.cs (1)
23return value == DebugInformationFormat.PortablePdb || value == DebugInformationFormat.Embedded;
Emit\EditAndContinue\DeltaMetadataWriter.cs (1)
81debugMetadataOpt: (context.Module.DebugInformationFormat == DebugInformationFormat.PortablePdb) ? new MetadataBuilder() : null,
Emit\EmitOptions.cs (1)
21: new EmitOptions().WithDebugInformationFormat(DebugInformationFormat.PortablePdb);
PEWriter\FullMetadataWriter.cs (1)
53case DebugInformationFormat.PortablePdb:
Microsoft.CodeAnalysis.CSharp (4)
CommandLine\CSharpCommandLineParser.cs (3)
72DebugInformationFormat debugInformationFormat = PathUtilities.IsUnixLikePlatform ? DebugInformationFormat.PortablePdb : DebugInformationFormat.Pdb; 798debugInformationFormat = PathUtilities.IsUnixLikePlatform ? DebugInformationFormat.PortablePdb : DebugInformationFormat.Pdb; 801debugInformationFormat = DebugInformationFormat.PortablePdb;
Emitter\EditAndContinue\EmitHelpers.cs (1)
36var emitOptions = EmitOptions.Default.WithDebugInformationFormat(baseline.HasPortablePdb ? DebugInformationFormat.PortablePdb : DebugInformationFormat.Pdb);
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (4)
CommandLineTests.cs (4)
1960var platformPdbKind = PathUtilities.IsUnixLikePlatform ? DebugInformationFormat.PortablePdb : DebugInformationFormat.Pdb; 2020Assert.Equal(DebugInformationFormat.PortablePdb, parsedArgs.EmitOptions.DebugInformationFormat); 12388var platformPdbKind = PathUtilities.IsUnixLikePlatform ? DebugInformationFormat.PortablePdb : DebugInformationFormat.Pdb; 12392Tuple.Create("portable", DebugInformationFormat.PortablePdb),
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
PdbSourceDocument\AbstractPdbSourceDocumentTests.cs (1)
301emitOptions = new EmitOptions(debugInformationFormat: DebugInformationFormat.PortablePdb, pdbFilePath: pdbFilePath);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
Emit\CompilationEmitTests.cs (2)
5194var result = compilation.Emit(output, pdbStream, options: EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.PortablePdb)); 5474.WithDebugInformationFormat(DebugInformationFormat.PortablePdb);
Emit\DeterministicTests.cs (1)
489.WithDebugInformationFormat(DebugInformationFormat.PortablePdb)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (34)
Emit\EditAndContinue\EditAndContinuePdbTests.cs (2)
173if (format == DebugInformationFormat.PortablePdb) 302if (format == DebugInformationFormat.PortablePdb)
Emit\EditAndContinue\EditAndContinueTests.cs (3)
568var bytes0 = compilation0.EmitToArray(EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.PortablePdb)); 12359var bytes0 = compilation0.EmitToArray(EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.PortablePdb)); 12449var bytes0 = compilation0.EmitToArray(EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.PortablePdb));
Emit\NumericIntPtrTests.cs (2)
10343var emitOptions = new EmitOptions(runtimeMetadataVersion: "v5.1", debugInformationFormat: DebugInformationFormat.PortablePdb); 11824emitOptions: new EmitOptions(runtimeMetadataVersion: "v5.1", debugInformationFormat: DebugInformationFormat.PortablePdb),
PDB\CheckSumTest.cs (2)
252</symbols>", format: DebugInformationFormat.PortablePdb); 321</symbols>", format: DebugInformationFormat.PortablePdb);
PDB\PDBAsyncTests.cs (1)
2039options: EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.PortablePdb));
PDB\PDBConstantTests.cs (5)
83</symbols>", format: DebugInformationFormat.PortablePdb); 145</symbols>", format: DebugInformationFormat.PortablePdb); 647</symbols>", format: DebugInformationFormat.PortablePdb); 707</symbols>", format: DebugInformationFormat.PortablePdb); 764</symbols>", format: DebugInformationFormat.PortablePdb);
PDB\PDBEmbeddedSourceTests.cs (1)
22[InlineData(DebugInformationFormat.PortablePdb)]
PDB\PDBIteratorTests.cs (1)
1633options: EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.PortablePdb));
PDB\PDBTests.cs (6)
152", format: DebugInformationFormat.PortablePdb, options: PdbValidationOptions.ExcludeMethods); 764", format: DebugInformationFormat.PortablePdb); 5001</symbols>", format: DebugInformationFormat.PortablePdb); 5096</symbols>", format: DebugInformationFormat.PortablePdb); 12378</symbols>", format: DebugInformationFormat.PortablePdb); 12446</symbols>", format: DebugInformationFormat.PortablePdb);
PDB\PDBUsingTests.cs (7)
929format: DebugInformationFormat.PortablePdb); 1015format: DebugInformationFormat.PortablePdb); 1108format: DebugInformationFormat.PortablePdb); 1201format: DebugInformationFormat.PortablePdb); 1293format: DebugInformationFormat.PortablePdb); 1385format: DebugInformationFormat.PortablePdb); 3319c.EmitToArray(EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.PortablePdb), pdbStream: pdbStream);
PDB\PortablePdbTests.cs (3)
45var peBlob = c.EmitToArray(EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.PortablePdb), pdbStream: pdbStream); 304c.EmitToArray(EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.PortablePdb), pdbStream: pdbStream, sourceLinkStream: new MemoryStream(sourceLinkBlob)); 382var result = c.Emit(new MemoryStream(), new MemoryStream(), options: EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.PortablePdb), sourceLinkStream: sourceLinkStream);
PDB\TypeDefinitionDocumentTests.cs (1)
467var pe = compilation.EmitToArray(EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.PortablePdb), pdbStream: pdbStream);
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (2)
ScriptTests.cs (2)
79public void TestEmit_PortablePdb() => TestEmit(DebugInformationFormat.PortablePdb); 99portablePdbStreamOpt: (format == DebugInformationFormat.PortablePdb) ? pdbStream : null,
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Compilation\CompilationAPITests.cs (2)
454options: EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.PortablePdb), 466options: EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.PortablePdb),
Symbols\ModuleInitializers\ModuleInitializersTests.cs (1)
1155emitOptions: EmitOptions.Default.WithDebugInformationFormat(PathUtilities.IsUnixLikePlatform ? DebugInformationFormat.PortablePdb : DebugInformationFormat.Pdb),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\DiagnosticTest.cs (1)
2876ca.VerifyEmitDiagnostics(EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.PortablePdb),
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Emit\CompilationOutputFilesTests.cs (1)
33var peImage = compilation.EmitToArray(new EmitOptions(debugInformationFormat: DebugInformationFormat.PortablePdb), pdbStream: pdbStream);
Emit\CompilationOutputsTests.cs (1)
48[InlineData(DebugInformationFormat.PortablePdb)]
Microsoft.CodeAnalysis.Features (1)
SemanticSearch\AbstractSemanticSearchService.cs (1)
87debugInformationFormat: DebugInformationFormat.PortablePdb,
Microsoft.CodeAnalysis.Features.Test.Utilities (3)
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (3)
232DebugInformationFormat pdbFormat = DebugInformationFormat.PortablePdb, 246DebugInformationFormat pdbFormat = DebugInformationFormat.PortablePdb, 284internal Guid EmitLibrary(Compilation compilation, DebugInformationFormat pdbFormat = DebugInformationFormat.PortablePdb)
Microsoft.CodeAnalysis.Features.UnitTests (7)
EditAndContinue\EditAndContinueMethodDebugInfoReaderTests.cs (3)
45[InlineData(DebugInformationFormat.PortablePdb, true)] 46[InlineData(DebugInformationFormat.PortablePdb, false)] 73if (format == DebugInformationFormat.PortablePdb && useSymReader)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (4)
2486var (peImage, pdbImage) = compilationV1.EmitToArrays(new EmitOptions(debugInformationFormat: DebugInformationFormat.PortablePdb)); 3059var (peImageA, pdbImageA) = compilationA.EmitToArrays(new EmitOptions(debugInformationFormat: DebugInformationFormat.PortablePdb)); 3065var (peImageB, pdbImageB) = compilationB.EmitToArrays(new EmitOptions(debugInformationFormat: DebugInformationFormat.PortablePdb)); 3231var peImage = compilationV1.EmitToArray(new EmitOptions(debugInformationFormat: DebugInformationFormat.PortablePdb), pdbStream: pdbStream);
Microsoft.CodeAnalysis.Rebuild (1)
CompilationFactory.cs (1)
133debugInformationFormat = DebugInformationFormat.PortablePdb;
Microsoft.CodeAnalysis.Rebuild.UnitTests (2)
OptionRoundTripTests.cs (1)
83RoundTripUtil.VerifyRoundTrip(original, new EmitOptions(debugInformationFormat: DebugInformationFormat.PortablePdb, pdbFilePath: "test.pdb"));
RoundTripUtil.cs (1)
148case DebugInformationFormat.PortablePdb:
Microsoft.CodeAnalysis.Scripting (1)
Utilities\PdbHelpers.cs (1)
16return DebugInformationFormat.PortablePdb;
Microsoft.CodeAnalysis.Test.Utilities (3)
CommonTestBase.cs (2)
722new object[] { DebugInformationFormat.PortablePdb } 729new object[] { DebugInformationFormat.PortablePdb }
Compilation\CompilationExtensions.cs (1)
68options = (options ?? EmitOptions.Default).WithDebugInformationFormat(DebugInformationFormat.PortablePdb);
Microsoft.CodeAnalysis.UnitTests (1)
Emit\EmitOptionsTests.cs (1)
64PathUtilities.IsUnixLikePlatform ? DebugInformationFormat.Pdb : DebugInformationFormat.PortablePdb);
Microsoft.CodeAnalysis.VisualBasic (4)
CommandLine\VisualBasicCommandLineParser.vb (3)
100Dim debugInformationFormat As DebugInformationFormat = If(PathUtilities.IsUnixLikePlatform, DebugInformationFormat.PortablePdb, DebugInformationFormat.Pdb) 734debugInformationFormat = If(PathUtilities.IsUnixLikePlatform, DebugInformationFormat.PortablePdb, DebugInformationFormat.Pdb) 736debugInformationFormat = DebugInformationFormat.PortablePdb
Emit\EditAndContinue\EmitHelpers.vb (1)
34Dim emitOpts = EmitOptions.Default.WithDebugInformationFormat(If(baseline.HasPortablePdb, DebugInformationFormat.PortablePdb, DebugInformationFormat.Pdb))
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (2)
CommandLineTests.vb (2)
3041Dim platformPdbKind = If(PathUtilities.IsUnixLikePlatform, DebugInformationFormat.PortablePdb, DebugInformationFormat.Pdb) 3085Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, DebugInformationFormat.PortablePdb)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (23)
Emit\EditAndContinue\EditAndContinuePdbTests.vb (5)
19<InlineData(DebugInformationFormat.PortablePdb)> '<MemberData(NameOf(ExternalPdbFormats))> 176If format = DebugInformationFormat.PortablePdb Then 250</symbols>, format:=DebugInformationFormat.PortablePdb) 285If format = DebugInformationFormat.PortablePdb Then 346</symbols>, format:=DebugInformationFormat.PortablePdb)
Emit\EditAndContinue\EditAndContinueStateMachineTests.vb (2)
8318format:=DebugInformationFormat.PortablePdb) 8427format:=DebugInformationFormat.PortablePdb)
PDB\ChecksumTests.vb (3)
268</symbols>, format:=DebugInformationFormat.PortablePdb) 330</symbols>, format:=DebugInformationFormat.PortablePdb) 378</symbols>, format:=DebugInformationFormat.PortablePdb)
PDB\PDBAsyncTests.vb (1)
892Dim result = compilation.Emit(peStream, pdbStream, options:=EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.PortablePdb))
PDB\PDBEmbeddedSourceTests.vb (1)
17<InlineData(DebugInformationFormat.PortablePdb)>
PDB\PDBExternalSourceDirectiveTests.vb (4)
73</symbols>, format:=DebugInformationFormat.PortablePdb) 180</symbols>, format:=DebugInformationFormat.PortablePdb) 576</symbols>, format:=DebugInformationFormat.PortablePdb) 800</symbols>, format:=DebugInformationFormat.PortablePdb)
PDB\PDBIteratorTests.vb (1)
553Dim result = compilation.Emit(peStream, pdbStream, options:=EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.PortablePdb))
PDB\PDBLambdaTests.vb (1)
536</symbols>, format:=DebugInformationFormat.PortablePdb)
PDB\PDBTests.vb (1)
98", format:=DebugInformationFormat.PortablePdb, options:=PdbValidationOptions.ExcludeMethods)
PDB\PortablePdbTests.vb (3)
40compilation.EmitToArray(EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.PortablePdb), pdbStream:=pdbStream) 200c.EmitToArray(EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.PortablePdb), pdbStream:=pdbStream, sourceLinkStream:=New MemoryStream(sourceLinkBlob)) 269Dim result = c.Emit(New MemoryStream(), New MemoryStream(), options:=EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.PortablePdb), sourceLinkStream:=sourceLinkStream)
PDB\TypeDefinitionDocumentTests.vb (1)
349Dim pe = compilation.EmitToArray(EmitOptions.[Default].WithDebugInformationFormat(DebugInformationFormat.PortablePdb), pdbStream:=pdbStream)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Compilation\CompilationAPITests.vb (2)
460options:=EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.PortablePdb), 472options:=EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.PortablePdb),
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (3)
ProjectSystemShim\VisualStudioCompilationOutputFilesTests.cs (3)
27[InlineData(DebugInformationFormat.PortablePdb, true)] 28[InlineData(DebugInformationFormat.PortablePdb, false)] 90var peImage = compilation.EmitToArray(new EmitOptions(debugInformationFormat: DebugInformationFormat.PortablePdb, pdbFilePath: debugDirPdbPath), pdbStream: pdbStream);
Roslyn.Test.PdbUtilities (3)
EditAndContinue\EditAndContinueTest.cs (1)
58emitOptions: EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.PortablePdb),
Reader\PdbValidation.cs (2)
241bool testPortablePdb = format is 0 or DebugInformationFormat.PortablePdb; 527var emitOptions = EmitOptions.Default.WithDebugInformationFormat(portable ? DebugInformationFormat.PortablePdb : DebugInformationFormat.Pdb);