4 implementations of Exists
dotnet.Tests (2)
CommandTests\MSBuild\DotnetMsbuildInProcTests.cs (1)
86public bool Exists() => _exists();
ConfigurerTests\GivenADotnetFirstTimeUseConfigurerWIthStateSetup.cs (1)
281public bool Exists()
Microsoft.DotNet.Configurer (2)
FirstTimeUseNoticeSentinel.cs (1)
31public bool Exists()
NoOpFirstTimeUseNoticeSentinel.cs (1)
8public bool Exists()
7 references to Exists
dotnet (2)
Program.cs (1)
394var isFirstTimeUse = !firstTimeUseNoticeSentinel.Exists() && !skipFirstTimeUseCheck;
Telemetry\Telemetry.cs (1)
87return 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)
54var isFirstTimeUse = !_skipFirstTimeUseCheck && !_firstTimeUseNoticeSentinel.Exists();