13 references to HasBaseConversion
Microsoft.CSharp (13)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (1)
689
if (SymbolLoader.
HasBaseConversion
(aggTypeDest, atSrc))
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (1)
478
SymbolLoader.
HasBaseConversion
(mwtGet.GetType(), mwtSet.GetType())
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (5)
275
if (SymbolLoader.
HasBaseConversion
(nubDst.UnderlyingType, _typeSrc) && !CConversions.FWrappingConv(_typeSrc, nubDst))
447
if (SymbolLoader.
HasBaseConversion
(nubSrc.UnderlyingType, _typeDest) && !CConversions.FUnwrappingConv(nubSrc, _typeDest))
483
if (!SymbolLoader.
HasBaseConversion
(_typeSrc, _typeDest))
582
if (!(_typeDest is AggregateType) || !SymbolLoader.
HasBaseConversion
(pSource, _typeDest))
613
if (_typeDest is AggregateType aggDest && SymbolLoader.
HasBaseConversion
(aggTypeSrc, aggDest))
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (4)
984
|| SymbolLoader.
HasBaseConversion
(type1, typeDel))
992
|| SymbolLoader.
HasBaseConversion
(type2, typeDel))
1006
if (SymbolLoader.
HasBaseConversion
(type2, type1))
1008
else if (SymbolLoader.
HasBaseConversion
(type1, type2))
Microsoft\CSharp\RuntimeBinder\Semantics\TypeBind.cs (2)
233
else if (arg is NullableType nubArg && SymbolLoader.
HasBaseConversion
(nubArg.UnderlyingType, typeBnd)) // This is inlining FBoxingConv
349
return SymbolLoader.
HasBaseConversion
(arg, typeBnd);