28 references to GetConversion
Microsoft.CodeAnalysis.CSharp (28)
Binder\Binder_Conversions.cs (2)
73Debug.Assert(BoundNode.GetConversion(result, placeholder1) == conversion); 79Debug.Assert(BoundNode.GetConversion(result2, placeholder2) == conversion);
Binder\RefSafetyAnalysis.cs (1)
1010var underlyingConversion = BoundNode.GetConversion(placeholderConversion, placeholder);
Compilation\CSharpSemanticModel.cs (1)
2127conversion = BoundNode.GetConversion(initializer.ElementPointerConversion, initializer.ElementPointerPlaceholder);
Compilation\MemberSemanticModel.cs (2)
993BoundNode.GetConversion(boundForEach.ElementConversion, boundForEach.ElementPlaceholder), 994BoundNode.GetConversion(enumeratorInfoOpt.CurrentConversion, enumeratorInfoOpt.CurrentPlaceholder));
FlowAnalysis\NullableWalker.cs (8)
10273var underlyingConversion = BoundNode.GetConversion(placeholderConversion, placeholder); 10314var underlyingConversion = BoundNode.GetConversion(placeholderConversion, placeholder); 10515BoundNode.GetConversion(node.OperandConversion, node.OperandPlaceholder), 10545BoundNode.GetConversion(node.ResultConversion, node.ResultPlaceholder), 10600BoundNode.GetConversion(node.LeftConversion, node.LeftPlaceholder), 10614BoundNode.GetConversion(node.FinalConversion, node.FinalPlaceholder), 11183Conversion conversion = BoundNode.GetConversion(node.ElementConversion, node.ElementPlaceholder); 11604switch (BoundNode.GetConversion(node.OperandConversion, node.OperandPlaceholder).Kind)
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
877if (BoundNode.GetConversion(node.LeftConversion, node.LeftPlaceholder) is { IsUserDefined: true } leftConversion)
Lowering\LocalRewriter\LocalRewriter_AsOperator.cs (1)
49var conversion = BoundNode.GetConversion(operandConversion, operandPlaceholder);
Lowering\LocalRewriter\LocalRewriter_DeconstructionAssignmentOperator.cs (2)
237BoundNode.GetConversion(nestedConversion, placeholder), temps, effects, isUsed, inInit); 373if (BoundNode.GetConversion(conversion, placeholder).IsIdentity)
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (4)
33Debug.Assert(BoundNode.GetConversion(leftConversion, leftPlaceholder).IsValid); 92BoundNode.GetConversion(leftConversion, leftPlaceholder) is { Kind: ConversionKind.Identity or ConversionKind.ImplicitReference }) 99if (BoundNode.GetConversion(leftConversion, leftPlaceholder) is { IsIdentity: true } or { Kind: ConversionKind.ExplicitNullable }) 240Debug.Assert(BoundNode.GetConversion(leftConversion, leftPlaceholder).IsValid);
Operations\CSharpOperationFactory.cs (6)
1143Conversion conversion = BoundNode.GetConversion(boundAsOperator.OperandConversion, boundAsOperator.OperandPlaceholder); 1360Conversion inConversion = BoundNode.GetConversion(boundCompoundAssignmentOperator.LeftConversion, boundCompoundAssignmentOperator.LeftPlaceholder); 1361Conversion outConversion = BoundNode.GetConversion(boundCompoundAssignmentOperator.FinalConversion, boundCompoundAssignmentOperator.FinalPlaceholder); 1593Conversion valueConversion = BoundNode.GetConversion(boundNullCoalescingOperator.LeftConversion, boundNullCoalescingOperator.LeftPlaceholder); 1917BoundNode.GetConversion(enumeratorInfoOpt.CurrentConversion, enumeratorInfoOpt.CurrentPlaceholder), 1918BoundNode.GetConversion(boundForEachStatement.ElementConversion, boundForEachStatement.ElementPlaceholder),