13 references to HasBaseConversion
Microsoft.CSharp (13)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (1)
691if (SymbolLoader.HasBaseConversion(aggTypeDest, atSrc))
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (1)
489SymbolLoader.HasBaseConversion(mwtGet.GetType(), mwtSet.GetType())
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (5)
277if (SymbolLoader.HasBaseConversion(nubDst.UnderlyingType, _typeSrc) && !CConversions.FWrappingConv(_typeSrc, nubDst)) 449if (SymbolLoader.HasBaseConversion(nubSrc.UnderlyingType, _typeDest) && !CConversions.FUnwrappingConv(nubSrc, _typeDest)) 485if (!SymbolLoader.HasBaseConversion(_typeSrc, _typeDest)) 584if (!(_typeDest is AggregateType) || !SymbolLoader.HasBaseConversion(pSource, _typeDest)) 615if (_typeDest is AggregateType aggDest && SymbolLoader.HasBaseConversion(aggTypeSrc, aggDest))
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (4)
1007|| SymbolLoader.HasBaseConversion(type1, typeDel)) 1015|| SymbolLoader.HasBaseConversion(type2, typeDel)) 1029if (SymbolLoader.HasBaseConversion(type2, type1)) 1031else if (SymbolLoader.HasBaseConversion(type1, type2))
Microsoft\CSharp\RuntimeBinder\Semantics\TypeBind.cs (2)
237else if (arg is NullableType nubArg && SymbolLoader.HasBaseConversion(nubArg.UnderlyingType, typeBnd)) // This is inlining FBoxingConv 354return SymbolLoader.HasBaseConversion(arg, typeBnd);