diff --git a/src/Compilers/Core/Portable/Diagnostic/Diagnostic.cs b/src/Compilers/Core/Portable/Diagnostic/Diagnostic.cs index 9c2961177b6a2..13de48438b9b8 100644 --- a/src/Compilers/Core/Portable/Diagnostic/Diagnostic.cs +++ b/src/Compilers/Core/Portable/Diagnostic/Diagnostic.cs @@ -269,6 +269,7 @@ public bool IsWarningAsError /// /// Gets property bag for the diagnostic. it will return if there is no entry. + /// This can be used to put diagnostic specific information you want to pass around. for example, to corresponding fixer. /// public virtual ImmutableDictionary Properties { get { return ImmutableDictionary.Empty; } } diff --git a/src/Features/Core/Diagnostics/EngineV1/DiagnosticIncrementalAnalyzer.cs b/src/Features/Core/Diagnostics/EngineV1/DiagnosticIncrementalAnalyzer.cs index b40a7f9bc0326..1baac931431b9 100644 --- a/src/Features/Core/Diagnostics/EngineV1/DiagnosticIncrementalAnalyzer.cs +++ b/src/Features/Core/Diagnostics/EngineV1/DiagnosticIncrementalAnalyzer.cs @@ -771,7 +771,7 @@ private DiagnosticData UpdatePosition(DiagnosticData diagnostic, SyntaxTree tree diagnostic.IsEnabledByDefault, diagnostic.WarningLevel, diagnostic.CustomTags, - diagnostic.Properties, + diagnostic.Properties, diagnostic.Workspace, diagnostic.ProjectId, diagnostic.DocumentId,