39 references to InequalityOperatorName
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\IMethodSymbolExtensions.cs (1)
87WellKnownMemberNames.InequalityOperatorName => PredefinedOperator.Inequality,
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationOperatorSymbol.cs (1)
98CodeGenerationOperatorKind.Inequality => WellKnownMemberNames.InequalityOperatorName,
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Operators.cs (1)
2405else if (methodOpt.Name is WellKnownMemberNames.EqualityOperatorName or WellKnownMemberNames.InequalityOperatorName)
Binder\Semantics\Operators\OperatorFacts.cs (2)
89case SyntaxKind.ExclamationEqualsToken: return WellKnownMemberNames.InequalityOperatorName; 203case BinaryOperatorKind.NotEqual: return WellKnownMemberNames.InequalityOperatorName;
Lowering\DiagnosticsPass_Warnings.cs (1)
362string opName = (oldOperatorKind == BinaryOperatorKind.ObjectEqual) ? WellKnownMemberNames.EqualityOperatorName : WellKnownMemberNames.InequalityOperatorName;
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1218case WellKnownMemberNames.InequalityOperatorName:
Symbols\Source\SourceMemberContainerSymbol.cs (2)
2476CheckForUnmatchedOperator(diagnostics, WellKnownMemberNames.EqualityOperatorName, WellKnownMemberNames.InequalityOperatorName); 2589this.GetOperators(WellKnownMemberNames.InequalityOperatorName).Any();
Symbols\Source\SourceUserDefinedOperatorSymbol.cs (1)
84if (IsAbstract || IsVirtual || (name != WellKnownMemberNames.EqualityOperatorName && name != WellKnownMemberNames.InequalityOperatorName))
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (1)
393case WellKnownMemberNames.InequalityOperatorName:
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperatorBase.cs (1)
42Debug.Assert(name == WellKnownMemberNames.EqualityOperatorName || name == WellKnownMemberNames.InequalityOperatorName);
Symbols\Synthesized\Records\SynthesizedRecordInequalityOperator.cs (1)
30: base(containingType, WellKnownMemberNames.InequalityOperatorName, memberOffset, diagnostics)
Syntax\SyntaxKindFacts.cs (1)
1056case WellKnownMemberNames.InequalityOperatorName: return SyntaxKind.ExclamationEqualsToken;
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
916: WellKnownMemberNames.InequalityOperatorName;
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (7)
Attributes\AttributeTests_Synthesized.cs (5)
684var op_Inequality = record.GetMember(WellKnownMemberNames.InequalityOperatorName); 751var op_Inequality = record.GetMember(WellKnownMemberNames.InequalityOperatorName); 826var op_Inequality = record.GetMember(WellKnownMemberNames.InequalityOperatorName); 903var op_Inequality = record.GetMember(WellKnownMemberNames.InequalityOperatorName); 954var op_Inequality = record.GetMember(WellKnownMemberNames.InequalityOperatorName);
Semantics\RecordTests.cs (2)
20342op = comp.GetMembers("A." + WellKnownMemberNames.InequalityOperatorName).OfType<SynthesizedRecordInequalityOperator>().Single(); 20461op = comp.GetMembers("A." + WellKnownMemberNames.InequalityOperatorName).OfType<SynthesizedRecordInequalityOperator>().Single();
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\OperatorsAndIndexer\UnnamedSymbolCompletionProvider_Operators.cs (1)
44(WellKnownMemberNames.InequalityOperatorName, OperatorPosition.Infix),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\RecordStructTests.cs (1)
4914op = comp.GetMembers("A." + WellKnownMemberNames.InequalityOperatorName).OfType<SynthesizedRecordInequalityOperator>().Single();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\CompilationAPITests.cs (1)
2754[InlineData(WellKnownMemberNames.InequalityOperatorName, "int.operator !=(int, int)")]
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
332OperatorKind.Inequality => WellKnownMemberNames.InequalityOperatorName,
Recommendations\CSharpRecommendationServiceRunner_Operators.cs (1)
91case WellKnownMemberNames.InequalityOperatorName:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
916: WellKnownMemberNames.InequalityOperatorName;
Microsoft.CodeAnalysis.Features (1)
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeFromMembersCodeRefactoringProvider.cs (1)
123HasOperator(containingType, WellKnownMemberNames.InequalityOperatorName);
Microsoft.CodeAnalysis.VisualBasic (6)
Binding\DocumentationCommentCrefBinder.vb (1)
979CollectOperatorsAndConversionsInType(type, symbols, MethodKind.UserDefinedOperator, WellKnownMemberNames.InequalityOperatorName, opInfo, useSiteInfo)
Semantics\Operators.vb (3)
104operators.Add(WellKnownMemberNames.InequalityOperatorName, New OperatorInfo(BinaryOperatorKind.NotEquals)) 229Return WellKnownMemberNames.InequalityOperatorName 3069WellKnownMemberNames.InequalityOperatorName, New OperatorInfo(opKind),
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
3652nameOfThePair = WellKnownMemberNames.InequalityOperatorName
Symbols\Source\SourceMethodSymbol.vb (1)
966Return WellKnownMemberNames.InequalityOperatorName
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Compilation\CompilationAPITests.vb (1)
1754<InlineData(WellKnownMemberNames.InequalityOperatorName, "Public Shared Operator <>(left As Integer, right As Integer) As Boolean")>
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
783Return WellKnownMemberNames.InequalityOperatorName
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\IMethodSymbolExtensions.cs (1)
87WellKnownMemberNames.InequalityOperatorName => PredefinedOperator.Inequality,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationOperatorSymbol.cs (1)
98CodeGenerationOperatorKind.Inequality => WellKnownMemberNames.InequalityOperatorName,