49 references to InteractiveHostPlatform
InteractiveHost.UnitTests (13)
AbstractInteractiveHostTests.cs (2)
72internal abstract InteractiveHostPlatform DefaultPlatform { get; } 159await Host.ResetAsync(InteractiveHostOptions.CreateFromDirectory(TestUtils.HostRootPath, initializationFileName: null, CultureInfo.InvariantCulture, InteractiveHostPlatform.Desktop64));
InteractiveHostCoreInitTests.cs (2)
21internal override InteractiveHostPlatform DefaultPlatform => InteractiveHostPlatform.Core;
InteractiveHostCoreTests.cs (2)
27internal override InteractiveHostPlatform DefaultPlatform => InteractiveHostPlatform.Core;
InteractiveHostDesktopInitTests.cs (2)
22internal override InteractiveHostPlatform DefaultPlatform => InteractiveHostPlatform.Desktop32;
InteractiveHostDesktopTests.cs (4)
27internal override InteractiveHostPlatform DefaultPlatform => InteractiveHostPlatform.Desktop64; 1004await Host.ResetAsync(InteractiveHostOptions.CreateFromDirectory(TestUtils.HostRootPath, initializationFileName: null, CultureInfo.InvariantCulture, InteractiveHostPlatform.Desktop32)); 1012var result = await Host.ResetAsync(InteractiveHostOptions.CreateFromDirectory(TestUtils.HostRootPath, initializationFileName: null, CultureInfo.InvariantCulture, InteractiveHostPlatform.Core));
StressTests.cs (1)
32var options = InteractiveHostOptions.CreateFromDirectory(TestUtils.HostRootPath, initializationFileName: null, CultureInfo.InvariantCulture, InteractiveHostPlatform.Desktop64);
Microsoft.CodeAnalysis.EditorFeatures (1)
Interactive\InteractiveSession.cs (1)
359public InteractiveHostOptions GetHostOptions(bool initialize, InteractiveHostPlatform? platform)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (14)
Interactive\InteractiveEvaluator.cs (2)
63= new InteractiveEvaluatorResetOptions(InteractiveHostPlatform.Desktop64); 150public event Action<InteractiveHostPlatform>? OnBeforeReset;
Interactive\InteractiveEvaluatorResetOptions.cs (2)
12public readonly InteractiveHostPlatform? Platform; 14public InteractiveEvaluatorResetOptions(InteractiveHostPlatform? platform)
Interactive\InteractiveWindowResetCommand.cs (8)
116internal static bool TryParseArguments(string arguments, out bool initialize, out InteractiveHostPlatform? platform) 133platform = InteractiveHostPlatform.Desktop32; 142platform = InteractiveHostPlatform.Desktop64; 151platform = InteractiveHostPlatform.Core; 172internal static string GetCommandLine(bool initialize, InteractiveHostPlatform? platform) 176InteractiveHostPlatform.Core => " " + PlatformCore, 177InteractiveHostPlatform.Desktop64 => " " + PlatformDesktop64, 178InteractiveHostPlatform.Desktop32 => " " + PlatformDesktop32,
Interactive\ResetInteractive.cs (2)
84InteractiveHostPlatform? platform, 140out InteractiveHostPlatform? platform);
Microsoft.CodeAnalysis.InteractiveHost (8)
Interactive\Core\InteractiveHost.cs (2)
28internal const InteractiveHostPlatform DefaultPlatform = InteractiveHostPlatform.Desktop32;
Interactive\Core\InteractiveHost.RemoteService.cs (1)
124var transcodingMarker = Options.Platform == InteractiveHostPlatform.Core ?
Interactive\Core\InteractiveHostOptions.cs (5)
34public InteractiveHostPlatform Platform { get; } 40InteractiveHostPlatform platform) 54InteractiveHostPlatform platform) 56var hostSubdirectory = (platform == InteractiveHostPlatform.Core) ? "Core" : "Desktop"; 57var hostExecutableFileName = "InteractiveHost" + (platform == InteractiveHostPlatform.Desktop32 ? "32" : "64") + ".exe";
Microsoft.VisualStudio.LanguageServices (9)
Interactive\VsInteractiveWindowProvider.cs (3)
103InteractiveHostPlatform.Desktop64 => " (.NET Framework " + ServicesVSResources.Bitness64 + ")", 104InteractiveHostPlatform.Desktop32 => " (.NET Framework " + ServicesVSResources.Bitness32 + ")", 105InteractiveHostPlatform.Core => " (.NET Core)",
Interactive\VsResetInteractive.cs (6)
67out InteractiveHostPlatform? platform) 105out InteractiveHostPlatform? platform) 168private static InteractiveHostPlatform? GetInteractiveHostPlatform(string targetFrameworkMoniker, Platform platform) 173return InteractiveHostPlatform.Core; 181return InteractiveHostPlatform.Desktop32; 186return InteractiveHostPlatform.Desktop64;
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (4)
Interactive\Commands\ResetInteractiveTests.cs (2)
103Platform = InteractiveHostPlatform.Desktop64, 114Assert.Equal(InteractiveHostPlatform.Desktop64, testHost.Evaluator.ResetOptions.Platform);
Interactive\Commands\TestResetInteractive.cs (2)
44internal InteractiveHostPlatform? Platform { get; set; } 77out InteractiveHostPlatform? platform)