10 references to SwitchExpression
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Conversions.cs (1)
159if (conversion.Kind == ConversionKind.SwitchExpression)
Binder\Semantics\Conversions\Conversion.cs (2)
366return new Conversion(ConversionKind.SwitchExpression, innerConversions); 724return Kind == ConversionKind.SwitchExpression;
Binder\Semantics\Conversions\ConversionKindExtensions.cs (1)
47case SwitchExpression:
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (1)
627case ConversionKind.SwitchExpression:
Compilation\CSharpSemanticModel.cs (1)
2131if (highestBoundExpr is BoundConversion { ConversionKind: ConversionKind.SwitchExpression, Conversion: var convertedSwitchConversion })
FlowAnalysis\NullableWalker.cs (2)
2118case ConversionKind.ConditionalExpression or ConversionKind.SwitchExpression or ConversionKind.ObjectCreation when 8962case ConversionKind.SwitchExpression:
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
37case ConversionKind.SwitchExpression:
Lowering\LocalRewriter\LocalRewriter_TupleBinaryOperator.cs (1)
233case ConversionKind.SwitchExpression: // a switch expression must have its arms converted