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