22 references to AscendingOrDescendingKeyword
Microsoft.CodeAnalysis.CSharp (3)
Syntax.xml.Main.Generated.cs (1)
1744=> node.Update((ExpressionSyntax?)Visit(node.Expression) ?? throw new ArgumentNullException("expression"), VisitToken(node.AscendingOrDescendingKeyword));
Syntax.xml.Syntax.Generated.cs (2)
4786if (expression != this.Expression || ascendingOrDescendingKeyword != this.AscendingOrDescendingKeyword) 4796public OrderingSyntax WithExpression(ExpressionSyntax expression) => Update(expression, this.AscendingOrDescendingKeyword);
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (2)
312if (ordering.AscendingOrDescendingKeyword.Kind() == SyntaxKind.None) 316else if (orderByClauseSyntax.Orderings[0].AscendingOrDescendingKeyword.Kind() == SyntaxKind.None)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (13)
Generated\Syntax.Test.xml.Generated.cs (2)
12052Assert.Equal(SyntaxKind.None, node.AscendingOrDescendingKeyword.Kind()); 12053var newNode = node.WithExpression(node.Expression).WithAscendingOrDescendingKeyword(node.AscendingOrDescendingKeyword);
Parsing\ExpressionParsingTests.cs (11)
2567Assert.Equal(SyntaxKind.None, os.AscendingOrDescendingKeyword.Kind()); 2611Assert.Equal(SyntaxKind.None, os.AscendingOrDescendingKeyword.Kind()); 2616Assert.Equal(SyntaxKind.None, os.AscendingOrDescendingKeyword.Kind()); 2660Assert.NotEqual(default, os.AscendingOrDescendingKeyword); 2661Assert.Equal(SyntaxKind.AscendingKeyword, os.AscendingOrDescendingKeyword.Kind()); 2662Assert.False(os.AscendingOrDescendingKeyword.IsMissing); 2663Assert.Equal(SyntaxKind.AscendingKeyword, os.AscendingOrDescendingKeyword.ContextualKind()); 2708Assert.NotEqual(default, os.AscendingOrDescendingKeyword); 2709Assert.Equal(SyntaxKind.DescendingKeyword, os.AscendingOrDescendingKeyword.Kind()); 2710Assert.False(os.AscendingOrDescendingKeyword.IsMissing); 2711Assert.Equal(SyntaxKind.DescendingKeyword, os.AscendingOrDescendingKeyword.ContextualKind());
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (2)
312if (ordering.AscendingOrDescendingKeyword.Kind() == SyntaxKind.None) 316else if (orderByClauseSyntax.Orderings[0].AscendingOrDescendingKeyword.Kind() == SyntaxKind.None)
Roslyn.Diagnostics.CSharp.Analyzers (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (2)
312if (ordering.AscendingOrDescendingKeyword.Kind() == SyntaxKind.None) 316else if (orderByClauseSyntax.Orderings[0].AscendingOrDescendingKeyword.Kind() == SyntaxKind.None)