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