17 references to RemoveConversion
Microsoft.CodeAnalysis.CSharp (17)
FlowAnalysis\NullableWalker.cs (16)
2955
if (!expr.IsSuppressed &&
RemoveConversion
(expr, includeExplicitConversions: false).expression.Kind != BoundKind.ThrowExpression)
5214
var (rightOperand, rightConversion) =
RemoveConversion
(binary.Right, includeExplicitConversions: false);
5439
var expressionWithoutConversion =
RemoveConversion
(expression, includeExplicitConversions: true).expression;
5683
var (operand, conversion) =
RemoveConversion
(node, includeExplicitConversions: true);
5729
(node, _) =
RemoveConversion
(node, includeExplicitConversions: true);
6079
(operandNoConversion, conversion) =
RemoveConversion
(operand, includeExplicitConversions: false);
7753
(argument, conversion) =
RemoveConversion
(argument, includeExplicitConversions: false);
7968
var (elementNoConversion, _) =
RemoveConversion
(elementExpression, includeExplicitConversions: false);
8272
(BoundExpression operand, Conversion conversion) =
RemoveConversion
(node, includeExplicitConversions: true);
8327
(BoundExpression operand, Conversion conversion) =
RemoveConversion
(expr, includeExplicitConversions: false);
8750
|| convertedNode ==
RemoveConversion
(conversionOpt, includeExplicitConversions: false).expression
8751
|| convertedNode ==
RemoveConversion
(conversionOpt, includeExplicitConversions: true).expression);
10203
var argConversion =
RemoveConversion
(invocation.Arguments[0], includeExplicitConversions: false).conversion;
10526
var (rightConversionOperand, rightConversion) =
RemoveConversion
(node.Right, includeExplicitConversions: false);
10844
var (expr, conversion) =
RemoveConversion
(node.Expression, includeExplicitConversions: false);
11255
var (operand, conversion) =
RemoveConversion
(node.Operand, includeExplicitConversions: false);
FlowAnalysis\NullableWalker_Patterns.cs (1)
931
(BoundExpression expression, Conversion conversion) =
RemoveConversion
(arm.Value, includeExplicitConversions: false);