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