2 overrides of Language
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpCompilation.cs (1)
163public override string Language
Microsoft.CodeAnalysis.VisualBasic (1)
Compilation\VisualBasicCompilation.vb (1)
186Public Overrides ReadOnly Property Language As String
27 references to Language
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\SuppressMessageAttributeState.TargetSymbolResolver.cs (1)
104if (_compilation.Language == LanguageNames.CSharp)
DocumentationCommentId.cs (1)
1299memberName = DecodePropertyName(memberName, compilation.Language);
PEWriter\PeWriter.cs (1)
152nativePdbWriterOpt.WriteCompilerVersion(context.Module.CommonCompilation.Language);
Microsoft.CodeAnalysis.CodeStyle (6)
src\Analyzers\Core\Analyzers\NamingStyle\NamingStyleDiagnosticAnalyzerBase.cs (1)
167builder["OptionLanguage"] = compilation.Language;
src\Compilers\Core\Portable\DiagnosticAnalyzer\SuppressMessageAttributeState.TargetSymbolResolver.cs (1)
104if (_compilation.Language == LanguageNames.CSharp)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.DynamicTypeSymbolKey.cs (1)
22if (reader.Compilation.Language == LanguageNames.VisualBasic)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.FunctionPointerTypeSymbolKey.cs (1)
84if (reader.Compilation.Language == LanguageNames.VisualBasic)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamedTypeSymbolKey.cs (1)
56if (isNativeIntegerType && reader.Compilation.Language == LanguageNames.CSharp)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.PointerTypeSymbolKey.cs (1)
27if (reader.Compilation.Language == LanguageNames.VisualBasic)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
326if (compilation.Language == LanguageNames.VisualBasic)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
1653if (nodeContext.ContainingSymbol.Name.StartsWith("Funky") && nodeContext.Compilation.Language == "C#")
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\Analyzers\NamingStyle\NamingStyleDiagnosticAnalyzerBase.cs (1)
167builder["OptionLanguage"] = compilation.Language;
src\Compilers\Core\Portable\DiagnosticAnalyzer\SuppressMessageAttributeState.TargetSymbolResolver.cs (1)
104if (_compilation.Language == LanguageNames.CSharp)
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\CompilationExtensions.cs (1)
235if (declaration.DeclaredSymbol.Kind == SymbolKind.Method && compilation.Language == LanguageNames.VisualBasic)
Diagnostics\OperationTestAnalyzer.cs (2)
102if (operationBlockContext.Compilation.Language != "Stumble") 107if (operationContext.ContainingSymbol.Name.StartsWith("Funky") && operationContext.Compilation.Language != "Mumble")
PDB\DeterministicBuildCompilationTestHelpers.cs (1)
73Assert.Equal(compilation.Language, pdbOptions["language"]);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.vb (1)
961If nodeContext.ContainingSymbol.Name.StartsWith("Funky") AndAlso nodeContext.Compilation.Language = "Visual Basic" Then
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (2)
SymbolDisplay\SymbolDisplayTests.vb (2)
5364If comp.Language = "C#" Then 5412If comp.Language = "C#" Then
Microsoft.CodeAnalysis.Workspaces (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.DynamicTypeSymbolKey.cs (1)
22if (reader.Compilation.Language == LanguageNames.VisualBasic)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.FunctionPointerTypeSymbolKey.cs (1)
84if (reader.Compilation.Language == LanguageNames.VisualBasic)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.NamedTypeSymbolKey.cs (1)
56if (isNativeIntegerType && reader.Compilation.Language == LanguageNames.CSharp)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.PointerTypeSymbolKey.cs (1)
27if (reader.Compilation.Language == LanguageNames.VisualBasic)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
326if (compilation.Language == LanguageNames.VisualBasic)
Workspace\Solution\SolutionCompilationState.RootedSymbolSet.cs (1)
107if (this.Compilation.Language == LanguageNames.CSharp &&
System.Windows.Forms.Analyzers (1)
System\Windows\Forms\Analyzers\AppManifestAnalyzer.cs (1)
63switch (context.Compilation.Language)