67 references to Embedded
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (1)
RuntimeViewCompiler.cs (1)
343var emitPdbFile = _csharpCompiler.EmitPdb && emitOptions.DebugInformationFormat != DebugInformationFormat.Embedded;
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (1)
RuntimeViewCompilerTest.cs (1)
787EmitOptionsSettable = new EmitOptions(debugInformationFormat: DebugInformationFormat.Embedded),
Microsoft.CodeAnalysis (12)
CommandLine\CommandLineArguments.cs (1)
361=> EmitPdb && EmitOptions.DebugInformationFormat != DebugInformationFormat.Embedded;
Compilation\Compilation.cs (7)
2829if (options?.DebugInformationFormat == DebugInformationFormat.Embedded) 2861if (options?.DebugInformationFormat == DebugInformationFormat.Embedded && 2895options?.DebugInformationFormat != DebugInformationFormat.Embedded) 2937bool embedPdb = options.DebugInformationFormat == DebugInformationFormat.Embedded; 3218Debug.Assert(moduleBeingBuilt.DebugInformationFormat != DebugInformationFormat.Embedded || pdbStreamProvider == null); 3222if (moduleBeingBuilt.DebugInformationFormat == DebugInformationFormat.Embedded || pdbStreamProvider != null) 3231if (moduleBeingBuilt.DebugInformationFormat == DebugInformationFormat.Embedded && !RoslynString.IsNullOrEmpty(pePdbFilePath))
Emit\DebugInformationFormat.cs (2)
18return value >= DebugInformationFormat.Pdb && value <= DebugInformationFormat.Embedded; 23return value == DebugInformationFormat.PortablePdb || value == DebugInformationFormat.Embedded;
Emit\EditAndContinue\DeltaMetadataWriter.cs (1)
93Debug.Assert(context.Module.DebugInformationFormat != DebugInformationFormat.Embedded);
PEWriter\FullMetadataWriter.cs (1)
57case DebugInformationFormat.Embedded:
Microsoft.CodeAnalysis.CSharp (1)
CommandLine\CSharpCommandLineParser.cs (1)
804debugInformationFormat = DebugInformationFormat.Embedded;
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (4)
CommandLineTests.cs (4)
2027Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat); 2070Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat); 2076Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat); 12395Tuple.Create("embedded", DebugInformationFormat.Embedded)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
PdbSourceDocument\AbstractPdbSourceDocumentTests.cs (1)
306emitOptions = new EmitOptions(debugInformationFormat: DebugInformationFormat.Embedded);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (6)
Emit\CompilationEmitTests.cs (2)
2613options: EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.Embedded).WithIncludePrivateMembers(false)); 2639.WithDebugInformationFormat(DebugInformationFormat.Embedded)));
Emit\DeterministicTests.cs (4)
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); 496pdbStream: optEmit.DebugInformationFormat != DebugInformationFormat.Embedded ? streamPdb : null,
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (7)
PDB\PDBEmbeddedSourceTests.cs (1)
108EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.Embedded),
PDB\PDBSourceLinkTests.cs (2)
83var peBlob = c.EmitToArray(EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.Embedded), sourceLinkStream: new MemoryStream(sourceLinkBlob)); 122var pdbStream = format != DebugInformationFormat.Embedded ? new MemoryStream() : null;
PDB\PDBTests.cs (1)
12882var result = compilation.Emit(outStream, options: new EmitOptions(pdbFilePath: "test\\?.pdb", debugInformationFormat: DebugInformationFormat.Embedded));
PDB\PortablePdbTests.cs (3)
169WithDebugInformationFormat(DebugInformationFormat.Embedded). 229WithDebugInformationFormat(DebugInformationFormat.Embedded). 344var peBlob = c.EmitToArray(EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.Embedded), sourceLinkStream: new MemoryStream(sourceLinkBlob));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\CompilationAPITests.cs (1)
449Assert.Throws<ArgumentException>("pdbStream", () => comp.Emit(peStream: new MemoryStream(), pdbStream: new MemoryStream(), options: EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.Embedded)));
Symbols\Source\FileModifierTests.cs (1)
853var emitOptions = EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.Embedded);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
Emit\CompilationOutputsTests.cs (3)
49[InlineData(DebugInformationFormat.Embedded)] 56var pdbStream = (format != DebugInformationFormat.Embedded) ? new MemoryStream() : null; 86if (format == DebugInformationFormat.Embedded)
Microsoft.CodeAnalysis.Rebuild (1)
CompilationFactory.cs (1)
123debugInformationFormat = DebugInformationFormat.Embedded;
Microsoft.CodeAnalysis.Rebuild.UnitTests (4)
CompilationOptionsReaderTests.cs (1)
32var peBytes = compilation.EmitToArray(new EmitOptions(debugInformationFormat: DebugInformationFormat.Embedded));
CSharpRebuildTests.cs (1)
27var originalBytes = original.EmitToArray(new EmitOptions(debugInformationFormat: DebugInformationFormat.Embedded));
RoundTripUtil.cs (2)
75emitOptions ??= new EmitOptions(debugInformationFormat: DebugInformationFormat.Embedded); 138case DebugInformationFormat.Embedded:
Microsoft.CodeAnalysis.Test.Utilities (6)
CommonTestBase.cs (1)
738new object[] { DebugInformationFormat.Embedded }
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 (2)
242emitOptions ??= EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.Embedded); 248var pdbStream = (emitOptions.DebugInformationFormat != DebugInformationFormat.Embedded) ? new MemoryStream() : null;
PDB\DeterministicBuildCompilationTestHelpers.cs (1)
37debugInformationFormat: DebugInformationFormat.Embedded,
Microsoft.CodeAnalysis.UnitTests (3)
Emit\EmitOptionsTests.cs (3)
103debugInformationFormat: DebugInformationFormat.Embedded, 116debugInformationFormat: DebugInformationFormat.Embedded, 130debugInformationFormat: DebugInformationFormat.Embedded,
Microsoft.CodeAnalysis.VisualBasic (1)
CommandLine\VisualBasicCommandLineParser.vb (1)
738debugInformationFormat = DebugInformationFormat.Embedded
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (3)
CommandLineTests.vb (3)
3090Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, DebugInformationFormat.Embedded) 3125Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat) 3130Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (6)
PDB\PDBEmbeddedSourceTests.vb (1)
90EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.Embedded),
PDB\PDBTests.vb (1)
4670Dim result = Compilation.Emit(outStream, options:=New EmitOptions(pdbFilePath:="test\\?.pdb", debugInformationFormat:=DebugInformationFormat.Embedded))
PDB\PortablePdbTests.vb (3)
79WithDebugInformationFormat(DebugInformationFormat.Embedded). 132WithDebugInformationFormat(DebugInformationFormat.Embedded). 234Dim peBlob = c.EmitToArray(EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.Embedded), sourceLinkStream:=New MemoryStream(sourceLinkBlob))
PDB\VisualBasicDeterministicBuildCompilationTests.vb (1)
175Dim emitOptions = New EmitOptions(debugInformationFormat:=DebugInformationFormat.Embedded)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Compilation\CompilationAPITests.vb (1)
455Assert.Throws(Of ArgumentException)("pdbStream", Sub() comp.Emit(peStream:=New MemoryStream(), pdbStream:=New MemoryStream(), options:=EmitOptions.Default.WithDebugInformationFormat(DebugInformationFormat.Embedded)))
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (2)
ProjectSystemShim\VisualStudioCompilationOutputFilesTests.cs (2)
29[InlineData(DebugInformationFormat.Embedded, false)] 34var pdbFile = (pdbFormat == DebugInformationFormat.Embedded) ? null : dir.CreateFile("lib.pdb");
Roslyn.Test.PdbUtilities (2)
Reader\PdbValidation.cs (2)
134Assert.NotEqual(DebugInformationFormat.Embedded, format); 238Assert.NotEqual(DebugInformationFormat.Embedded, format);