2 implementations of Language
Microsoft.CodeAnalysis (1)
Operations\Operation.cs (1)
81public string Language
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Semantics\CollectionExpressionTests.cs (1)
27096string IOperation.Language => "";
48 references to Language
ILLink.RoslynAnalyzer (1)
IOperationExtensions.cs (1)
116 Debug.Assert (parenthesizedOperation.Language == LanguageNames.VisualBasic);
Metrics (2)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (2)
633return invocationOperation.TargetMethod.IsExtensionMethod && (invocationOperation.Language != LanguageNames.VisualBasic || invocationOperation.Instance == null); 1014Debug.Assert(parenthesizedOperation.Language == LanguageNames.VisualBasic);
Metrics.Legacy (2)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (2)
633return invocationOperation.TargetMethod.IsExtensionMethod && (invocationOperation.Language != LanguageNames.VisualBasic || invocationOperation.Instance == null); 1014Debug.Assert(parenthesizedOperation.Language == LanguageNames.VisualBasic);
Microsoft.CodeAnalysis.Analyzers (3)
MetaAnalyzers\CompareSymbolsCorrectlyAnalyzer.cs (1)
152if (binary.Language == LanguageNames.VisualBasic
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (2)
633return invocationOperation.TargetMethod.IsExtensionMethod && (invocationOperation.Language != LanguageNames.VisualBasic || invocationOperation.Instance == null); 1014Debug.Assert(parenthesizedOperation.Language == LanguageNames.VisualBasic);
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (2)
633return invocationOperation.TargetMethod.IsExtensionMethod && (invocationOperation.Language != LanguageNames.VisualBasic || invocationOperation.Instance == null); 1014Debug.Assert(parenthesizedOperation.Language == LanguageNames.VisualBasic);
Microsoft.CodeAnalysis.BannedApiAnalyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (2)
633return invocationOperation.TargetMethod.IsExtensionMethod && (invocationOperation.Language != LanguageNames.VisualBasic || invocationOperation.Instance == null); 1014Debug.Assert(parenthesizedOperation.Language == LanguageNames.VisualBasic);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
153Debug.Assert(parenthesizedOperation.Language == LanguageNames.VisualBasic);
Microsoft.CodeAnalysis.CSharp (4)
CSharpExtensions.cs (4)
791if (conversionExpression.Language == LanguageNames.CSharp) 817if (compoundAssignment.Language == LanguageNames.CSharp) 843if (compoundAssignment.Language == LanguageNames.CSharp) 868if (spread.Language == LanguageNames.CSharp)
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (2)
633return invocationOperation.TargetMethod.IsExtensionMethod && (invocationOperation.Language != LanguageNames.VisualBasic || invocationOperation.Instance == null); 1014Debug.Assert(parenthesizedOperation.Language == LanguageNames.VisualBasic);
Microsoft.CodeAnalysis.Test.Utilities (17)
Compilation\ControlFlowGraphVerifier.cs (12)
347if (graph.OriginalOperation.Language == LanguageNames.VisualBasic) 536if (graph.OriginalOperation.Language != LanguageNames.VisualBasic) 563if (graph.OriginalOperation.Language != LanguageNames.VisualBasic) 606switch (candidate.Language) 649switch (candidate.Language) 683if (graph.OriginalOperation.Language != LanguageNames.VisualBasic) 862if (reference.Language != LanguageNames.CSharp) 875if (reference.Language != LanguageNames.CSharp) 891if (reference.Language != LanguageNames.CSharp) 923if (reference.Language != LanguageNames.CSharp) 952if (reference.Language == LanguageNames.CSharp) 962else if (reference.Language == LanguageNames.VisualBasic)
Compilation\OperationTreeVerifier.cs (1)
334Assert.True(operation.Syntax.Language == operation.Language);
Compilation\TestOperationVisitor.cs (4)
56Assert.Equal(LanguageNames.CSharp, operation.Parent.Language); 60var language = operation.Language; 848switch (operation.Language) 859Debug.Fail($"Language {operation.Language} is unknown!");
Microsoft.CodeAnalysis.VisualBasic (5)
VisualBasicExtensions.vb (5)
1388If conversionExpression.Language = LanguageNames.VisualBasic Then 1405If argument.Language = LanguageNames.VisualBasic Then 1423If argument.Language = LanguageNames.VisualBasic Then 1446If compoundAssignment.Language = LanguageNames.VisualBasic Then 1468If compoundAssignment.Language = LanguageNames.VisualBasic Then
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
153Debug.Assert(parenthesizedOperation.Language == LanguageNames.VisualBasic);
Roslyn.Diagnostics.Analyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (2)
633return invocationOperation.TargetMethod.IsExtensionMethod && (invocationOperation.Language != LanguageNames.VisualBasic || invocationOperation.Instance == null); 1014Debug.Assert(parenthesizedOperation.Language == LanguageNames.VisualBasic);
Test.Utilities (2)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (2)
633return invocationOperation.TargetMethod.IsExtensionMethod && (invocationOperation.Language != LanguageNames.VisualBasic || invocationOperation.Instance == null); 1014Debug.Assert(parenthesizedOperation.Language == LanguageNames.VisualBasic);
Text.Analyzers (2)
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (2)
633return invocationOperation.TargetMethod.IsExtensionMethod && (invocationOperation.Language != LanguageNames.VisualBasic || invocationOperation.Instance == null); 1014Debug.Assert(parenthesizedOperation.Language == LanguageNames.VisualBasic);