27 references to AnyCpu32BitPreferred
Microsoft.CodeAnalysis (2)
Compilation\Compilation.cs (2)
2291case Platform.AnyCpu32BitPreferred: 2301corFlags: GetCorHeaderFlags(machine, HasStrongName, prefers32Bit: platform == Platform.AnyCpu32BitPreferred),
Microsoft.CodeAnalysis.CSharp (2)
CommandLine\CSharpCommandLineParser.cs (1)
1813return Platform.AnyCpu32BitPreferred;
CSharpCompilationOptions.cs (1)
715if (Platform == Platform.AnyCpu32BitPreferred && OutputKind.IsValid() && !(OutputKind == OutputKind.ConsoleApplication || OutputKind == OutputKind.WindowsApplication || OutputKind == OutputKind.WindowsRuntimeApplication))
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
CommandLineTests.cs (2)
4544Assert.Equal(Platform.AnyCpu32BitPreferred, parsedArgs.CompilationOptions.Platform); 12441Tuple.Create("anycpu32bitpreferred",Platform.AnyCpu32BitPreferred),
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (6)
Emit\CompilationEmitTests.cs (1)
3499compilation = CreateCompilation(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.AnyCpu32BitPreferred));
Emit\DeterministicTests.cs (4)
218var result1 = EmitDeterministic(CompareAllBytesEmitted_Source, Platform.AnyCpu32BitPreferred, pdbFormat, optimize: true); 219var result2 = EmitDeterministic(CompareAllBytesEmitted_Source, Platform.AnyCpu32BitPreferred, pdbFormat, optimize: true); 245var result1 = EmitDeterministic(CompareAllBytesEmitted_Source, Platform.AnyCpu32BitPreferred, pdbFormat, optimize: false); 246var result2 = EmitDeterministic(CompareAllBytesEmitted_Source, Platform.AnyCpu32BitPreferred, pdbFormat, optimize: false);
Emit\EmitMetadataTests.cs (1)
2213VerifyEmitWithNoResources(comp, Platform.AnyCpu32BitPreferred);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Compilation\CSharpCompilationOptionsTests.cs (4)
345new CSharpCompilationOptions(OutputKind.ConsoleApplication, platform: Platform.AnyCpu32BitPreferred).VerifyErrors(); 347new CSharpCompilationOptions(OutputKind.WindowsRuntimeApplication, platform: Platform.AnyCpu32BitPreferred).VerifyErrors(); 349new CSharpCompilationOptions(OutputKind.WindowsRuntimeMetadata, platform: Platform.AnyCpu32BitPreferred).VerifyErrors( 352new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary, platform: Platform.AnyCpu32BitPreferred).VerifyErrors(
Microsoft.CodeAnalysis.VisualBasic (2)
CommandLine\VisualBasicCommandLineParser.vb (1)
2161Return Platform.AnyCpu32BitPreferred
VisualBasicCompilationOptions.vb (1)
1066If Platform = Platform.AnyCpu32BitPreferred AndAlso OutputKind.IsValid() AndAlso
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (6)
Emit\CompilationEmitTests.vb (1)
2095compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithPlatform(Platform.AnyCpu32BitPreferred))
Emit\DeterministicTests.vb (4)
61Dim result1 = GetBytesEmitted(source, platform:=Platform.AnyCpu32BitPreferred, debug:=False) 62Dim result2 = GetBytesEmitted(source, platform:=Platform.AnyCpu32BitPreferred, debug:=False) 83Dim result1 = GetBytesEmitted(source, platform:=Platform.AnyCpu32BitPreferred, debug:=True) 84Dim result2 = GetBytesEmitted(source, platform:=Platform.AnyCpu32BitPreferred, debug:=True)
Emit\EmitMetadata.vb (1)
965VerifyEmitWithNoResources(comp.WithAssemblyName("EmitWithNoResourcesAllPlatforms_AnyCpu32BitPreferred"), Platform.AnyCpu32BitPreferred)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
VisualStudioMSBuildWorkspaceTests.cs (2)
521Assert.Equal(Platform.AnyCpu32BitPreferred, compilation.Options.Platform); 645Assert.Equal(Platform.AnyCpu32BitPreferred, compilation.Options.Platform);
Microsoft.VisualStudio.LanguageServices (1)
Interactive\VsResetInteractive.cs (1)
178case Platform.AnyCpu32BitPreferred: