57 references to AnyCpu
Microsoft.CodeAnalysis (3)
Compilation\Compilation.cs (2)
2211platform = Platform.AnyCpu; 2300case 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)
4536Assert.Equal(Platform.AnyCpu, parsedArgs.CompilationOptions.Platform); 4544Assert.Equal(Platform.AnyCpu, parsedArgs.CompilationOptions.Platform); 4558Assert.Equal(Platform.AnyCpu, parsedArgs.CompilationOptions.Platform); //anycpu is default 4564Assert.Equal(Platform.AnyCpu, parsedArgs.CompilationOptions.Platform); //anycpu is default 12473Tuple.Create("anycpu", Platform.AnyCpu),
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (14)
Emit\CompilationEmitTests.cs (10)
3486var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.AnyCpu)); 3648options: TestOptions.ReleaseExe.WithPlatform(Platform.AnyCpu)); 4693parseOptions: parseOptions, options: TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu)); 4699parseOptions: parseOptions, options: TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu)); 4705parseOptions: parseOptions, options: TestOptions.ReleaseModule.WithPlatform(Platform.AnyCpu)); 4711parseOptions: parseOptions, options: TestOptions.ReleaseModule.WithPlatform(Platform.AnyCpu)); 4777parseOptions: parseOptions, options: TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu)); 4793parseOptions: parseOptions, options: TestOptions.ReleaseModule.WithPlatform(Platform.AnyCpu)); 4896var refCompilation = CreateEmptyCompilation(refSource, parseOptions: parseOptions, options: TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu), assemblyName: "PlatformMismatch"); 4944var 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)
2213VerifyEmitWithNoResources(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)
142Dim platform As Platform = Platform.AnyCpu 2160Return Platform.AnyCpu 2172Return 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)
2115Dim compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithPlatform(Platform.AnyCpu)) 2140compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithPlatform(Platform.AnyCpu)) 2201compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithPlatform(Platform.AnyCpu)) 3878TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu)) 3884TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu)) 3890TestOptions.ReleaseModule.WithPlatform(Platform.AnyCpu)) 3896TestOptions.ReleaseModule.WithPlatform(Platform.AnyCpu)) 3969TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu)) 4100Dim refCompilation = CreateEmptyCompilationWithReferences(refSource, New MetadataReference() {}, TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu)) 4158Dim refCompilation = CreateEmptyCompilationWithReferences(refSource, New MetadataReference() {}, TestOptions.ReleaseModule.WithPlatform(Platform.AnyCpu))
Emit\EmitMetadata.vb (1)
966VerifyEmitWithNoResources(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)
498Assert.Equal(Platform.AnyCpu, compilation.Options.Platform); 513Assert.Equal(Platform.AnyCpu, compilation.Options.Platform); 542Assert.Equal(Platform.AnyCpu, compilation.Options.Platform); 557Assert.Equal(Platform.AnyCpu, compilation.Options.Platform); 622Assert.Equal(Platform.AnyCpu, compilation.Options.Platform); 637Assert.Equal(Platform.AnyCpu, compilation.Options.Platform); 666Assert.Equal(Platform.AnyCpu, compilation.Options.Platform); 681Assert.Equal(Platform.AnyCpu, compilation.Options.Platform);
Microsoft.VisualStudio.LanguageServices.CSharp (1)
ProjectSystemShim\CSharpProjectShim.OptionsProcessor.cs (1)
129platform = Platform.AnyCpu;
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
ProjectSystemShim\VisualBasicProject.OptionsProcessor.vb (1)
61platform = Platform.AnyCpu