4 references to Elapsed
Microsoft.CodeAnalysis (4)
SourceGeneration\GeneratorDriver.cs (3)
328
stateBuilder[i] = generatorState.WithResults(ParseAdditionalSources(state.Generators[i], sources, cancellationToken), generatorDiagnostics, generatorRunStateTable.ExecutedSteps, generatorRunStateTable.OutputSteps, hostOutputs, generatorTimer.
Elapsed
);
332
stateBuilder[i] = SetGeneratorException(compilation, MessageProvider, generatorState, state.Generators[i], ufe.InnerException, diagnosticsBag, cancellationToken, runTime: generatorTimer.
Elapsed
);
336
state = state.With(stateTable: driverStateBuilder.ToImmutable(), syntaxStore: syntaxStoreBuilder.ToImmutable(), generatorStates: stateBuilder.ToImmutableAndFree(), runTime: timer.
Elapsed
);
SourceGeneration\GeneratorTimerExtensions.cs (1)
76
_callback(
Elapsed
);