57 references to AnyCpu
Microsoft.CodeAnalysis (3)
Compilation\Compilation.cs (2)
2209platform = Platform.AnyCpu; 2298case Platform.AnyCpu:
Compilation\Platform.cs (1)
49return value >= Platform.AnyCpu && value <= Platform.Arm64;
Microsoft.CodeAnalysis.CSharp (4)
CommandLine\CSharpCommandLineParser.cs (3)
94Platform platform = Platform.AnyCpu; 1811return Platform.AnyCpu; 1822return Platform.AnyCpu;
CSharpCompilationOptions.cs (1)
62Platform platform = Platform.AnyCpu,
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (5)
CommandLineTests.cs (5)
4533Assert.Equal(Platform.AnyCpu, parsedArgs.CompilationOptions.Platform); 4541Assert.Equal(Platform.AnyCpu, parsedArgs.CompilationOptions.Platform); 4555Assert.Equal(Platform.AnyCpu, parsedArgs.CompilationOptions.Platform); //anycpu is default 4561Assert.Equal(Platform.AnyCpu, parsedArgs.CompilationOptions.Platform); //anycpu is default 12470Tuple.Create("anycpu", Platform.AnyCpu),
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (14)
Emit\CompilationEmitTests.cs (10)
3485var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.AnyCpu)); 3647options: TestOptions.ReleaseExe.WithPlatform(Platform.AnyCpu)); 4692parseOptions: parseOptions, options: TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu)); 4698parseOptions: parseOptions, options: TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu)); 4704parseOptions: parseOptions, options: TestOptions.ReleaseModule.WithPlatform(Platform.AnyCpu)); 4710parseOptions: parseOptions, options: TestOptions.ReleaseModule.WithPlatform(Platform.AnyCpu)); 4776parseOptions: parseOptions, options: TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu)); 4792parseOptions: parseOptions, options: TestOptions.ReleaseModule.WithPlatform(Platform.AnyCpu)); 4895var refCompilation = CreateEmptyCompilation(refSource, parseOptions: parseOptions, options: TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu), assemblyName: "PlatformMismatch"); 4943var refCompilation = CreateEmptyCompilation(refSource, parseOptions: parseOptions, options: TestOptions.ReleaseModule.WithPlatform(Platform.AnyCpu), assemblyName: "PlatformMismatch");
Emit\DeterministicTests.cs (3)
29private Guid CompiledGuid(string source, string assemblyName, bool debug, Platform platform = Platform.AnyCpu) 34private Guid CompiledGuid(string source, string assemblyName, CSharpCompilationOptions options, EmitOptions emitOptions = null, Platform platform = Platform.AnyCpu) 477.WithPlatform(Platform.AnyCpu)
Emit\EmitMetadataTests.cs (1)
2212VerifyEmitWithNoResources(comp, Platform.AnyCpu);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
PDB\CSharpDeterministicBuildCompilationTests.cs (1)
320platform: Platform.AnyCpu,
Microsoft.CodeAnalysis.CSharp.Scripting (1)
CSharpScriptCompiler.cs (1)
64platform: Platform.AnyCpu,
Microsoft.CodeAnalysis.Rebuild (1)
CompilationFactory.cs (1)
210? Platform.AnyCpu
Microsoft.CodeAnalysis.VisualBasic (5)
CommandLine\VisualBasicCommandLineParser.vb (3)
141Dim platform As Platform = Platform.AnyCpu 2159Return Platform.AnyCpu 2171Return Platform.AnyCpu
VisualBasicCompilationOptions.vb (2)
87Optional platform As Platform = Platform.AnyCpu, 1294Optional platform As Platform = Platform.AnyCpu,
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (12)
Emit\CompilationEmitTests.vb (10)
2114Dim compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithPlatform(Platform.AnyCpu)) 2139compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithPlatform(Platform.AnyCpu)) 2200compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithPlatform(Platform.AnyCpu)) 3877TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu)) 3883TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu)) 3889TestOptions.ReleaseModule.WithPlatform(Platform.AnyCpu)) 3895TestOptions.ReleaseModule.WithPlatform(Platform.AnyCpu)) 3968TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu)) 4099Dim refCompilation = CreateEmptyCompilationWithReferences(refSource, New MetadataReference() {}, TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu)) 4157Dim refCompilation = CreateEmptyCompilationWithReferences(refSource, New MetadataReference() {}, TestOptions.ReleaseModule.WithPlatform(Platform.AnyCpu))
Emit\EmitMetadata.vb (1)
964VerifyEmitWithNoResources(comp.WithAssemblyName("EmitWithNoResourcesAllPlatforms_AnyCpu"), Platform.AnyCpu)
PDB\VisualBasicDeterministicBuildCompilationTests.vb (1)
208platform:=Platform.AnyCpu,
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (1)
CompilationExtensions.vb (1)
116platform:=Platform.AnyCpu, ' Platform should match PEModule.Machine, in this case I386.
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (8)
VisualStudioMSBuildWorkspaceTests.cs (8)
492Assert.Equal(Platform.AnyCpu, compilation.Options.Platform); 507Assert.Equal(Platform.AnyCpu, compilation.Options.Platform); 536Assert.Equal(Platform.AnyCpu, compilation.Options.Platform); 551Assert.Equal(Platform.AnyCpu, compilation.Options.Platform); 616Assert.Equal(Platform.AnyCpu, compilation.Options.Platform); 631Assert.Equal(Platform.AnyCpu, compilation.Options.Platform); 660Assert.Equal(Platform.AnyCpu, compilation.Options.Platform); 675Assert.Equal(Platform.AnyCpu, compilation.Options.Platform);
Microsoft.VisualStudio.LanguageServices.CSharp (1)
ProjectSystemShim\CSharpProjectShim.OptionsProcessor.cs (1)
128platform = Platform.AnyCpu;
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
ProjectSystemShim\VisualBasicProject.OptionsProcessor.vb (1)
61platform = Platform.AnyCpu