7 references to GetExpressionOfExpressionStatement
Microsoft.CodeAnalysis.CodeStyle (7)
src\Analyzers\Core\Analyzers\UseCollectionInitializer\AbstractUseCollectionInitializerAnalyzer.cs (1)
157(TExpressionSyntax)this.SyntaxFacts.GetExpressionOfExpressionStatement(expressionStatement),
src\Analyzers\Core\Analyzers\UseCollectionInitializer\UpdateExpressionState.cs (4)
361var expression = (TExpressionSyntax)@this.SyntaxFacts.GetExpressionOfExpressionStatement(expressionStatement); 389(TExpressionSyntax)@this.SyntaxFacts.GetExpressionOfExpressionStatement(childStatement), 423(TExpressionSyntax)@this.SyntaxFacts.GetExpressionOfExpressionStatement(trueChildStatement), 442(TExpressionSyntax)@this.SyntaxFacts.GetExpressionOfExpressionStatement(falseChildStatement),
src\Analyzers\Core\Analyzers\UseCollectionInitializer\UseCollectionInitializerHelpers.cs (1)
30var expression = syntaxFacts.GetExpressionOfExpressionStatement(match);
src\Analyzers\Core\Analyzers\UseNullPropagation\AbstractUseNullPropagationDiagnosticAnalyzer_IfStatement.cs (1)
59(TExpressionSyntax)syntaxFacts.GetExpressionOfExpressionStatement(expressionStatement),