3 writes to _currentlyRunningInstance
Microsoft.VisualStudio.IntegrationTest.Utilities (3)
VisualStudioInstanceFactory.cs (3)
142
_currentlyRunningInstance
= null;
205
_currentlyRunningInstance
= new VisualStudioInstance(hostProcess, dte, supportedPackageIds, installationPath, isUsingLspEditor);
436
_currentlyRunningInstance
= null;
13 references to _currentlyRunningInstance
Microsoft.VisualStudio.IntegrationTest.Utilities (13)
VisualStudioInstanceFactory.cs (13)
125
Contract.ThrowIfNull(
_currentlyRunningInstance
);
127
return new VisualStudioInstanceContext(
_currentlyRunningInstance
, this);
141
_currentlyRunningInstance
?.Close();
153
return
_currentlyRunningInstance
== null
154
|| (!requiredPackageIds.All(id =>
_currentlyRunningInstance
.SupportedPackageIds.Contains(id)))
155
|| !
_currentlyRunningInstance
.IsRunning;
173
_currentlyRunningInstance
?.Close();
195
Contract.ThrowIfNull(
_currentlyRunningInstance
);
197
hostProcess =
_currentlyRunningInstance
.HostProcess;
199
supportedPackageIds =
_currentlyRunningInstance
.SupportedPackageIds;
200
installationPath =
_currentlyRunningInstance
.InstallationPath;
202
_currentlyRunningInstance
.Close(exitHostProcess: false);
435
_currentlyRunningInstance
?.Close();