1 write to CurrentSession
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
src\VisualStudio\Core\Def\Telemetry\AbstractWorkspaceTelemetryService.cs (1)
29
CurrentSession
= telemetrySession;
6 references to CurrentSession
Microsoft.CodeAnalysis.Remote.ServiceHub (6)
src\VisualStudio\Core\Def\Telemetry\AbstractWorkspaceTelemetryService.cs (6)
24
Contract.ThrowIfFalse(
CurrentSession
is null);
38
[MemberNotNullWhen(true, nameof(
CurrentSession
))]
40
=>
CurrentSession
!= null &&
CurrentSession
.IsOptedIn;
43
=> HasActiveSession &&
CurrentSession
.IsUserMicrosoftInternal;
46
=>
CurrentSession
?.SerializeSettings();