60 references to Conversion
Microsoft.CodeAnalysis.CSharp (60)
Binder\Binder.ValueChecks.cs (5)
782
case BoundKind.
Conversion
:
3604
case BoundKind.
Conversion
:
3969
case BoundKind.
Conversion
:
4344
case BoundKind.
Conversion
:
5115
case BoundKind.
Conversion
:
Binder\Binder_Attributes.cs (1)
864
case BoundKind.
Conversion
:
Binder\Binder_Expressions.cs (1)
7448
if (boundValue.Kind == BoundKind.
Conversion
)
Binder\Binder_Operators.cs (2)
1946
if (left.Kind == BoundKind.
Conversion
&& right.Kind == BoundKind.
Conversion
)
Binder\Binder_Patterns.cs (1)
686
if (convertedExpression.Kind == BoundKind.
Conversion
)
BoundTree\BoundExpressionExtensions.cs (1)
244
case BoundKind.
Conversion
:
BoundTree\BoundTreeVisitors.cs (1)
63
case BoundKind.
Conversion
:
CodeGen\EmitExpression.cs (6)
126
case BoundKind.
Conversion
:
1231
else if (receiver.Kind == BoundKind.
Conversion
)
1273
if (receiver.Kind == BoundKind.
Conversion
&& ((BoundConversion)receiver).ConversionKind == ConversionKind.Unboxing)
1535
case BoundKind.
Conversion
:
2164
case BoundKind.
Conversion
:
3918
case BoundKind.
Conversion
:
CodeGen\Optimizer.cs (1)
996
assignmentLocal.Type.IsPointerOrFunctionPointer() && right.Kind == BoundKind.
Conversion
&&
Compilation\CSharpSemanticModel.cs (4)
2191
if (highestBoundExprKind != BoundKind.
Conversion
)
2195
else if (((BoundConversion)highestBoundExpr).Operand.Kind != BoundKind.
Conversion
)
3523
case BoundKind.
Conversion
:
4292
case BoundKind.
Conversion
:
Compilation\MemberSemanticModel.cs (1)
1806
case BoundKind.
Conversion
:
FlowAnalysis\DefiniteAssignment.cs (1)
925
case BoundKind.
Conversion
:
FlowAnalysis\NullableWalker.cs (7)
2028
case BoundKind.
Conversion
:
2490
case BoundKind.
Conversion
:
5333
case BoundKind.
Conversion
:
5527
while (possiblyConversion.Kind == BoundKind.
Conversion
)
8049
if (expr.Kind != BoundKind.
Conversion
)
10386
case BoundKind.
Conversion
:
10838
if (node.Expression.Kind != BoundKind.
Conversion
)
Generated\BoundNodes.xml.Generated.cs (2)
2952
: base(BoundKind.
Conversion
, syntax, type, hasErrors || operand.HasErrors())
8978
case BoundKind.
Conversion
:
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
203
case BoundKind.
Conversion
:
533
if (operand.Kind == BoundKind.
Conversion
)
Lowering\DiagnosticsPass_Warnings.cs (9)
141
while (receiver.Kind == BoundKind.
Conversion
)
317
if (node.Left.ConstantValueOpt != null && node.Right.ConstantValueOpt == null && node.Right.Kind == BoundKind.
Conversion
)
322
if (node.Right.ConstantValueOpt != null && node.Left.ConstantValueOpt == null && node.Left.Kind == BoundKind.
Conversion
)
347
return node.Kind == BoundKind.
Conversion
&& ((BoundConversion)node).ExplicitCastInCode;
353
if (node.Kind != BoundKind.
Conversion
) return false;
577
if (operand.Kind == BoundKind.
Conversion
)
606
if (expr.Kind != BoundKind.
Conversion
)
865
if (node.Kind == BoundKind.
Conversion
)
889
while (right.Kind == BoundKind.
Conversion
)
Lowering\Extensions.cs (2)
56
else if (expr.Kind == BoundKind.
Conversion
)
103
if (expr.Kind == BoundKind.
Conversion
)
Lowering\LocalRewriter\LocalRewriter.cs (1)
1116
case BoundKind.
Conversion
:
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (1)
713
if (expression.Kind == BoundKind.
Conversion
)
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
565
case BoundKind.
Conversion
:
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
894
case BoundKind.
Conversion
:
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
249
case BoundKind.
Conversion
:
Lowering\LocalRewriter\LocalRewriter_DeconstructionAssignmentOperator.cs (1)
304
if (right.Kind == BoundKind.
Conversion
)
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (1)
221
while (expression.Kind == BoundKind.
Conversion
)
Lowering\LocalRewriter\LocalRewriter_StringConcat.cs (1)
615
if (expr.Kind == BoundKind.
Conversion
)
Operations\CSharpOperationFactory.cs (2)
89
case BoundKind.
Conversion
:
1096
if (boundConversion.ExplicitCastInCode && conversion.IsIdentity && boundOperand.Kind == BoundKind.
Conversion
)
Symbols\ConstantValueUtils.cs (1)
97
while (unconvertedBoundValue.Kind == BoundKind.
Conversion
)
Symbols\Source\ParameterHelpers.cs (1)
891
case BoundKind.
Conversion
:
Symbols\Source\SourceComplexParameterSymbol.cs (1)
399
if (convertedExpression.ConstantValueOpt == null && convertedExpression.Kind == BoundKind.
Conversion
&&