2 writes to SubsystemVersion
Microsoft.CodeAnalysis (2)
Emit\EmitOptions.cs (2)
241SubsystemVersion = subsystemVersion; 491return new EmitOptions(this) { SubsystemVersion = subsystemVersion };
19 references to SubsystemVersion
Microsoft.CodeAnalysis (12)
Compilation\Compilation.cs (3)
2266if (emitOptions.SubsystemVersion.Equals(SubsystemVersion.None) || !emitOptions.SubsystemVersion.IsValid) 2272subsystemVersion = emitOptions.SubsystemVersion;
Compilation\DeterministicKeyBuilder.cs (1)
409writeSubsystemVersion(writer, options.SubsystemVersion);
Emit\EmitOptions.cs (8)
259other.SubsystemVersion, 290SubsystemVersion.Equals(other.SubsystemVersion) && 309Hash.Combine(SubsystemVersion.GetHashCode(), 362if (!SubsystemVersion.Equals(SubsystemVersion.None) && !SubsystemVersion.IsValid) 364diagnostics.Add(messageProvider.CreateDiagnostic(messageProvider.ERR_InvalidSubsystemVersion, Location.None, SubsystemVersion.ToString())); 486if (subsystemVersion.Equals(SubsystemVersion))
Microsoft.CodeAnalysis.UnitTests (2)
Emit\EmitOptionsTests.cs (2)
57TestProperty((old, value) => old.WithSubsystemVersion(value), opt => opt.SubsystemVersion, SubsystemVersion.Windows2000); 82nameof(EmitOptions.SubsystemVersion),
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (5)
CommandLineTests.vb (5)
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)