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)
1968Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 1975Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 1982Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 1989Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 1996Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 2002Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 2008Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 2015Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 2021Assert.Equal(DebugInformationFormat.PortablePdb, parsedArgs.EmitOptions.DebugInformationFormat); 2028Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat); 2035Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 2041Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind); 2047Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat); 2053Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat); 2059Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat); 2065Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat); 2071Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat); 2077Assert.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) 5394Assert.True(parsedArgs.EmitOptions.HighEntropyVirtualAddressSpace) 5396Assert.True(parsedArgs.EmitOptions.HighEntropyVirtualAddressSpace) 5398Assert.False(parsedArgs.EmitOptions.HighEntropyVirtualAddressSpace) 5400Assert.False(parsedArgs.EmitOptions.HighEntropyVirtualAddressSpace) 5403Assert.False(parsedArgs.EmitOptions.HighEntropyVirtualAddressSpace) 5406Assert.False(parsedArgs.EmitOptions.HighEntropyVirtualAddressSpace)