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) 3049Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3054Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3059Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3064Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3069Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3074Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3079Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3084Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, DebugInformationFormat.PortablePdb) 3089Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, DebugInformationFormat.Embedded) 3094Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3099Assert.Equal(parsedArgs.EmitOptions.DebugInformationFormat, platformPdbKind) 3104Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat) 3109Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat) 3114Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat) 3119Assert.Equal(platformPdbKind, parsedArgs.EmitOptions.DebugInformationFormat) 3124Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat) 3129Assert.Equal(DebugInformationFormat.Embedded, parsedArgs.EmitOptions.DebugInformationFormat) 4802Assert.Equal(512, parsedArgs.EmitOptions.FileAlignment) 4804Assert.Equal(1024, parsedArgs.EmitOptions.FileAlignment) 4806Assert.Equal(2048, parsedArgs.EmitOptions.FileAlignment) 4808Assert.Equal(4096, parsedArgs.EmitOptions.FileAlignment) 4810Assert.Equal(8192, parsedArgs.EmitOptions.FileAlignment) 4814Assert.Equal(512, parsedArgs.EmitOptions.FileAlignment) 4816Assert.Equal(1024, parsedArgs.EmitOptions.FileAlignment) 4818Assert.Equal(2048, parsedArgs.EmitOptions.FileAlignment) 4820Assert.Equal(4096, parsedArgs.EmitOptions.FileAlignment) 4822Assert.Equal(8192, parsedArgs.EmitOptions.FileAlignment) 4826Assert.Equal(512, parsedArgs.EmitOptions.FileAlignment) 4828Assert.Equal(1024, parsedArgs.EmitOptions.FileAlignment) 4830Assert.Equal(2048, parsedArgs.EmitOptions.FileAlignment) 4832Assert.Equal(4096, parsedArgs.EmitOptions.FileAlignment) 4834Assert.Equal(8192, parsedArgs.EmitOptions.FileAlignment) 4838Assert.Equal(0, parsedArgs.EmitOptions.FileAlignment) 4892Assert.Equal(CType(0, ULong), parsedArgs.EmitOptions.BaseAddress) 4894Assert.Equal(CType(&H1024, ULong), parsedArgs.EmitOptions.BaseAddress) 4896Assert.Equal(CType(&H2048, ULong), parsedArgs.EmitOptions.BaseAddress) 4898Assert.Equal(CType(&H4096, ULong), parsedArgs.EmitOptions.BaseAddress) 4900Assert.Equal(CType(&H8192, ULong), parsedArgs.EmitOptions.BaseAddress) 4904Assert.Equal(CType(&H200, ULong), parsedArgs.EmitOptions.BaseAddress) 4906Assert.Equal(CType(&H400, ULong), parsedArgs.EmitOptions.BaseAddress) 4908Assert.Equal(CType(&H800, ULong), parsedArgs.EmitOptions.BaseAddress) 4910Assert.Equal(CType(&H1000, ULong), parsedArgs.EmitOptions.BaseAddress) 4912Assert.Equal(ULong.MaxValue, parsedArgs.EmitOptions.BaseAddress) 4914Assert.Equal(ULong.MaxValue, parsedArgs.EmitOptions.BaseAddress) 4918Assert.Equal(CType(0, ULong), parsedArgs.EmitOptions.BaseAddress) 4920Assert.Equal(CType(&H1024, ULong), parsedArgs.EmitOptions.BaseAddress) 4922Assert.Equal(CType(&H2048, ULong), parsedArgs.EmitOptions.BaseAddress) 4924Assert.Equal(CType(&H4096, ULong), parsedArgs.EmitOptions.BaseAddress) 4926Assert.Equal(CType(&H8192, ULong), parsedArgs.EmitOptions.BaseAddress) 4930Assert.Equal(CType(0, ULong), parsedArgs.EmitOptions.BaseAddress) 5393Assert.True(parsedArgs.EmitOptions.HighEntropyVirtualAddressSpace) 5395Assert.True(parsedArgs.EmitOptions.HighEntropyVirtualAddressSpace) 5397Assert.False(parsedArgs.EmitOptions.HighEntropyVirtualAddressSpace) 5399Assert.False(parsedArgs.EmitOptions.HighEntropyVirtualAddressSpace) 5402Assert.False(parsedArgs.EmitOptions.HighEntropyVirtualAddressSpace) 5405Assert.False(parsedArgs.EmitOptions.HighEntropyVirtualAddressSpace)