7 references to canConvert
Microsoft.CSharp (7)
Microsoft\CSharp\RuntimeBinder\Semantics\Binding\Better.cs (2)
454
bool a2b =
canConvert
(p1, p2);
455
bool b2a =
canConvert
(p2, p1);
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (2)
312
bool f12 =
canConvert
(type1, type2);
313
bool f21 =
canConvert
(type2, type1);
Microsoft\CSharp\RuntimeBinder\Semantics\MethodTypeInferrer.cs (3)
1648
if (pBound != pCandidate && !_binder.
canConvert
(pBound, pCandidate))
1666
if (pBound != pCandidate && !_binder.
canConvert
(pCandidate, pBound))
1686
if (pCandidate != pCandidate2 && !_binder.
canConvert
(pCandidate2, pCandidate))