1 write to EmitOptions
Microsoft.CodeAnalysis.VisualBasic (1)
CommandLine\VisualBasicCommandLineParser.vb (1)
1514.EmitOptions = emitOptions,
97 references to EmitOptions
Microsoft.CodeAnalysis (2)
CommandLine\CommandLineArguments.cs (1)
361=> EmitPdb && EmitOptions.DebugInformationFormat != DebugInformationFormat.Embedded;
CommandLine\CommonCompiler.cs (1)
1253var emitOptions = Arguments.EmitOptions.
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (18)
CommandLineTests.cs (18)
1967Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 1974Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 1981Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 1988Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 1995Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 2001Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 2007Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 2014Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 2020Assert.Equal(DebugInformationFormat.PortablePdb, parsedArgs.EmitOptions.DebugInformationFormat); 2027Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat); 2034Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 2040Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 2046Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat); 2052Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat); 2058Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat); 2064Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat); 2070Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat); 2076Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat);
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (77)
CommandLineTests.vb (77)
866Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({})) 870Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({})) 874Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({})) 878Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({})) 882Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({})) 886Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({})) 890Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({})) 894Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({InstrumentationKind.TestCoverage})) 898Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({InstrumentationKind.TestCoverage})) 902Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({InstrumentationKind.TestCoverage})) 906Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({InstrumentationKind.TestCoverage})) 910Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({InstrumentationKind.TestCoverage})) 914Assert.True(args.EmitOptions.InstrumentationKinds.SequenceEqual({InstrumentationKind.TestCoverage})) 1805Assert.Equal(SubsystemVersion.Create(4, 0), parsedArgs.EmitOptions.SubsystemVersion) 1811Assert.Equal(SubsystemVersion.Create(0, 0), parsedArgs.EmitOptions.SubsystemVersion) 1815Assert.Equal(SubsystemVersion.Create(0, 0), parsedArgs.EmitOptions.SubsystemVersion) 1819Assert.Equal(SubsystemVersion.Create(3, 99), parsedArgs.EmitOptions.SubsystemVersion) 1823Assert.Equal(SubsystemVersion.Create(5, 333), parsedArgs.EmitOptions.SubsystemVersion) 1910Assert.Equal(HashAlgorithmName.SHA256, parsedArgs.EmitOptions.PdbChecksumAlgorithm) 1915Assert.Equal(HashAlgorithmName.SHA256, parsedArgs.EmitOptions.PdbChecksumAlgorithm) 1920Assert.Equal(HashAlgorithmName.SHA256, parsedArgs.EmitOptions.PdbChecksumAlgorithm) 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, platformPdbKind) 3075Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3080Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3085Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, DebugInformationFormat.PortablePdb) 3090Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, DebugInformationFormat.Embedded) 3095Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3100Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3105Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat) 3110Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat) 3115Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat) 3120Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat) 3125Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat) 3130Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat) 4803Assert.Equal(512, parsedArgs.EmitOptions.FileAlignment) 4805Assert.Equal(1024, parsedArgs.EmitOptions.FileAlignment) 4807Assert.Equal(2048, parsedArgs.EmitOptions.FileAlignment) 4809Assert.Equal(4096, parsedArgs.EmitOptions.FileAlignment) 4811Assert.Equal(8192, parsedArgs.EmitOptions.FileAlignment) 4815Assert.Equal(512, parsedArgs.EmitOptions.FileAlignment) 4817Assert.Equal(1024, parsedArgs.EmitOptions.FileAlignment) 4819Assert.Equal(2048, parsedArgs.EmitOptions.FileAlignment) 4821Assert.Equal(4096, parsedArgs.EmitOptions.FileAlignment) 4823Assert.Equal(8192, parsedArgs.EmitOptions.FileAlignment) 4827Assert.Equal(512, parsedArgs.EmitOptions.FileAlignment) 4829Assert.Equal(1024, parsedArgs.EmitOptions.FileAlignment) 4831Assert.Equal(2048, parsedArgs.EmitOptions.FileAlignment) 4833Assert.Equal(4096, parsedArgs.EmitOptions.FileAlignment) 4835Assert.Equal(8192, parsedArgs.EmitOptions.FileAlignment) 4839Assert.Equal(0, parsedArgs.EmitOptions.FileAlignment) 4893Assert.Equal(CType(0, ULong), parsedArgs.EmitOptions.BaseAddress) 4895Assert.Equal(CType(&H1024, ULong), parsedArgs.EmitOptions.BaseAddress) 4897Assert.Equal(CType(&H2048, ULong), parsedArgs.EmitOptions.BaseAddress) 4899Assert.Equal(CType(&H4096, ULong), parsedArgs.EmitOptions.BaseAddress) 4901Assert.Equal(CType(&H8192, ULong), parsedArgs.EmitOptions.BaseAddress) 4905Assert.Equal(CType(&H200, ULong), parsedArgs.EmitOptions.BaseAddress) 4907Assert.Equal(CType(&H400, ULong), parsedArgs.EmitOptions.BaseAddress) 4909Assert.Equal(CType(&H800, ULong), parsedArgs.EmitOptions.BaseAddress) 4911Assert.Equal(CType(&H1000, ULong), parsedArgs.EmitOptions.BaseAddress) 4913Assert.Equal(ULong.MaxValue, parsedArgs.EmitOptions.BaseAddress) 4915Assert.Equal(ULong.MaxValue, parsedArgs.EmitOptions.BaseAddress) 4919Assert.Equal(CType(0, ULong), parsedArgs.EmitOptions.BaseAddress) 4921Assert.Equal(CType(&H1024, ULong), parsedArgs.EmitOptions.BaseAddress) 4923Assert.Equal(CType(&H2048, ULong), parsedArgs.EmitOptions.BaseAddress) 4925Assert.Equal(CType(&H4096, ULong), parsedArgs.EmitOptions.BaseAddress) 4927Assert.Equal(CType(&H8192, ULong), parsedArgs.EmitOptions.BaseAddress) 4931Assert.Equal(CType(0, ULong), parsedArgs.EmitOptions.BaseAddress) 5366Assert.True(parsedArgs.EmitOptions.HighEntropyVirtualAddressSpace) 5368Assert.True(parsedArgs.EmitOptions.HighEntropyVirtualAddressSpace) 5370Assert.False(parsedArgs.EmitOptions.HighEntropyVirtualAddressSpace) 5372Assert.False(parsedArgs.EmitOptions.HighEntropyVirtualAddressSpace) 5375Assert.False(parsedArgs.EmitOptions.HighEntropyVirtualAddressSpace) 5378Assert.False(parsedArgs.EmitOptions.HighEntropyVirtualAddressSpace)