1 instantiation of LazyRemoteService
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHost.cs (1)
189
return new
LazyRemoteService
(this, options, Interlocked.Increment(ref _remoteServiceInstanceId), skipInitialization);
7 references to LazyRemoteService
Microsoft.CodeAnalysis.InteractiveHost (7)
Interactive\Core\InteractiveHost.cs (7)
53
private
LazyRemoteService
? _lazyRemoteService;
187
private
LazyRemoteService
CreateRemoteService(InteractiveHostOptions options, bool skipInitialization)
220
LazyRemoteService
? currentRemoteService = _lazyRemoteService;
237
var
newService = CreateRemoteService(currentRemoteService.Options, skipInitialization: !initializedService.InitializationResult.Success);
239
var
previousService = Interlocked.CompareExchange(ref _lazyRemoteService, newService, currentRemoteService);
335
var
newService = CreateRemoteService(options, skipInitialization: false);
337
var
oldService = Interlocked.Exchange(ref _lazyRemoteService, newService);