19 references to ImplementationLanguage
Microsoft.CodeAnalysis.Analyzers.UnitTests (19)
MetaAnalyzers\CompilerExtensionStrictApiAnalyzerTests.cs (19)
53TestCode = DefineFeature(ImplementationLanguage.CSharp, feature, supportedLanguage),
72TestCode = DefineFeature(ImplementationLanguage.CSharp, feature, supportedLanguage),
84TestCode = DefineFeature(ImplementationLanguage.CSharp, feature, supportedLanguage),
121TestCode = DefineFeature(ImplementationLanguage.CSharp, feature, supportedLanguage),
137TestCode = DefineFeature(ImplementationLanguage.VisualBasic, feature, supportedLanguage),
156TestCode = DefineFeature(ImplementationLanguage.VisualBasic, feature, supportedLanguage),
168TestCode = DefineFeature(ImplementationLanguage.VisualBasic, feature, supportedLanguage),
205TestCode = DefineFeature(ImplementationLanguage.VisualBasic, feature, supportedLanguage),
213private static string DefineFeature(ImplementationLanguage languageName, CompilerFeature feature, SupportedLanguage supportedLanguage)
219(ImplementationLanguage.CSharp, SupportedLanguage.CSharpAndVisualBasic) => "LanguageNames.CSharp, LanguageNames.VisualBasic",
220(ImplementationLanguage.VisualBasic, SupportedLanguage.CSharpAndVisualBasic) => "LanguageNames.VisualBasic, LanguageNames.CSharp",
226(ImplementationLanguage.CSharp, CompilerFeature.DiagnosticAnalyzer) =>
239(ImplementationLanguage.CSharp, CompilerFeature.DiagnosticSuppressor) =>
252(ImplementationLanguage.CSharp, CompilerFeature.ISourceGenerator) =>
263(ImplementationLanguage.CSharp, CompilerFeature.IIncrementalGenerator) =>
273(ImplementationLanguage.VisualBasic, CompilerFeature.DiagnosticAnalyzer) =>
288(ImplementationLanguage.VisualBasic, CompilerFeature.DiagnosticSuppressor) =>
303(ImplementationLanguage.VisualBasic, CompilerFeature.ISourceGenerator) =>
318(ImplementationLanguage.VisualBasic, CompilerFeature.IIncrementalGenerator) =>