4 implementations of Exists
dotnet.Tests (2)
CommandTests\MSBuild\DotnetMsbuildInProcTests.cs (1)
86
public bool
Exists
() => _exists();
ConfigurerTests\GivenADotnetFirstTimeUseConfigurerWIthStateSetup.cs (1)
281
public bool
Exists
()
Microsoft.DotNet.Configurer (2)
FirstTimeUseNoticeSentinel.cs (1)
31
public bool
Exists
()
NoOpFirstTimeUseNoticeSentinel.cs (1)
8
public bool
Exists
()
7 references to Exists
dotnet (2)
Program.cs (1)
394
var isFirstTimeUse = !firstTimeUseNoticeSentinel.
Exists
() && !skipFirstTimeUseCheck;
Telemetry\Telemetry.cs (1)
87
return sentinel.
Exists
();
dotnet.Tests (4)
ConfigurerTests\GivenADotnetFirstTimeUseConfigurer.cs (4)
31
_firstTimeUseNoticeSentinelMock.Setup(n => n.
Exists
()).Returns(true);
58
_firstTimeUseNoticeSentinelMock.Setup(n => n.
Exists
()).Returns(false);
267
_firstTimeUseNoticeSentinelMock.Setup(n => n.
Exists
()).Returns(false);
307
_firstTimeUseNoticeSentinelMock.Setup(n => n.
Exists
()).Returns(true);
Microsoft.DotNet.Configurer (1)
DotnetFirstTimeUseConfigurer.cs (1)
54
var isFirstTimeUse = !_skipFirstTimeUseCheck && !_firstTimeUseNoticeSentinel.
Exists
();