8 references to SourceLanguage
System.Windows.Forms.Analyzers.Tests (8)
TestFileLoader.cs (8)
20
public static string GetTestFilePath(string toolName, string testName,
SourceLanguage
language)
30
if (language !=
SourceLanguage
.None)
32
builder.Append(language ==
SourceLanguage
.CSharp ? ".cs" : ".vb");
38
public static Task<string> LoadTestFileAsync(string pathSegment, string testName,
SourceLanguage
language =
SourceLanguage
.CSharp)
57
return await LoadTestFileAsync(Path.Join("Analyzers", toolName), testName,
SourceLanguage
.None).ConfigureAwait(false);
65
return await LoadTestFileAsync(Path.Join("Generators", toolName), testName,
SourceLanguage
.None).ConfigureAwait(false);
81
return await LoadTestFileAsync(Path.Join("Analyzers", toolName), testName,
SourceLanguage
.VisualBasic).ConfigureAwait(false);