6 references to ComparisonOperatorDeclaration
Roslyn.Diagnostics.Analyzers (6)
src\RoslynAnalyzers\Utilities\Workspaces\SyntaxGeneratorExtensions.cs (6)
67return generator.ComparisonOperatorDeclaration(OperatorKind.Equality, containingType, statements.ToArray());
121return generator.ComparisonOperatorDeclaration(OperatorKind.Inequality, containingType, returnStatement);
173return generator.ComparisonOperatorDeclaration(OperatorKind.LessThan, containingType, returnStatement);
220return generator.ComparisonOperatorDeclaration(OperatorKind.LessThanOrEqual, containingType, returnStatement);
268return generator.ComparisonOperatorDeclaration(OperatorKind.GreaterThan, containingType, returnStatement);
319return generator.ComparisonOperatorDeclaration(OperatorKind.GreaterThanOrEqual, containingType, returnStatement);