40 references to BuiltinOperator
Microsoft.CodeAnalysis (2)
Compilation\Compilation.cs (2)
1531/// cref="MethodKind.BuiltinOperator"/> for a binary operator. Built-in operators are commonly created for 1559/// cref="MethodKind.BuiltinOperator"/> for a unary operator. Built-in operators are commonly created for
Microsoft.CodeAnalysis.CodeStyle (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\IMethodSymbolExtensions.cs (1)
50if (symbol.MethodKind == MethodKind.BuiltinOperator)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions_Accessibility.cs (1)
153if (symbol is IMethodSymbol { MethodKind: MethodKind.BuiltinOperator })
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
375case MethodKind.BuiltinOperator:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
262if ((kind1 == MethodKind.BuiltinOperator && kind2 == MethodKind.UserDefinedOperator) || 263(kind1 == MethodKind.UserDefinedOperator && kind2 == MethodKind.BuiltinOperator))
Microsoft.CodeAnalysis.CSharp (4)
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
521case MethodKind.BuiltinOperator:
Symbols\PublicModel\MethodSymbol.cs (2)
57case MethodKind.BuiltinOperator: 58return MethodKind.BuiltinOperator;
Symbols\Synthesized\SynthesizedIntrinsicOperatorSymbol.cs (1)
70return MethodKind.BuiltinOperator;
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\ExplicitInterfaceMemberCompletionProvider.CompletionSymbolDisplay.cs (1)
61case MethodKind.BuiltinOperator:
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\OperatorTests.cs (2)
7618Assert.Equal(MethodKind.BuiltinOperator, symbol1.MethodKind); 8394Assert.Equal(MethodKind.BuiltinOperator, symbol1.MethodKind);
Semantics\UnsafeTests.cs (2)
8873Assert.Equal(MethodKind.BuiltinOperator, summaryMethod.MethodKind); 9335Assert.Equal(MethodKind.BuiltinOperator, summaryMethod.MethodKind);
Semantics\Utf8StringsLiteralsTests.cs (1)
4086Assert.Equal(MethodKind.BuiltinOperator, method.MethodKind);
Microsoft.CodeAnalysis.Features (5)
ConvertToInterpolatedString\AbstractConvertConcatenationToInterpolatedStringRefactoringProvider.cs (1)
281MethodKind: MethodKind.BuiltinOperator,
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
360MethodKind.BuiltinOperator or MethodKind.UserDefinedOperator or MethodKind.Conversion => FeaturesResources.operator_,
LanguageServiceIndexFormat\SymbolMoniker.cs (1)
33if (symbol is IMethodSymbol method && method.MethodKind == MethodKind.BuiltinOperator)
RQName\RQNodeBuilder.cs (1)
201MethodKind.BuiltinOperator or
Shared\Extensions\ISymbolExtensions_2.cs (1)
100MethodKind.BuiltinOperator)
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\TestOperationVisitor.cs (1)
810if (method.MethodKind == MethodKind.BuiltinOperator)
Microsoft.CodeAnalysis.VisualBasic (5)
SymbolDisplay\SymbolDisplayVisitor.Members.vb (3)
259Case MethodKind.UserDefinedOperator, MethodKind.BuiltinOperator 345Case MethodKind.UserDefinedOperator, MethodKind.BuiltinOperator 383If symbol.MethodKind = MethodKind.BuiltinOperator Then
Symbols\SymbolExtensions.vb (1)
59Case MethodKind.Conversion, MethodKind.UserDefinedOperator, MethodKind.BuiltinOperator
Symbols\SynthesizedSymbols\SynthesizedIntrinsicOperatorSymbol.vb (1)
160Return MethodKind.BuiltinOperator
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Semantics\BinaryOperators.vb (1)
1225Assert.Equal(MethodKind.BuiltinOperator, symbol1.MethodKind)
Semantics\UnaryOperators.vb (1)
756Assert.Equal(MethodKind.BuiltinOperator, symbol1.MethodKind)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Classification\SyntaxClassification\NameSyntaxClassifier.vb (1)
224Case MethodKind.BuiltinOperator,
Microsoft.CodeAnalysis.Workspaces (7)
FindSymbols\FindReferences\Finders\OperatorSymbolReferenceFinder.cs (1)
18=> symbol.MethodKind is MethodKind.UserDefinedOperator or MethodKind.BuiltinOperator;
Shared\Extensions\SemanticModelExtensions.cs (1)
52methodSymbol.MethodKind == MethodKind.BuiltinOperator &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\IMethodSymbolExtensions.cs (1)
50if (symbol.MethodKind == MethodKind.BuiltinOperator)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions_Accessibility.cs (1)
153if (symbol is IMethodSymbol { MethodKind: MethodKind.BuiltinOperator })
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
375case MethodKind.BuiltinOperator:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
262if ((kind1 == MethodKind.BuiltinOperator && kind2 == MethodKind.UserDefinedOperator) || 263(kind1 == MethodKind.UserDefinedOperator && kind2 == MethodKind.BuiltinOperator))
Microsoft.VisualStudio.LanguageServices (1)
Progression\GraphBuilder.cs (1)
526case MethodKind.BuiltinOperator:
Microsoft.VisualStudio.LanguageServices.CSharp (1)
LanguageService\CSharpHelpContextService.cs (1)
199if (symbol is IMethodSymbol method && method.MethodKind == MethodKind.BuiltinOperator)