35 references to InteractiveHostPlatform
Microsoft.CodeAnalysis.EditorFeatures (15)
Interactive\InteractiveEvaluator.cs (2)
60= new InteractiveEvaluatorResetOptions(InteractiveHostPlatform.Core); 144public event Action<InteractiveHostPlatform>? OnBeforeReset;
Interactive\InteractiveEvaluatorResetOptions.cs (2)
12public readonly InteractiveHostPlatform? Platform; 14public InteractiveEvaluatorResetOptions(InteractiveHostPlatform? platform)
Interactive\InteractiveSession.cs (1)
377public InteractiveHostOptions GetHostOptions(bool initialize, InteractiveHostPlatform? platform)
Interactive\InteractiveWindowResetCommand.cs (8)
115internal static bool TryParseArguments(string arguments, out bool initialize, out InteractiveHostPlatform? platform) 132platform = InteractiveHostPlatform.Desktop32; 141platform = InteractiveHostPlatform.Desktop64; 150platform = InteractiveHostPlatform.Core; 171internal static string GetCommandLine(bool initialize, InteractiveHostPlatform? platform) 175InteractiveHostPlatform.Core => " " + PlatformCore, 176InteractiveHostPlatform.Desktop64 => " " + PlatformDesktop64, 177InteractiveHostPlatform.Desktop32 => " " + PlatformDesktop32,
Interactive\ResetInteractive.cs (2)
82InteractiveHostPlatform? platform, 138out InteractiveHostPlatform? platform);
Microsoft.CodeAnalysis.InteractiveHost (8)
Interactive\Core\InteractiveHost.cs (2)
26internal const InteractiveHostPlatform DefaultPlatform = InteractiveHostPlatform.Core;
Interactive\Core\InteractiveHost.RemoteService.cs (1)
123var transcodingMarker = Options.Platform == InteractiveHostPlatform.Core ?
Interactive\Core\InteractiveHostOptions.cs (5)
38public InteractiveHostPlatform Platform { get; } 45InteractiveHostPlatform platform) 61InteractiveHostPlatform platform) 63var hostSubdirectory = (platform == InteractiveHostPlatform.Core) ? "Core" : "Desktop"; 64var hostExecutableFileName = "InteractiveHost" + (platform == InteractiveHostPlatform.Desktop32 ? "32" : "64") + ".exe";
Microsoft.VisualStudio.LanguageServices (10)
Interactive\VsInteractiveWindowProvider.cs (4)
112static string GetFrameworkForTitle(InteractiveHostPlatform platform) => platform switch 114InteractiveHostPlatform.Desktop64 => " (.NET Framework " + ServicesVSResources.Bitness64 + ")", 115InteractiveHostPlatform.Desktop32 => " (.NET Framework " + ServicesVSResources.Bitness32 + ")", 116InteractiveHostPlatform.Core => " (.NET Core)",
Interactive\VsResetInteractive.cs (6)
65out InteractiveHostPlatform? platform) 103out InteractiveHostPlatform? platform) 166private static InteractiveHostPlatform? GetInteractiveHostPlatform(string targetFrameworkMoniker, Platform platform) 171return InteractiveHostPlatform.Core; 179return InteractiveHostPlatform.Desktop32; 184return InteractiveHostPlatform.Desktop64;
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (2)
Interactive\Commands\TestResetInteractive.cs (2)
40internal InteractiveHostPlatform? Platform { get; set; } 73out InteractiveHostPlatform? platform)