19 references to ImplementationLanguage
Microsoft.CodeAnalysis.Analyzers.UnitTests (19)
MetaAnalyzers\CompilerExtensionStrictApiAnalyzerTests.cs (19)
52TestCode = DefineFeature(ImplementationLanguage.CSharp, feature, supportedLanguage),
70TestCode = DefineFeature(ImplementationLanguage.CSharp, feature, supportedLanguage),
82TestCode = DefineFeature(ImplementationLanguage.CSharp, feature, supportedLanguage),
119TestCode = DefineFeature(ImplementationLanguage.CSharp, feature, supportedLanguage),
134TestCode = DefineFeature(ImplementationLanguage.VisualBasic, feature, supportedLanguage),
152TestCode = DefineFeature(ImplementationLanguage.VisualBasic, feature, supportedLanguage),
164TestCode = DefineFeature(ImplementationLanguage.VisualBasic, feature, supportedLanguage),
201TestCode = DefineFeature(ImplementationLanguage.VisualBasic, feature, supportedLanguage),
209private static string DefineFeature(ImplementationLanguage languageName, CompilerFeature feature, SupportedLanguage supportedLanguage)
215(ImplementationLanguage.CSharp, SupportedLanguage.CSharpAndVisualBasic) => "LanguageNames.CSharp, LanguageNames.VisualBasic",
216(ImplementationLanguage.VisualBasic, SupportedLanguage.CSharpAndVisualBasic) => "LanguageNames.VisualBasic, LanguageNames.CSharp",
222(ImplementationLanguage.CSharp, CompilerFeature.DiagnosticAnalyzer) =>
235(ImplementationLanguage.CSharp, CompilerFeature.DiagnosticSuppressor) =>
248(ImplementationLanguage.CSharp, CompilerFeature.ISourceGenerator) =>
259(ImplementationLanguage.CSharp, CompilerFeature.IIncrementalGenerator) =>
269(ImplementationLanguage.VisualBasic, CompilerFeature.DiagnosticAnalyzer) =>
284(ImplementationLanguage.VisualBasic, CompilerFeature.DiagnosticSuppressor) =>
299(ImplementationLanguage.VisualBasic, CompilerFeature.ISourceGenerator) =>
314(ImplementationLanguage.VisualBasic, CompilerFeature.IIncrementalGenerator) =>