1 instantiation of LazyRemoteService
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHost.cs (1)
190
return new
LazyRemoteService
(this, options, Interlocked.Increment(ref _remoteServiceInstanceId), skipInitialization);
7 references to LazyRemoteService
Microsoft.CodeAnalysis.InteractiveHost (7)
Interactive\Core\InteractiveHost.cs (7)
54
private
LazyRemoteService
? _lazyRemoteService;
188
private
LazyRemoteService
CreateRemoteService(InteractiveHostOptions options, bool skipInitialization)
221
LazyRemoteService
? currentRemoteService = _lazyRemoteService;
238
var
newService = CreateRemoteService(currentRemoteService.Options, skipInitialization: !initializedService.InitializationResult.Success);
240
var
previousService = Interlocked.CompareExchange(ref _lazyRemoteService, newService, currentRemoteService);
336
var
newService = CreateRemoteService(options, skipInitialization: false);
338
var
oldService = Interlocked.Exchange(ref _lazyRemoteService, newService);