24 references to TrueOperatorName
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationOperatorSymbol.cs (1)
111CodeGenerationOperatorKind.True => WellKnownMemberNames.TrueOperatorName,
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Operators.cs (2)
1093var result = HasApplicableBooleanOperator(namedType, isNegative ? WellKnownMemberNames.FalseOperatorName : WellKnownMemberNames.TrueOperatorName, type, ref useSiteInfo, out userDefinedOperator); 1181if (!HasApplicableBooleanOperator(t, WellKnownMemberNames.TrueOperatorName, signature.LeftType, ref useSiteInfo, out trueOperator) ||
Binder\Semantics\Operators\OperatorFacts.cs (2)
111case SyntaxKind.TrueKeyword: return WellKnownMemberNames.TrueOperatorName; 181case UnaryOperatorKind.True: return WellKnownMemberNames.TrueOperatorName;
Compilation\CSharpCompilation.cs (1)
4466if (syntaxKind == SyntaxKind.None || name is WellKnownMemberNames.TrueOperatorName or WellKnownMemberNames.FalseOperatorName)
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
673if (operatorName == WellKnownMemberNames.TrueOperatorName)
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1237case WellKnownMemberNames.TrueOperatorName:
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2475CheckForUnmatchedOperator(diagnostics, WellKnownMemberNames.TrueOperatorName, WellKnownMemberNames.FalseOperatorName);
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (2)
374case WellKnownMemberNames.TrueOperatorName: 424case WellKnownMemberNames.TrueOperatorName:
Syntax\SyntaxKindFacts.cs (1)
1077case WellKnownMemberNames.TrueOperatorName: return SyntaxKind.TrueKeyword;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\CompilationAPITests.cs (1)
3004compilation.CreateBuiltinOperator(WellKnownMemberNames.TrueOperatorName, intType, intType));
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
341OperatorKind.True => WellKnownMemberNames.TrueOperatorName,
Recommendations\CSharpRecommendationServiceRunner_Operators.cs (1)
38if (method.Name is WellKnownMemberNames.TrueOperatorName or WellKnownMemberNames.FalseOperatorName)
Microsoft.CodeAnalysis.VisualBasic (6)
Binding\DocumentationCommentCrefBinder.vb (1)
904CollectOperatorsAndConversionsInType(type, symbols, MethodKind.UserDefinedOperator, WellKnownMemberNames.TrueOperatorName, opInfo, useSiteInfo)
Semantics\Operators.vb (3)
92operators.Add(WellKnownMemberNames.TrueOperatorName, New OperatorInfo(UnaryOperatorKind.IsTrue)) 284Return WellKnownMemberNames.TrueOperatorName 2956WellKnownMemberNames.TrueOperatorName, New OperatorInfo(UnaryOperatorKind.IsTrue),
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
3667nameOfThePair = WellKnownMemberNames.TrueOperatorName
Symbols\Source\SourceMethodSymbol.vb (1)
928Return WellKnownMemberNames.TrueOperatorName
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Compilation\CompilationAPITests.vb (1)
1882Assert.Throws(Of ArgumentException)(Nothing, Function() compilation.CreateBuiltinOperator(WellKnownMemberNames.TrueOperatorName, intType, intType))
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
801Return WellKnownMemberNames.TrueOperatorName
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationOperatorSymbol.cs (1)
111CodeGenerationOperatorKind.True => WellKnownMemberNames.TrueOperatorName,