62 references to AnyCpu
Microsoft.CodeAnalysis (3)
Compilation\Compilation.cs (2)
2157platform = Platform.AnyCpu; 2246case 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; 1795return Platform.AnyCpu; 1804return Platform.AnyCpu;
CSharpCompilationOptions.cs (1)
62Platform platform = Platform.AnyCpu,
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (5)
CommandLineTests.cs (5)
4341Assert.Equal(Platform.AnyCpu, parsedArgs.CompilationOptions.Platform); 4349Assert.Equal(Platform.AnyCpu, parsedArgs.CompilationOptions.Platform); 4363Assert.Equal(Platform.AnyCpu, parsedArgs.CompilationOptions.Platform); //anycpu is default 4369Assert.Equal(Platform.AnyCpu, parsedArgs.CompilationOptions.Platform); //anycpu is default 12141Tuple.Create("anycpu", Platform.AnyCpu),
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (15)
Emit\CompilationEmitTests.cs (10)
3485var compilation = CreateCompilation(source, options: TestOptions.ReleaseExe.WithPlatform(Platform.AnyCpu)); 3647options: TestOptions.ReleaseExe.WithPlatform(Platform.AnyCpu)); 4687parseOptions: parseOptions, options: TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu)); 4693parseOptions: parseOptions, options: TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu)); 4699parseOptions: parseOptions, options: TestOptions.ReleaseModule.WithPlatform(Platform.AnyCpu)); 4705parseOptions: parseOptions, options: TestOptions.ReleaseModule.WithPlatform(Platform.AnyCpu)); 4771parseOptions: parseOptions, options: TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu)); 4787parseOptions: parseOptions, options: TestOptions.ReleaseModule.WithPlatform(Platform.AnyCpu)); 4890var refCompilation = CreateEmptyCompilation(refSource, parseOptions: parseOptions, options: TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu), assemblyName: "PlatformMismatch"); 4938var 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)
2211VerifyEmitWithNoResources(comp, Platform.AnyCpu);
PDB\CSharpDeterministicBuildCompilationTests.cs (1)
320platform: Platform.AnyCpu,
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (1)
CompilationExtensions.cs (1)
146platform: Platform.AnyCpu, // Platform should match PEModule.Machine, in this case I386.
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 2139Return Platform.AnyCpu 2151Return Platform.AnyCpu
VisualBasicCompilationOptions.vb (2)
87Optional platform As Platform = Platform.AnyCpu, 1294Optional platform As Platform = Platform.AnyCpu,
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (3)
CommandLineTests.vb (3)
4747Assert.Equal(CodeAnalysis.Platform.AnyCpu, parsedArgs.CompilationOptions.Platform) 4764Assert.Equal(CodeAnalysis.Platform.AnyCpu, parsedArgs.CompilationOptions.Platform) 4781Assert.Equal(CodeAnalysis.Platform.AnyCpu, parsedArgs.CompilationOptions.Platform)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (12)
Emit\CompilationEmitTests.vb (10)
2113Dim compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithPlatform(Platform.AnyCpu)) 2138compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithPlatform(Platform.AnyCpu)) 2199compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).WithPlatform(Platform.AnyCpu)) 3876TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu)) 3882TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu)) 3888TestOptions.ReleaseModule.WithPlatform(Platform.AnyCpu)) 3894TestOptions.ReleaseModule.WithPlatform(Platform.AnyCpu)) 3967TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu)) 4098Dim refCompilation = CreateEmptyCompilationWithReferences(refSource, New MetadataReference() {}, TestOptions.ReleaseDll.WithPlatform(Platform.AnyCpu)) 4156Dim 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.ExpressionEvaluator.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)
477Assert.Equal(Platform.AnyCpu, compilation.Options.Platform); 492Assert.Equal(Platform.AnyCpu, compilation.Options.Platform); 521Assert.Equal(Platform.AnyCpu, compilation.Options.Platform); 536Assert.Equal(Platform.AnyCpu, compilation.Options.Platform); 601Assert.Equal(Platform.AnyCpu, compilation.Options.Platform); 616Assert.Equal(Platform.AnyCpu, compilation.Options.Platform); 645Assert.Equal(Platform.AnyCpu, compilation.Options.Platform); 660Assert.Equal(Platform.AnyCpu, compilation.Options.Platform);
Microsoft.VisualStudio.LanguageServices.CSharp (1)
ProjectSystemShim\CSharpProjectShim.OptionsProcessor.cs (1)
129platform = Platform.AnyCpu;
Microsoft.VisualStudio.LanguageServices.Implementation (1)
ProjectSystem\CPS\TempPECompiler.cs (1)
70.WithPlatform(Platform.AnyCpu)
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
ProjectSystemShim\VisualBasicProject.OptionsProcessor.vb (1)
61platform = Platform.AnyCpu