Skip to content

Commit

Permalink
fix formatting and add more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
heejaechang committed Feb 17, 2015
1 parent 677b289 commit be0a74b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Compilers/Core/Portable/Diagnostic/Diagnostic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ public bool IsWarningAsError

/// <summary>
/// Gets property bag for the diagnostic. it will return <see cref="ImmutableDictionary{TKey, TValue}.Empty"/> if there is no entry.
/// This can be used to put diagnostic specific information you want to pass around. for example, to corresponding fixer.
/// </summary>
public virtual ImmutableDictionary<string, string> Properties { get { return ImmutableDictionary<string, string>.Empty; } }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit be0a74b

Please sign in to comment.