2 overrides of ThrowExpression
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3113public override SyntaxNode ThrowExpression(SyntaxNode expression)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
378Public Overrides Function ThrowExpression(expression As SyntaxNode) As SyntaxNode
8 references to ThrowExpression
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (2)
40return codeDefinitionFactory.ThrowExpression( 417=> factory.ThrowExpression(CreateNewArgumentNullException(factory, compilation, parameter));
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\UseThrowExpression\UseThrowExpressionCodeFixProvider.cs (1)
59generator.ThrowExpression(throwStatementExpression)));
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\UseThrowExpression\UseThrowExpressionCodeFixProvider.cs (1)
59generator.ThrowExpression(throwStatementExpression)));
Microsoft.CodeAnalysis.Features (1)
InitializeParameter\AbstractAddParameterCheckCodeRefactoringProvider.cs (1)
522generator.ThrowExpression(
Microsoft.CodeAnalysis.Workspaces (3)
Editing\SyntaxGenerator.cs (1)
1597/// True if <see cref="ThrowExpression"/> can be used
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (2)
40return codeDefinitionFactory.ThrowExpression( 417=> factory.ThrowExpression(CreateNewArgumentNullException(factory, compilation, parameter));