14 references to Add
Microsoft.CodeAnalysis (3)
SourceGeneration\GeneratorDriver.cs (1)
320using var generatorTimer = CodeAnalysisEventSource.Log.CreateSingleGeneratorRunTimer(state.Generators[i], (t) => t.Add(syntaxStoreBuilder.GetRuntimeAdjustment(stateBuilder[i].InputNodes)));
SourceGeneration\SyntaxStore.cs (2)
110_syntaxTimes[currentNode] = _syntaxTimes[currentNode].Add(elapsed); 166result = result.Add(adjustment);
Microsoft.Extensions.Caching.SqlServer.Tests (1)
SqlServerCacheWithDatabaseTest.cs (1)
168cacheOptions.DefaultSlidingExpiration = cacheOptions.DefaultSlidingExpiration.Add(TimeSpan.FromMinutes(10));
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (6)
CalculatorTests.cs (6)
31TimeSpan secondSnapshotTimeSpan = _firstSnapshot.TotalTimeSinceStart.Add(TimeSpan.FromSeconds(5)); 66TimeSpan secondSnapshotTimeSpan = _firstSnapshot.TotalTimeSinceStart.Add(TimeSpan.FromSeconds(5)); 95totalTimeSinceStart: _firstSnapshot.TotalTimeSinceStart.Add(TimeSpan.FromSeconds(5)), 127totalTimeSinceStart: firstSnapshot.TotalTimeSinceStart.Add(TimeSpan.FromSeconds(5)), 144TimeSpan secondSnapshotTimeSpan = _firstSnapshot.TotalTimeSinceStart.Add(TimeSpan.FromSeconds(5)); 175TimeSpan secondSnapshotTimeSpan = _firstSnapshot.TotalTimeSinceStart.Add(TimeSpan.FromSeconds(5));
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\E2ETesting\BrowserFixture.cs (1)
205TimeSpan.FromSeconds(60).Add(TimeSpan.FromSeconds(attempt * 60)));
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\E2ETesting\BrowserFixture.cs (1)
205TimeSpan.FromSeconds(60).Add(TimeSpan.FromSeconds(attempt * 60)));
Templates.Mvc.Tests (1)
src\Shared\E2ETesting\BrowserFixture.cs (1)
205TimeSpan.FromSeconds(60).Add(TimeSpan.FromSeconds(attempt * 60)));
Templates.Tests (1)
src\Shared\E2ETesting\BrowserFixture.cs (1)
205TimeSpan.FromSeconds(60).Add(TimeSpan.FromSeconds(attempt * 60)));