323 references to FunctionId
Microsoft.CodeAnalysis.CSharp.Features (7)
Completion\CompletionProviders\SnippetCompletionProvider.cs (1)
77using (Logger.LogBlock(FunctionId.Completion_SnippetCompletionProvider_GetItemsWorker_CSharp, cancellationToken))
Copilot\CSharpImplementNotImplementedExceptionFixProvider.cs (3)
79Logger.Log(FunctionId.Copilot_Implement_NotImplementedException_Fix_Registered, logLevel: LogLevel.Information); 134Logger.Log(FunctionId.Copilot_Implement_NotImplementedException_Completed, logLevel: LogLevel.Information); 139Logger.Log(FunctionId.Copilot_Implement_NotImplementedException_Failed, errorMessage, logLevel: LogLevel.Error);
NavigationBar\CSharpNavigationBarItemService.cs (2)
65using (Logger.LogBlock(FunctionId.NavigationBar_ItemService_GetMembersInTypes_CSharp, cancellationToken)) 138using (Logger.LogBlock(FunctionId.NavigationBar_ItemService_GetTypesInFile_CSharp, cancellationToken))
QuickInfo\CSharpSemanticQuickInfoProvider.cs (1)
354Logger.Log(FunctionId.Copilot_On_The_Fly_Docs_Content_Excluded, logLevel: LogLevel.Information);
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Simplification\CSharpSimplificationService.cs (2)
54using (Logger.LogBlock(FunctionId.Simplifier_ExpandNode, cancellationToken)) 81using (Logger.LogBlock(FunctionId.Simplifier_ExpandToken, cancellationToken))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpRemoveUnnecessaryImportsService.cs (1)
43using (Logger.LogBlock(FunctionId.Refactoring_RemoveUnnecessaryImports_CSharp, cancellationToken))
Microsoft.CodeAnalysis.Features (96)
AddConstructorParametersFromMembers\AddConstructorParametersFromMembersCodeRefactoringProvider.cs (1)
52using (Logger.LogBlock(FunctionId.Refactoring_GenerateFromMembers_AddConstructorParametersFromMembers, cancellationToken))
AddImport\AbstractAddImportFeatureService.cs (1)
101using (Logger.LogBlock(FunctionId.Refactoring_AddImport, cancellationToken))
ChangeSignature\AbstractChangeSignatureService.cs (1)
230using (Logger.LogBlock(FunctionId.FindReference_ChangeSignature, cancellationToken))
ChangeSignature\ChangeSignatureTelemetryLogger.cs (1)
183Logger.Log(FunctionId.ChangeSignature_Data, KeyValueLogMessage.Create(static m =>
CodeFixes\Service\CodeFixService.cs (9)
97using var _ = RoslynTelemetry.Current.RecordBlockTime(FunctionId.CodeFix_Summary, $"Pri{priority.GetPriorityInt()}.{nameof(GetMostSevereFixAsync)}"); 102FunctionId.CodeFix_Summary, $"Pri{priority.GetPriorityInt()}.{nameof(GetMostSevereFixAsync)}.{nameof(IDiagnosticAnalyzerService.GetDiagnosticsForSpanAsync)}")) 172using var _ = RoslynTelemetry.Current.RecordBlockTime(FunctionId.CodeFix_Summary, $"Pri{priority.GetPriorityInt()}"); 191FunctionId.CodeFix_Summary, $"Pri{priority.GetPriorityInt()}.{nameof(IDiagnosticAnalyzerService.GetDiagnosticsForSpanAsync)}")) 270using var _ = RoslynTelemetry.Current.RecordBlockTime(FunctionId.CodeFix_Summary, $"{nameof(GetDocumentFixAllForIdInSpanAsync)}"); 280FunctionId.CodeFix_Summary, $"{nameof(GetDocumentFixAllForIdInSpanAsync)}.{nameof(IDiagnosticAnalyzerService.GetDiagnosticsForSpanAsync)}")) 518using var _ = RoslynTelemetry.Current.LogBlockTime(FunctionId.CodeFix_Delay, logMessage, CodeFixTelemetryDelay); 527using (RoslynEventSource.LogInformationalBlock(FunctionId.CodeFixes_GetCodeFixesAsync, fixerName, cancellationToken)) 735using (RoslynEventSource.LogInformationalBlock(FunctionId.CodeFixes_GetCodeFixesAsync, provider, cancellationToken))
CodeFixes\Suppression\AbstractSuppressionBatchFixAllProvider.cs (6)
61var functionId = FunctionId.CodeFixes_FixAllOccurrencesComputation_Document_Merge; 82FunctionId.CodeFixes_FixAllOccurrencesComputation_Document_Fixes, 148FunctionId.CodeFixes_FixAllOccurrencesComputation_Project_Fixes, 162var functionId = FunctionId.CodeFixes_FixAllOccurrencesComputation_Project_Merge;
CodeFixesAndRefactorings\AbstractFixAllGetFixesService.cs (6)
115var functionId = fixAllKind switch 117FixAllKind.CodeFix => FunctionId.CodeFixes_FixAllOccurrencesPreviewChanges, 118FixAllKind.Refactoring => FunctionId.Refactoring_FixAllOccurrencesPreviewChanges, 159var functionId = fixAllKind switch 161FixAllKind.CodeFix => FunctionId.CodeFixes_FixAllOccurrencesComputation, 162FixAllKind.Refactoring => FunctionId.Refactoring_FixAllOccurrencesComputation,
CodeRefactorings\CodeRefactoringService.cs (4)
186using (RoslynTelemetry.Current.RecordBlockTime(FunctionId.CodeRefactoring_Summary, $"Pri{priority.GetPriorityInt()}")) 187using (Logger.LogBlock(FunctionId.Refactoring_CodeRefactoringService_GetRefactoringsAsync, cancellationToken)) 215using (RoslynEventSource.LogInformationalBlock(FunctionId.Refactoring_CodeRefactoringService_GetRefactoringsAsync, providerName, cancellationToken)) 216using (RoslynTelemetry.Current.LogBlockTime(FunctionId.CodeRefactoring_Delay, logMessage, CodeRefactoringTelemetryDelay))
Completion\Log\CompletionProvidersLogger.cs (1)
86Logger.Log(FunctionId.Intellisense_CompletionProviders_Data, KeyValueLogMessage.Create(static m =>
Completion\Providers\AbstractKeywordCompletionProvider.cs (1)
37using (Logger.LogBlock(FunctionId.Completion_KeywordCompletionProvider_GetItemsWorker, cancellationToken))
Completion\Providers\AbstractSymbolCompletionProvider.cs (1)
353using (Logger.LogBlock(FunctionId.Completion_SymbolCompletionProvider_GetItemsWorker, cancellationToken))
Completion\Providers\ImportCompletionProvider\AbstractExtensionMethodImportCompletionProvider.cs (1)
43using (Logger.LogBlock(FunctionId.Completion_ExtensionMethodImportCompletionProvider_GetCompletionItemsAsync, cancellationToken))
Completion\Providers\ImportCompletionProvider\AbstractTypeImportCompletionProvider.cs (1)
35using (Logger.LogBlock(FunctionId.Completion_TypeImportCompletionProvider_GetCompletionItemsAsync, cancellationToken))
Completion\Providers\Snippets\AbstractSnippetCompletionProvider.cs (1)
32Logger.Log(FunctionId.Completion_SemanticSnippets, $"Name: {snippetIdentifier}", LogLevel.Information);
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (1)
221using (Logger.LogBlock(FunctionId.AbstractConvertTupleToStructCodeRefactoringProvider_ConvertToStructAsync, cancellationToken))
Copilot\CopilotChangeAnalysisUtilities.cs (1)
71return Logger.LogBlock(FunctionId.Copilot_AnalyzeChange, KeyValueLogMessage.Create(static (d, args) =>
Diagnostics\DiagnosticAnalyzerTelemetry.cs (1)
70Logger.Log(FunctionId.DiagnosticAnalyzerDriver_AnalyzerTypeCount, KeyValueLogMessage.Create(m =>
Diagnostics\Log\DiagnosticLogger.cs (1)
23Logger.Log(FunctionId.Diagnostics_HyperLink, KeyValueLogMessage.Create(static (m, args) =>
Diagnostics\Service\DiagnosticAnalyzerService_ComputeDiagnosticAnalysisResults.cs (2)
31using (Logger.LogBlock(FunctionId.Diagnostics_ProjectDiagnostic, GetProjectLogMessage, project, analyzers, cancellationToken)) 76Logger.Log(FunctionId.Diagnostics_ProjectDiagnostic, p => $"Failed to Load Successfully ({p.FilePath ?? p.Name})", project);
Diagnostics\Service\DiagnosticAnalyzerService_CoreAnalyze.cs (1)
90using (RoslynLogger.LogBlock(FunctionId.CodeAnalysisService_ReportAnalyzerPerformance, cancellationToken))
Diagnostics\Service\DiagnosticAnalyzerService_GetDiagnosticsForSpan.cs (1)
94using var _4 = RoslynTelemetry.Current.RecordBlockTime(FunctionId.RequestDiagnostics_Summary, $"Pri{priority.GetPriorityInt()}");
Diagnostics\Service\DocumentAnalysisExecutor.cs (4)
104Logger.Log(FunctionId.Diagnostics_SyntaxDiagnostic, 117Logger.Log(FunctionId.Diagnostics_SemanticDiagnostic, static (a, d, e) => $"{a}, ({d.Id}, {d.Project.Id}), Enabled:{e}", analyzer, textDocument, isEnabled); 219using var _ = RoslynTelemetry.Current.RecordBlockTime(FunctionId.RequestDiagnostics_Summary, $"{nameof(GetSyntaxDiagnosticsInProcessAsync)}.{nameof(GetAnalysisResultInProcessAsync)}"); 255using var _ = RoslynTelemetry.Current.RecordBlockTime(FunctionId.RequestDiagnostics_Summary, $"{nameof(GetSemanticDiagnosticsInProcessAsync)}.{nameof(GetAnalysisResultInProcessAsync)}");
EditAndContinue\DebuggingSession.cs (1)
981public void SetTelemetryLogger(Action<FunctionId, LogMessage> logger, Func<int> getNextId)
EditAndContinue\DebuggingSessionTelemetry.cs (5)
72public static void Log(Data data, Action<FunctionId, LogMessage> log, Func<int> getNextId) 79log(FunctionId.Debugging_EncSession, KeyValueLogMessage.Create(static (map, args) => 94log(FunctionId.Debugging_EncSession_EditSession, KeyValueLogMessage.Create(map => 140log(FunctionId.Debugging_EncSession_EditSession_EmitDeltaErrorId, KeyValueLogMessage.Create(map => 150log(FunctionId.Debugging_EncSession_EditSession_RudeEdit, KeyValueLogMessage.Create(map =>
EncapsulateField\AbstractEncapsulateFieldService.cs (1)
116using (Logger.LogBlock(FunctionId.Renamer_FindRenameLocationsAsync, cancellationToken))
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingSolutionCrawlerLogger.cs (12)
49Logger.Log(FunctionId.WorkCoordinatorRegistrationService_Register, KeyValueLogMessage.Create(m => 58Logger.Log(FunctionId.WorkCoordinatorRegistrationService_Unregister, KeyValueLogMessage.Create(m => 70Logger.Log(FunctionId.WorkCoordinatorRegistrationService_Reanalyze, KeyValueLogMessage.Create(m => 84FunctionId.IncrementalAnalyzerProcessor_ActiveFileAnalyzers, FunctionId.IncrementalAnalyzerProcessor_ActiveFileAnalyzer, 90FunctionId.IncrementalAnalyzerProcessor_Analyzers, FunctionId.IncrementalAnalyzerProcessor_Analyzer, 96FunctionId analyzersId, FunctionId analyzerId, int correlationId, string workspaceKind, ImmutableArray<IUnitTestingIncrementalAnalyzer> reordered) 122Logger.Log(FunctionId.WorkCoordinator_ShutdownTimeout, KeyValueLogMessage.Create(m => 133Logger.Log(FunctionId.WorkCoordinator_Shutdown, KeyValueLogMessage.Create(m => 188Logger.Log(FunctionId.IncrementalAnalyzerProcessor_Shutdown, KeyValueLogMessage.Create(m =>
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.AbstractUnitTestingPriorityProcessor.cs (1)
70using (Logger.LogBlock(FunctionId.WorkCoordinator_WaitForHigherPriorityOperationsAsync, CancellationToken))
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingAsyncDocumentWorkItemQueue.cs (1)
120Logger.Log(FunctionId.WorkCoordinator_AsyncWorkItemQueue_FirstItem);
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingAsyncProjectWorkItemQueue.cs (1)
26Logger.Log(FunctionId.WorkCoordinator_AsyncWorkItemQueue_LastItem);
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingLowPriorityProcessor.cs (2)
102Logger.Log(FunctionId.WorkCoordinator_Project_Enqueue, s_enqueueLogger, Environment.TickCount, item.ProjectId, !added); 131using (Logger.LogBlock(FunctionId.WorkCoordinator_ProcessProjectAsync, w => w.ToString(), workItem, cancellationToken))
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingNormalPriorityProcessor.cs (2)
69Logger.Log(FunctionId.WorkCoordinator_DocumentWorker_Enqueue, s_enqueueLogger, Environment.TickCount, item.DocumentId, !added); 203using (Logger.LogBlock(FunctionId.WorkCoordinator_ProcessDocumentAsync, w => w.ToString(), workItem, cancellationToken))
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingWorkCoordinator.UnitTestingSemanticChangeProcessor.cs (5)
132Logger.Log(FunctionId.WorkCoordinator_SemanticChange_EnqueueFromType, symbol.Name); 159Logger.Log(FunctionId.WorkCoordinator_SemanticChange_EnqueueFromMember, symbol.Name); 240Logger.Log(FunctionId.WorkCoordinator_SemanticChange_FullProjects, internalVisibleToAssembly == null ? "full" : "internals"); 263Logger.Log(FunctionId.WorkCoordinator_SemanticChange_Enqueue, s_enqueueLogger, Environment.TickCount, documentId, changedMember != null); 379Logger.Log(FunctionId.WorkCoordinator_Project_Enqueue, s_enqueueLogger, Environment.TickCount, projectId);
FullyQualify\AbstractFullyQualifyService.cs (1)
65using (Logger.LogBlock(FunctionId.Refactoring_FullyQualify, cancellationToken))
GenerateConstructors\AbstractGenerateConstructorsCodeRefactoringProvider.cs (1)
268using (Logger.LogBlock(FunctionId.Refactoring_GenerateFromMembers_GenerateConstructorFromMembers, cancellationToken))
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeFromMembersCodeRefactoringProvider.cs (1)
173using (Logger.LogBlock(FunctionId.Refactoring_GenerateFromMembers_GenerateEqualsAndGetHashCode, cancellationToken))
GenerateType\AbstractGenerateTypeService.cs (1)
72using (Logger.LogBlock(FunctionId.Refactoring_GenerateType, cancellationToken))
IntroduceVariable\AbstractIntroduceVariableService.cs (1)
68using (Logger.LogBlock(FunctionId.Refactoring_IntroduceVariable, cancellationToken))
MetadataAsSource\TelemetryMessage.cs (1)
25_logBlock = Logger.LogBlock(FunctionId.NavigateToExternalSources, logMessage, cancellationToken);
NavigateTo\NavigateToSearcher.cs (1)
144using var navigateToSearch = Logger.LogBlock(FunctionId.NavigateTo_Search, KeyValueLogMessage.Create(LogType.UserAction), cancellationToken);
QuickInfo\OnTheFlyDocsLogger.cs (1)
43Logger.Log(FunctionId.Copilot_On_The_Fly_Docs_Get_Counts, KeyValueLogMessage.Create(static m =>
src\roslyn\src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.cs (1)
82using (Logger.LogBlock(FunctionId.Refactoring_GenerateMember_GenerateConstructor, cancellationToken))
src\roslyn\src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\AbstractGenerateDefaultConstructorsService.cs (1)
31using (Logger.LogBlock(FunctionId.Refactoring_GenerateMember_GenerateDefaultConstructors, cancellationToken))
src\roslyn\src\Analyzers\Core\CodeFixes\GenerateEnumMember\AbstractGenerateEnumMemberService.cs (1)
27using (Logger.LogBlock(FunctionId.Refactoring_GenerateMember_GenerateEnumMember, cancellationToken))
src\roslyn\src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateConversionService.cs (1)
32using (Logger.LogBlock(FunctionId.Refactoring_GenerateMember_GenerateMethod, cancellationToken))
src\roslyn\src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateDeconstructMethodService.cs (1)
29using (Logger.LogBlock(FunctionId.Refactoring_GenerateMember_GenerateMethod, cancellationToken))
src\roslyn\src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateMethodService.cs (1)
33using (Logger.LogBlock(FunctionId.Refactoring_GenerateMember_GenerateMethod, cancellationToken))
src\roslyn\src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.cs (1)
37using (Logger.LogBlock(FunctionId.Refactoring_GenerateMember_GenerateVariable, cancellationToken))
src\roslyn\src\Analyzers\Core\CodeFixes\ImplementInterface\AbstractImplementInterfaceService.cs (1)
61using (Logger.LogBlock(FunctionId.Refactoring_ImplementInterface, cancellationToken))
ValueTracking\ValueTrackingService.cs (2)
32using var logger = Logger.LogBlock(FunctionId.ValueTracking_TrackValueSource, cancellationToken, LogLevel.Information); 62using var logger = Logger.LogBlock(FunctionId.ValueTracking_TrackValueSource, cancellationToken, LogLevel.Information);
Microsoft.CodeAnalysis.Workspaces (217)
CaseCorrection\AbstractCaseCorrectionService.cs (3)
46using (Logger.LogBlock(FunctionId.CaseCorrection_CaseCorrect, cancellationToken)) 51using (Logger.LogBlock(FunctionId.CaseCorrection_AddReplacements, cancellationToken)) 56using (Logger.LogBlock(FunctionId.CaseCorrection_ReplaceTokens, cancellationToken))
CodeActions\CodeAction.cs (1)
266using var _ = RoslynTelemetry.Current.RecordBlockTime(FunctionId.SuggestedAction_Preview_Summary, $"Total");
CodeActions\Operations\ApplyChangesOperation.cs (9)
61result ? FunctionId.ApplyChangesOperation_WorkspaceVersionMatch_ApplicationSucceeded : FunctionId.ApplyChangesOperation_WorkspaceVersionMatch_ApplicationFailed, 86Logger.Log(FunctionId.ApplyChangesOperation_WorkspaceVersionMismatch_ApplicationFailed_IncompatibleSolutionChange, logLevel: LogLevel.Information); 110Logger.Log(FunctionId.ApplyChangesOperation_WorkspaceVersionMismatch_ApplicationFailed_IncompatibleProjectChange, logLevel: LogLevel.Information); 121Logger.Log(FunctionId.ApplyChangesOperation_WorkspaceVersionMismatch_ApplicationFailed_NoChangedDocument, logLevel: LogLevel.Information); 134Logger.Log(FunctionId.ApplyChangesOperation_WorkspaceVersionMismatch_ApplicationFailed_NoTextChange, logLevel: LogLevel.Information); 142Logger.Log(FunctionId.ApplyChangesOperation_WorkspaceVersionMismatch_ApplicationFailed_DocumentRemoved, logLevel: LogLevel.Information); 151Logger.Log(FunctionId.ApplyChangesOperation_WorkspaceVersionMismatch_ApplicationFailed_TextChangeConflict, logLevel: LogLevel.Information); 159Logger.Log(FunctionId.ApplyChangesOperation_WorkspaceVersionMismatch_ApplicationSucceeded, logLevel: LogLevel.Information);
CodeCleanup\AbstractCodeCleanerService.cs (6)
31using (Logger.LogBlock(FunctionId.CodeCleanup_CleanupAsync, cancellationToken)) 75using (Logger.LogBlock(FunctionId.CodeCleanup_Cleanup, cancellationToken)) 462using (Logger.LogBlock(FunctionId.CodeCleanup_IterateAllCodeCleanupProviders, cancellationToken)) 494using (Logger.LogBlock(FunctionId.CodeCleanup_IterateOneCodeCleanup, GetCodeCleanerTypeName, codeCleaner, cancellationToken)) 544using (Logger.LogBlock(FunctionId.CodeCleanup_IterateAllCodeCleanupProviders, cancellationToken)) 571using (Logger.LogBlock(FunctionId.CodeCleanup_IterateOneCodeCleanup, GetCodeCleanerTypeName, codeCleaner, cancellationToken))
CodeFixes\FixAllOccurrences\FixAllContext.DiagnosticProvider.cs (2)
58FunctionId.CodeFixes_FixAllOccurrencesComputation_Document_Diagnostics, 71FunctionId.CodeFixes_FixAllOccurrencesComputation_Project_Diagnostics,
CodeFixesAndRefactorings\FixAllLogger.cs (12)
43FunctionId functionId; 48functionId = FunctionId.CodeFixes_FixAllOccurrencesContext; 53functionId = FunctionId.Refactoring_FixAllOccurrencesContext; 110var functionId = fixAllKind switch 112FixAllKind.CodeFix => FunctionId.CodeFixes_FixAllOccurrencesComputation, 113FixAllKind.Refactoring => FunctionId.Refactoring_FixAllOccurrencesComputation, 136var functionId = fixAllKind switch 138FixAllKind.CodeFix => FunctionId.CodeFixes_FixAllOccurrencesPreviewChanges, 139FixAllKind.Refactoring => FunctionId.Refactoring_FixAllOccurrencesPreviewChanges, 157Logger.Log(FunctionId.CodeFixes_FixAllOccurrencesComputation_Document_Diagnostics, KeyValueLogMessage.Create(m => 167Logger.Log(FunctionId.CodeFixes_FixAllOccurrencesComputation_Project_Diagnostics, KeyValueLogMessage.Create(m => 175public static void LogFixesToMergeStats(FunctionId functionId, int correlationId, int count)
FindSymbols\Declarations\DeclarationFinder.cs (2)
30using (Logger.LogBlock(FunctionId.SymbolFinder_Project_AddDeclarationsAsync, cancellationToken)) 80using (Logger.LogBlock(FunctionId.SymbolFinder_Assembly_AddDeclarationsAsync, cancellationToken))
FindSymbols\FindReferences\DependentTypeFinder_Remote.cs (4)
60var functionId = kind switch 62DependentTypesKind.DerivedClasses => FunctionId.DependentTypeFinder_FindAndCacheDerivedClassesAsync, 63DependentTypesKind.DerivedInterfaces => FunctionId.DependentTypeFinder_FindAndCacheDerivedInterfacesAsync, 64DependentTypesKind.ImplementingTypes => FunctionId.DependentTypeFinder_FindAndCacheImplementingTypesAsync,
FindSymbols\FindReferences\FindReferencesSearchEngine.cs (1)
323using (Logger.LogBlock(FunctionId.FindReference_ProcessDocumentAsync, cancellationToken))
FindSymbols\SymbolFinder_Declarations_CustomQueries.cs (2)
56using (Logger.LogBlock(FunctionId.SymbolFinder_Solution_Predicate_FindSourceDeclarationsAsync, cancellationToken)) 101using (Logger.LogBlock(FunctionId.SymbolFinder_Project_Predicate_FindSourceDeclarationsAsync, cancellationToken))
FindSymbols\SymbolFinder_Declarations_SourceDeclarations.cs (4)
29using (Logger.LogBlock(FunctionId.SymbolFinder_Solution_Name_FindSourceDeclarationsAsync, cancellationToken)) 49using (Logger.LogBlock(FunctionId.SymbolFinder_Project_Name_FindSourceDeclarationsAsync, cancellationToken)) 80using (Logger.LogBlock(FunctionId.SymbolFinder_Solution_Pattern_FindSourceDeclarationsAsync, cancellationToken)) 108using (Logger.LogBlock(FunctionId.SymbolFinder_Project_Pattern_FindSourceDeclarationsAsync, cancellationToken))
FindSymbols\SymbolFinder_FindLiteralReferences.cs (1)
22using (Logger.LogBlock(FunctionId.FindReference, cancellationToken))
FindSymbols\SymbolFinder_FindReferences_Current.cs (1)
29using (Logger.LogBlock(FunctionId.FindReference, cancellationToken))
FindSymbols\SymbolFinder_FindRenamableReferences.cs (1)
20using (Logger.LogBlock(FunctionId.FindReference_Rename, cancellationToken))
FindSymbols\SymbolTree\SymbolTreeInfo_Serialization.cs (3)
36using (Logger.LogBlock(FunctionId.SymbolTreeInfo_TryLoadOrCreate, cancellationToken)) 54using (Logger.LogBlock(FunctionId.SymbolTreeInfo_Create, cancellationToken)) 266Logger.Log(FunctionId.SymbolTreeInfo_ExceptionInCacheRead);
Log\EtwEventSink.cs (8)
13/// A sink that publishes events to ETW using an EventSource. Opt-in per <see cref="FunctionId"/>, via 16internal sealed class EtwEventSink(Func<FunctionId, bool> isEnabledPredicate) : IEventSink 22public bool IsEnabled(FunctionId functionId) 27if (IsEnabled(FunctionId.NonFatalWatson)) 28_source.Log(exception.ToString(), FunctionId.NonFatalWatson); 31public void Log(FunctionId functionId, LogMessage logMessage) 34public void LogBlockStart(FunctionId functionId, LogMessage logMessage, int uniquePairId, CancellationToken cancellationToken) 37public void LogBlockEnd(FunctionId functionId, LogMessage logMessage, int uniquePairId, int delta, CancellationToken cancellationToken)
Log\FunctionIdExtensions.cs (3)
13private static readonly Lazy<ImmutableDictionary<FunctionId, string>> s_functionIdsToString = new( 14() => Enum.GetValues<FunctionId>().ToImmutableDictionary(f => f, f => f.ToString())); 16public static string Convert(this FunctionId functionId) => s_functionIdsToString.Value[functionId];
Log\RoslynEventSource.cs (5)
46public void Log(string message, FunctionId functionId) 50public void BlockStart(string message, FunctionId functionId, int blockId) 54public void BlockStop(FunctionId functionId, int tick, int blockId) 62public void BlockCanceled(FunctionId functionId, int tick, int blockId) 108var functions = from f in typeof(FunctionId).GetFields()
Log\RoslynEventSource.LogBlock.cs (6)
22public static LogBlock LogInformationalBlock(FunctionId functionId, object entity, CancellationToken cancellationToken) 32public static LogBlock LogInformationalBlock(FunctionId functionId, string message, CancellationToken cancellationToken) 41private readonly FunctionId _functionId; 57FunctionId functionId, 77FunctionId functionId, 89FunctionId functionId,
Log\RoslynTelemetry.Workspaces.cs (3)
29/// <see cref="RecordBlockTime(FunctionId, string)"/> this is not aggregated - each occurrence is 32public IDisposable? LogBlockTime(FunctionId functionId, KeyValueLogMessage logMessage, int minThresholdMs = -1) 41private sealed class TimedEventBlock(RoslynTelemetry telemetry, FunctionId functionId, KeyValueLogMessage logMessage, int minThresholdMs) : IDisposable
Log\TraceEventSink.cs (8)
16internal sealed class TraceEventSink(Func<FunctionId, bool> isEnabledPredicate) : IEventSink 18public bool IsEnabled(FunctionId functionId) 23if (IsEnabled(FunctionId.NonFatalWatson)) 24Log(FunctionId.NonFatalWatson, exception.ToString()); 27public void Log(FunctionId functionId, LogMessage logMessage) 30public void LogBlockStart(FunctionId functionId, LogMessage logMessage, int uniquePairId, CancellationToken cancellationToken) 33public void LogBlockEnd(FunctionId functionId, LogMessage logMessage, int uniquePairId, int delta, CancellationToken cancellationToken) 40private static void Log(FunctionId functionId, string message)
Log\TraceSourceFaultEventSink.cs (4)
17public bool IsEnabled(FunctionId functionId) 26public void Log(FunctionId functionId, LogMessage logMessage) 30public void LogBlockStart(FunctionId functionId, LogMessage logMessage, int uniquePairId, CancellationToken cancellationToken) 34public void LogBlockEnd(FunctionId functionId, LogMessage logMessage, int uniquePairId, int delta, CancellationToken cancellationToken)
Log\WorkspaceErrorLogger.cs (1)
22=> Logger.Log(FunctionId.Extension_Exception, (source, exception) => source.GetType().Name + " : " + ToLogFormat(exception), source, exception, LogLevel.Error);
Rename\ConflictEngine\ConflictResolver.cs (1)
55using (Logger.LogBlock(FunctionId.Renamer_ResolveConflictsAsync, cancellationToken))
Rename\LightweightRenameLocations.cs (1)
88using (Logger.LogBlock(FunctionId.Renamer_FindRenameLocationsAsync, cancellationToken))
Rename\Renamer.cs (1)
166using (Logger.LogBlock(FunctionId.Renamer_RenameSymbolAsync, cancellationToken))
Rename\SymbolicRenameLocations.cs (1)
69using (Logger.LogBlock(FunctionId.Rename_AllRenameLocations, cancellationToken))
Serialization\SerializerService.cs (3)
54using (Logger.LogBlock(FunctionId.Serializer_CreateChecksum, s_logKind, kind, cancellationToken)) 88using (Logger.LogBlock(FunctionId.Serializer_Serialize, s_logKind, kind, cancellationToken)) 237using (Logger.LogBlock(FunctionId.Serializer_Deserialize, s_logKind, kind, cancellationToken))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.InitialContextFinder.cs (1)
47using (Logger.LogBlock(FunctionId.Formatting_ContextInitialization, CancellationToken.None))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractAggregatedFormattingResult.cs (2)
68using (Logger.LogBlock(FunctionId.Formatting_AggregateCreateTextChanges, cancellationToken)) 100using (Logger.LogBlock(FunctionId.Formatting_AggregateCreateFormattedRoot, cancellationToken))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (6)
115using (Logger.LogBlock(FunctionId.Formatting_Format, FormatSummary, cancellationToken)) 224using (Logger.LogBlock(FunctionId.Formatting_CollectTokenOperation, cancellationToken)) 348using (Logger.LogBlock(FunctionId.Formatting_ApplyAlignOperation, cancellationToken)) 378using (Logger.LogBlock(FunctionId.Formatting_ApplyAnchorOperation, cancellationToken)) 433using (Logger.LogBlock(FunctionId.Formatting_ApplySpaceAndLine, cancellationToken)) 490using (Logger.LogBlock(FunctionId.Formatting_BuildContext, cancellationToken))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (2)
56using (Logger.LogBlock(FunctionId.Formatting_CreateTextChanges, cancellationToken)) 90using (Logger.LogBlock(FunctionId.Formatting_CreateFormattedRoot, cancellationToken))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenStream.cs (1)
51using (Logger.LogBlock(FunctionId.Formatting_TokenStreamConstruction, CancellationToken.None))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\IEventSink.cs (4)
19bool IsEnabled(FunctionId functionId); 26void Log(FunctionId functionId, LogMessage logMessage); 32void LogBlockStart(FunctionId functionId, LogMessage logMessage, int uniquePairId, CancellationToken cancellationToken); 38void LogBlockEnd(FunctionId functionId, LogMessage logMessage, int uniquePairId, int delta, CancellationToken cancellationToken);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\Logger.cs (30)
15/// <inheritdoc cref="RoslynTelemetry.Log(FunctionId, string, LogLevel)"/> 16public static void Log(FunctionId functionId, string? message = null, LogLevel logLevel = LogLevel.Debug) 19/// <inheritdoc cref="RoslynTelemetry.Log(FunctionId, Func{string}, LogLevel)"/> 20public static void Log(FunctionId functionId, Func<string> messageGetter, LogLevel logLevel = LogLevel.Debug) 23/// <inheritdoc cref="RoslynTelemetry.Log{TArg}(FunctionId, Func{TArg, string}, TArg, LogLevel)"/> 24public static void Log<TArg>(FunctionId functionId, Func<TArg, string> messageGetter, TArg arg, LogLevel logLevel = LogLevel.Debug) 27/// <inheritdoc cref="RoslynTelemetry.Log{TArg0, TArg1}(FunctionId, Func{TArg0, TArg1, string}, TArg0, TArg1, LogLevel)"/> 28public static void Log<TArg0, TArg1>(FunctionId functionId, Func<TArg0, TArg1, string> messageGetter, TArg0 arg0, TArg1 arg1, LogLevel logLevel = LogLevel.Debug) 31/// <inheritdoc cref="RoslynTelemetry.Log{TArg0, TArg1, TArg2}(FunctionId, Func{TArg0, TArg1, TArg2, string}, TArg0, TArg1, TArg2, LogLevel)"/> 32public static void Log<TArg0, TArg1, TArg2>(FunctionId functionId, Func<TArg0, TArg1, TArg2, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, LogLevel logLevel = LogLevel.Debug) 35/// <inheritdoc cref="RoslynTelemetry.Log{TArg0, TArg1, TArg2, TArg3}(FunctionId, Func{TArg0, TArg1, TArg2, TArg3, string}, TArg0, TArg1, TArg2, TArg3, LogLevel)"/> 36public static void Log<TArg0, TArg1, TArg2, TArg3>(FunctionId functionId, Func<TArg0, TArg1, TArg2, TArg3, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, TArg3 arg3, LogLevel logLevel = LogLevel.Debug) 39/// <inheritdoc cref="RoslynTelemetry.Log(FunctionId, LogMessage)"/> 40public static void Log(FunctionId functionId, LogMessage logMessage) 43/// <inheritdoc cref="RoslynTelemetry.LogBlock(FunctionId, CancellationToken, LogLevel)"/> 44public static IDisposable LogBlock(FunctionId functionId, CancellationToken token, LogLevel logLevel = LogLevel.Trace) 47/// <inheritdoc cref="RoslynTelemetry.LogBlock(FunctionId, string, CancellationToken, LogLevel)"/> 48public static IDisposable LogBlock(FunctionId functionId, string? message, CancellationToken token, LogLevel logLevel = LogLevel.Trace) 51/// <inheritdoc cref="RoslynTelemetry.LogBlock(FunctionId, Func{string}, CancellationToken, LogLevel)"/> 52public static IDisposable LogBlock(FunctionId functionId, Func<string> messageGetter, CancellationToken token, LogLevel logLevel = LogLevel.Trace) 55/// <inheritdoc cref="RoslynTelemetry.LogBlock{TArg}(FunctionId, Func{TArg, string}, TArg, CancellationToken, LogLevel)"/> 56public static IDisposable LogBlock<TArg>(FunctionId functionId, Func<TArg, string> messageGetter, TArg arg, CancellationToken token, LogLevel logLevel = LogLevel.Trace) 59/// <inheritdoc cref="RoslynTelemetry.LogBlock{TArg0, TArg1}(FunctionId, Func{TArg0, TArg1, string}, TArg0, TArg1, CancellationToken, LogLevel)"/> 60public static IDisposable LogBlock<TArg0, TArg1>(FunctionId functionId, Func<TArg0, TArg1, string> messageGetter, TArg0 arg0, TArg1 arg1, CancellationToken token, LogLevel logLevel = LogLevel.Trace) 63/// <inheritdoc cref="RoslynTelemetry.LogBlock{TArg0, TArg1, TArg2}(FunctionId, Func{TArg0, TArg1, TArg2, string}, TArg0, TArg1, TArg2, CancellationToken, LogLevel)"/> 64public static IDisposable LogBlock<TArg0, TArg1, TArg2>(FunctionId functionId, Func<TArg0, TArg1, TArg2, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, CancellationToken token, LogLevel logLevel = LogLevel.Trace) 67/// <inheritdoc cref="RoslynTelemetry.LogBlock{TArg0, TArg1, TArg2, TArg3}(FunctionId, Func{TArg0, TArg1, TArg2, TArg3, string}, TArg0, TArg1, TArg2, TArg3, CancellationToken, LogLevel)"/> 68public static IDisposable LogBlock<TArg0, TArg1, TArg2, TArg3>(FunctionId functionId, Func<TArg0, TArg1, TArg2, TArg3, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, TArg3 arg3, CancellationToken token, LogLevel logLevel = LogLevel.Trace) 71/// <inheritdoc cref="RoslynTelemetry.LogBlock(FunctionId, LogMessage, CancellationToken)"/> 72public static IDisposable LogBlock(FunctionId functionId, LogMessage logMessage, CancellationToken token)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\RoslynTelemetry_LogBlock.cs (3)
20private static IDisposable CreateLogBlock(ImmutableArray<IEventSink> sinks, FunctionId functionId, LogMessage message, int blockId, CancellationToken cancellationToken) 39private FunctionId _functionId; 43public void Construct(ImmutableArray<IEventSink> sinks, FunctionId functionId, LogMessage logMessage, int blockId, CancellationToken cancellationToken)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\RoslynTelemetry_Metrics.cs (16)
43public void Count(FunctionId functionId, string metricName, long delta = 1) 48public void Count(FunctionId functionId, string metricName, long delta, KeyValuePair<string, object?> tag) 54public void Count(FunctionId functionId, string metricName, long delta, KeyValuePair<string, object?> tag1, KeyValuePair<string, object?> tag2) 60public void Count(FunctionId functionId, string metricName, long delta, KeyValuePair<string, object?> tag1, KeyValuePair<string, object?> tag2, KeyValuePair<string, object?> tag3) 71public void Count(FunctionId functionId, string metricName, long delta, ReadOnlySpan<KeyValuePair<string, object?>> tags) 74private void CountCore(FunctionId functionId, string metricName, long delta, ReadOnlySpan<KeyValuePair<string, object?>> tags) 89public void Record(FunctionId functionId, string metricName, long value) 94public void Record(FunctionId functionId, string metricName, long value, KeyValuePair<string, object?> tag) 100public void Record(FunctionId functionId, string metricName, long value, KeyValuePair<string, object?> tag1, KeyValuePair<string, object?> tag2) 106public void Record(FunctionId functionId, string metricName, long value, KeyValuePair<string, object?> tag1, KeyValuePair<string, object?> tag2, KeyValuePair<string, object?> tag3) 113public void Record(FunctionId functionId, string metricName, long value, ReadOnlySpan<KeyValuePair<string, object?>> tags) 116private void RecordCore(FunctionId functionId, string metricName, long value, ReadOnlySpan<KeyValuePair<string, object?>> tags) 134/// Unlike <see cref="Count(FunctionId, string, long)"/> and <see cref="Record(FunctionId, string, long)"/> 139public IDisposable? RecordBlockTime(FunctionId functionId, string metricName) 158private sealed class TimedBlock(RoslynTelemetry telemetry, FunctionId functionId, string metricName) : IDisposable
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\RoslynTelemetry.cs (18)
118private bool TryGetEnabledSinks(FunctionId functionId, out ImmutableArray<IEventSink> sinks) 131public bool IsEnabled(FunctionId functionId) 134private static void LogToSinks(ImmutableArray<IEventSink> sinks, FunctionId functionId, LogMessage logMessage) 159public void Log(FunctionId functionId, string? message = null, LogLevel logLevel = LogLevel.Debug) 174public void Log(FunctionId functionId, Func<string> messageGetter, LogLevel logLevel = LogLevel.Debug) 189public void Log<TArg>(FunctionId functionId, Func<TArg, string> messageGetter, TArg arg, LogLevel logLevel = LogLevel.Debug) 203public void Log<TArg0, TArg1>(FunctionId functionId, Func<TArg0, TArg1, string> messageGetter, TArg0 arg0, TArg1 arg1, LogLevel logLevel = LogLevel.Debug) 217public void Log<TArg0, TArg1, TArg2>(FunctionId functionId, Func<TArg0, TArg1, TArg2, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, LogLevel logLevel = LogLevel.Debug) 231public void Log<TArg0, TArg1, TArg2, TArg3>(FunctionId functionId, Func<TArg0, TArg1, TArg2, TArg3, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, TArg3 arg3, LogLevel logLevel = LogLevel.Debug) 244public void Log(FunctionId functionId, LogMessage logMessage) 265public IDisposable LogBlock(FunctionId functionId, CancellationToken token, LogLevel logLevel = LogLevel.Trace) 271public IDisposable LogBlock(FunctionId functionId, string? message, CancellationToken token, LogLevel logLevel = LogLevel.Trace) 280public IDisposable LogBlock(FunctionId functionId, Func<string> messageGetter, CancellationToken token, LogLevel logLevel = LogLevel.Trace) 289public IDisposable LogBlock<TArg>(FunctionId functionId, Func<TArg, string> messageGetter, TArg arg, CancellationToken token, LogLevel logLevel = LogLevel.Trace) 298public IDisposable LogBlock<TArg0, TArg1>(FunctionId functionId, Func<TArg0, TArg1, string> messageGetter, TArg0 arg0, TArg1 arg1, CancellationToken token, LogLevel logLevel = LogLevel.Trace) 307public IDisposable LogBlock<TArg0, TArg1, TArg2>(FunctionId functionId, Func<TArg0, TArg1, TArg2, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, CancellationToken token, LogLevel logLevel = LogLevel.Trace) 316public IDisposable LogBlock<TArg0, TArg1, TArg2, TArg3>(FunctionId functionId, Func<TArg0, TArg1, TArg2, TArg3, string> messageGetter, TArg0 arg0, TArg1 arg1, TArg2 arg2, TArg3 arg3, CancellationToken token, LogLevel logLevel = LogLevel.Trace) 325public IDisposable LogBlock(FunctionId functionId, LogMessage logMessage, CancellationToken token)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\TelemetryNaming.cs (7)
11/// Maps <see cref="FunctionId"/> onto the event and property names Roslyn's telemetry backend expects. 20private static readonly ConcurrentDictionary<FunctionId, string> s_eventMap = []; 21private static readonly ConcurrentDictionary<(FunctionId id, string name), string> s_propertyMap = []; 23public static string GetEventName(FunctionId id) 26public static string GetPropertyName(FunctionId id, string name) 43private static string GetTelemetryName(FunctionId id, char separator) 44=> Enum.GetName(typeof(FunctionId), id)!.Replace('_', separator).ToLowerInvariant();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BKTree.Serialization.cs (1)
30Logger.Log(FunctionId.BKTree_ExceptionInCacheRead);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\NonReentrantLock.cs (1)
126using (Logger.LogBlock(FunctionId.Misc_NonReentrantLock_BlockingWait, cancellationToken))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\SemanticModelReuse\AbstractSemanticModelReuseLanguageService.cs (1)
41Logger.Log(FunctionId.SemanticModelReuseLanguageService_TryGetSpeculativeSemanticModelAsync_Equivalent, KeyValueLogMessage.Create(static (m, _logAggregator) =>
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\AbstractSimplificationService.cs (1)
61using (Logger.LogBlock(FunctionId.Simplifier_ReduceAsync, cancellationToken))
Storage\StorageDatabaseLogger.cs (1)
40Logger.Log(FunctionId.StorageDatabase_Exceptions, KeyValueLogMessage.Create(static (m, ex) =>
TemporaryStorage\TemporaryStorageService.cs (3)
120using (Logger.LogBlock(FunctionId.TemporaryStorageServiceFactory_WriteText, cancellationToken)) 161using (Logger.LogBlock(FunctionId.TemporaryStorageServiceFactory_WriteStream, CancellationToken.None)) 300using (Logger.LogBlock(FunctionId.TemporaryStorageServiceFactory_ReadText, cancellationToken))
TemporaryStorage\TemporaryStorageService.TemporaryStorageStreamHandle.cs (1)
23using (Logger.LogBlock(FunctionId.TemporaryStorageServiceFactory_ReadStream, CancellationToken.None))
Utilities\SpellChecker.cs (1)
60Logger.Log(FunctionId.SpellChecker_ExceptionInCacheRead);
Workspace\ProjectSystem\ProjectSystemProject.cs (1)
299Logger.Log(FunctionId.Workspace_Project_CompilationThrownAway, KeyValueLogMessage.Create(m =>
Workspace\Solution\Document.cs (1)
463using (Logger.LogBlock(FunctionId.Workspace_Document_GetTextChanges, this.Name, cancellationToken))
Workspace\Solution\DocumentState.cs (4)
136using (Logger.LogBlock(FunctionId.Workspace_Document_State_FullyParseSyntaxTree, s_fullParseLog, filePath, mode, cancellationToken)) 152using (Logger.LogBlock(FunctionId.Workspace_Document_State_FullyParseSyntaxTree, s_fullParseLog, filePath, mode, cancellationToken)) 198using (Logger.LogBlock(FunctionId.Workspace_Document_State_IncrementallyParseSyntaxTree, cancellationToken)) 220using (Logger.LogBlock(FunctionId.Workspace_Document_State_IncrementallyParseSyntaxTree, cancellationToken))
Workspace\Solution\FileTextLoader.cs (1)
245Logger.Log(FunctionId.FileTextLoader_FileLengthThresholdExceeded, KeyValueLogMessage.Create(static (m, args) =>
Workspace\Solution\ProjectState_Checksum.cs (1)
42using (Logger.LogBlock(FunctionId.ProjectState_ComputeChecksumsAsync, FilePath, cancellationToken))
Workspace\Solution\SolutionCompilationState_Checksum.cs (1)
108using (Logger.LogBlock(FunctionId.SolutionCompilationState_ComputeChecksumsAsync, this.SolutionState.FilePath, cancellationToken))
Workspace\Solution\SolutionCompilationState.cs (1)
1326using (Logger.LogBlock(FunctionId.Workspace_SkeletonAssembly_GetMetadataOnlyImage, cancellationToken))
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (1)
248using (Logger.LogBlock(FunctionId.Workspace_Project_CompilationTracker_BuildCompilationAsync,
Workspace\Solution\SolutionCompilationState.SkeletonReferenceCache.cs (2)
243using (Logger.LogBlock(FunctionId.Workspace_SkeletonAssembly_EmitMetadataOnlyImage, cancellationToken)) 279Logger.Log(FunctionId.MetadataOnlyImage_EmitFailure, KeyValueLogMessage.Create(static (m, emitResult) =>
Workspace\Solution\SolutionState_Checksum.cs (1)
103using (Logger.LogBlock(FunctionId.SolutionState_ComputeChecksumsAsync, this.FilePath, cancellationToken))
Workspace\Solution\TextDocumentState_Checksum.cs (1)
34using (Logger.LogBlock(FunctionId.DocumentState_ComputeChecksumsAsync, FilePath, cancellationToken))
Workspace\Solution\VersionSource\RecoverableTextAndVersion.cs (2)
175using (Logger.LogBlock(FunctionId.Workspace_Recoverable_RecoverTextAsync, cancellationToken)) 185using (Logger.LogBlock(FunctionId.Workspace_Recoverable_RecoverText, cancellationToken))
Workspace\Workspace.cs (3)
1523using (Logger.LogBlock(FunctionId.Workspace_ApplyChanges, CancellationToken.None)) 1528Logger.Log(FunctionId.Workspace_ApplyChanges, "Apply Failed: workspaces do not match"); 1538FunctionId.Workspace_ApplyChanges,