6 references to IsInExpressionTree
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
src\Analyzers\CSharp\Analyzers\InlineDeclaration\CSharpInlineDeclarationDiagnosticAnalyzer.cs (1)
187if (argumentExpression.IsInExpressionTree(semanticModel, expressionType, cancellationToken))
src\Analyzers\CSharp\Analyzers\UseCollectionExpression\UseCollectionExpressionHelpers.cs (1)
122if (expression.IsInExpressionTree(semanticModel, expressionType, cancellationToken))
src\Analyzers\CSharp\Analyzers\UseLocalFunction\CSharpUseLocalFunctionDiagnosticAnalyzer.cs (1)
307if (nodeToCheck.IsInExpressionTree(semanticModel, expressionTypeOpt, cancellationToken))
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpUseNotPatternDiagnosticAnalyzer.cs (1)
92if (node.IsInExpressionTree(context.SemanticModel, expressionOfTType, cancellationToken))
src\Analyzers\CSharp\Analyzers\UseUtf8StringLiteral\UseUtf8StringLiteralDiagnosticAnalyzer.cs (1)
88if (arrayCreationOperation.Syntax.IsInExpressionTree(semanticModel, expressionType, context.CancellationToken))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SemanticFacts\CSharpSemanticFacts.cs (1)
393=> node.IsInExpressionTree(semanticModel, expressionType, cancellationToken);