16 references to IsConditionalExpression
Microsoft.CodeAnalysis.CSharp (4)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (4)
2960if (!conv1.IsConditionalExpression && conv2.IsConditionalExpression) 2962if (!conv2.IsConditionalExpression && conv1.IsConditionalExpression)
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
src\Analyzers\CSharp\Analyzers\UseCoalesceExpression\UseCoalesceExpressionHelpers.cs (1)
15return conversion.IsConditionalExpression;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
1082if (conversion.IsConditionalExpression)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (4)
397this.SpeculativeSemanticModel.GetConversion(newExpression, this.CancellationToken).IsConditionalExpression) 775this.SpeculativeSemanticModel.GetConversion(newExpression).IsConditionalExpression) 821if (newConversion.IsConditionalExpression) 825if (!originalConversion.IsConditionalExpression && !ConditionalExpressionConversionsAreAllowed(originalExpression))
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\UseCoalesceExpression\UseCoalesceExpressionHelpers.cs (1)
15return conversion.IsConditionalExpression;
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
1082if (conversion.IsConditionalExpression)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (4)
397this.SpeculativeSemanticModel.GetConversion(newExpression, this.CancellationToken).IsConditionalExpression) 775this.SpeculativeSemanticModel.GetConversion(newExpression).IsConditionalExpression) 821if (newConversion.IsConditionalExpression) 825if (!originalConversion.IsConditionalExpression && !ConditionalExpressionConversionsAreAllowed(originalExpression))