1 write to CurrentSession
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
src\VisualStudio\Core\Def\Telemetry\AbstractWorkspaceTelemetryService.cs (1)
28
CurrentSession
= telemetrySession;
6 references to CurrentSession
Microsoft.CodeAnalysis.Remote.ServiceHub (6)
src\VisualStudio\Core\Def\Telemetry\AbstractWorkspaceTelemetryService.cs (6)
23
Contract.ThrowIfFalse(
CurrentSession
is null);
37
[MemberNotNullWhen(true, nameof(
CurrentSession
))]
39
=>
CurrentSession
!= null &&
CurrentSession
.IsOptedIn;
42
=> HasActiveSession &&
CurrentSession
.IsUserMicrosoftInternal;
45
=>
CurrentSession
?.SerializeSettings();