36 references to ThrowKeyword
Microsoft.CodeAnalysis.CSharp (9)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.CSharp.Features (3)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (19)
Generated\Syntax.Test.xml.Generated.cs (8)
272=> InternalSyntaxFactory.ThrowExpression(InternalSyntaxFactory.Token(SyntaxKind.ThrowKeyword), GenerateIdentifierName());
386=> InternalSyntaxFactory.ThrowStatement(new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.AttributeListSyntax>(), InternalSyntaxFactory.Token(SyntaxKind.ThrowKeyword), null, InternalSyntaxFactory.Token(SyntaxKind.SemicolonToken));
1782Assert.Equal(SyntaxKind.ThrowKeyword, node.ThrowKeyword.Kind);
2233Assert.Equal(SyntaxKind.ThrowKeyword, node.ThrowKeyword.Kind);
10622=> SyntaxFactory.ThrowExpression(SyntaxFactory.Token(SyntaxKind.ThrowKeyword), GenerateIdentifierName());
10736=> SyntaxFactory.ThrowStatement(new SyntaxList<AttributeListSyntax>(), SyntaxFactory.Token(SyntaxKind.ThrowKeyword), default(ExpressionSyntax), SyntaxFactory.Token(SyntaxKind.SemicolonToken));
12132Assert.Equal(SyntaxKind.ThrowKeyword, node.ThrowKeyword.Kind());
12583Assert.Equal(SyntaxKind.ThrowKeyword, node.ThrowKeyword.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Roslyn.Diagnostics.CSharp.Analyzers (1)