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