1 write to _typeSrc
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (1)
51_typeSrc = typeSrc;
45 references to _typeSrc
Microsoft.CSharp (45)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (45)
101if (_binder.BindImplicitConversion(_exprSrc, _typeSrc, _typeDest, _needsExprDest, out _exprDest, _flags | CONVERTTYPE.ISEXPLICIT)) 106if (_typeSrc == null || _typeDest == null || _typeDest is MethodGroupType) 117if (_typeSrc is NullableType) 181return _binder.bindUserDefinedConversion(_exprSrc, _typeSrc, _typeDest, _needsExprDest, out _exprDest, false); 190Debug.Assert(_typeSrc != null); 195if (_typeDest.IsValueType && _binder.BindExplicitConversion(null, _typeSrc.StripNubs(), _typeDest, _flags | CONVERTTYPE.NOUDC)) 205Debug.Assert(valueSrc.Type == _typeSrc.StripNubs()); 221return _binder.bindUserDefinedConversion(_exprSrc, _typeSrc, _typeDest, _needsExprDest, out _exprDest, false); 236Debug.Assert(_typeSrc != null); 239if (!(_typeSrc is ArrayType arrSrc) || !arrSrc.IsSZArray || !(_typeDest is AggregateType aggDest) 281if (!arrayDest.IsSZArray || !(_typeSrc is AggregateType aggSrc) || !aggSrc.IsInterfaceType || aggSrc.TypeArgsAll.Count != 1) 346Debug.Assert(_typeSrc != null); 349if (_typeSrc is ArrayType arrSrc) 365if (_binder.canConvert(GetPredefindType(PredefinedType.PT_ARRAY), _typeSrc, CONVERTTYPE.NOUDC)) 385if (_typeSrc is PointerType || _typeSrc.FundamentalType <= FUNDTYPE.FT_LASTINTEGRAL && _typeSrc.IsNumericType) 413Debug.Assert(_typeSrc != null); 416if (!_typeSrc.IsEnumType) 456Debug.Assert(_typeSrc != null); 457Debug.Assert(_typeSrc.IsPredefType(PredefinedType.PT_DECIMAL)); 484bIsConversionOK = _binder.bindUserDefinedConversion(_exprSrc, _typeSrc, underlyingType, _needsExprDest, out _exprDest, false); 498Debug.Assert(_typeSrc != null); 501Debug.Assert(_typeSrc.IsEnumType); 503AggregateType underlyingType = _typeSrc.UnderlyingEnumType; 552Debug.Assert(_typeSrc != null); 561if (_typeSrc.IsPredefType(PredefinedType.PT_DECIMAL)) 566if (_typeSrc.IsNumericType || _typeSrc.IsPredefined && _typeSrc.PredefinedType == PredefinedType.PT_CHAR) 585else if (_typeSrc.IsPredefined && 586(_typeSrc.IsPredefType(PredefinedType.PT_OBJECT) || _typeSrc.IsPredefType(PredefinedType.PT_VALUE) || _typeSrc.IsPredefType(PredefinedType.PT_ENUM))) 605Debug.Assert(_typeSrc != null); 608if (!_typeSrc.IsSimpleType || !aggTypeDest.IsSimpleType) 615Debug.Assert(_typeSrc.IsPredefined && aggDest.IsPredefined()); 617PredefinedType ptSrc = _typeSrc.PredefinedType; 655bConversionOk = _binder.bindUserDefinedConversion(_exprSrc, _typeSrc, aggTypeDest, _needsExprDest, out _exprDest, false); 680Debug.Assert(_typeSrc != null); 683if (!(_typeSrc is AggregateType atSrc)) 708CConversions.HasGenericDelegateExplicitReferenceConversion(_typeSrc, aggTypeDest)) 726if (!(_typeSrc is PointerType) || aggTypeDest.FundamentalType > FUNDTYPE.FT_LASTINTEGRAL || !aggTypeDest.IsNumericType) 738Debug.Assert(_typeSrc != null); 771if (_typeSrc is VoidType)