Skip to content

Commit 61fb631

Browse files
committed
Merge pull request #1841 from sharwell/build-warning
Document parameter to fix build warning
2 parents 60911ef + 62e12e5 commit 61fb631

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

StyleCop.Analyzers/StyleCop.Analyzers.Test/Helpers/DiagnosticVerifier.Helper.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ protected static async Task<ImmutableArray<Diagnostic>> GetSortedDiagnosticsFrom
106106
/// <param name="source">Classes in the form of a string.</param>
107107
/// <param name="language">The language the source classes are in. Values may be taken from the
108108
/// <see cref="LanguageNames"/> class.</param>
109+
/// <param name="fileName">The file name for the document, or <see langword="null"/> to generate a default
110+
/// filename according to the specified <paramref name="language"/>.</param>
109111
/// <returns>A <see cref="Document"/> created from the source string.</returns>
110112
protected Document CreateDocument(string source, string language = LanguageNames.CSharp, string fileName = null)
111113
{

0 commit comments

Comments
 (0)