1 write to _typeSrc
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (1)
50_typeSrc = typeSrc;
45 references to _typeSrc
Microsoft.CSharp (45)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (45)
100if (_binder.BindImplicitConversion(_exprSrc, _typeSrc, _typeDest, _needsExprDest, out _exprDest, _flags | CONVERTTYPE.ISEXPLICIT)) 105if (_typeSrc == null || _typeDest == null || _typeDest is MethodGroupType) 116if (_typeSrc is NullableType) 180return _binder.bindUserDefinedConversion(_exprSrc, _typeSrc, _typeDest, _needsExprDest, out _exprDest, false); 189Debug.Assert(_typeSrc != null); 194if (_typeDest.IsValueType && _binder.BindExplicitConversion(null, _typeSrc.StripNubs(), _typeDest, _flags | CONVERTTYPE.NOUDC)) 204Debug.Assert(valueSrc.Type == _typeSrc.StripNubs()); 220return _binder.bindUserDefinedConversion(_exprSrc, _typeSrc, _typeDest, _needsExprDest, out _exprDest, false); 235Debug.Assert(_typeSrc != null); 238if (!(_typeSrc is ArrayType arrSrc) || !arrSrc.IsSZArray || !(_typeDest is AggregateType aggDest) 280if (!arrayDest.IsSZArray || !(_typeSrc is AggregateType aggSrc) || !aggSrc.IsInterfaceType || aggSrc.TypeArgsAll.Count != 1) 345Debug.Assert(_typeSrc != null); 348if (_typeSrc is ArrayType arrSrc) 364if (_binder.canConvert(GetPredefindType(PredefinedType.PT_ARRAY), _typeSrc, CONVERTTYPE.NOUDC)) 384if (_typeSrc is PointerType || _typeSrc.FundamentalType <= FUNDTYPE.FT_LASTINTEGRAL && _typeSrc.IsNumericType) 412Debug.Assert(_typeSrc != null); 415if (!_typeSrc.IsEnumType) 455Debug.Assert(_typeSrc != null); 456Debug.Assert(_typeSrc.IsPredefType(PredefinedType.PT_DECIMAL)); 483bIsConversionOK = _binder.bindUserDefinedConversion(_exprSrc, _typeSrc, underlyingType, _needsExprDest, out _exprDest, false); 497Debug.Assert(_typeSrc != null); 500Debug.Assert(_typeSrc.IsEnumType); 502AggregateType underlyingType = _typeSrc.UnderlyingEnumType; 551Debug.Assert(_typeSrc != null); 560if (_typeSrc.IsPredefType(PredefinedType.PT_DECIMAL)) 565if (_typeSrc.IsNumericType || _typeSrc.IsPredefined && _typeSrc.PredefinedType == PredefinedType.PT_CHAR) 584else if (_typeSrc.IsPredefined && 585(_typeSrc.IsPredefType(PredefinedType.PT_OBJECT) || _typeSrc.IsPredefType(PredefinedType.PT_VALUE) || _typeSrc.IsPredefType(PredefinedType.PT_ENUM))) 603Debug.Assert(_typeSrc != null); 606if (!_typeSrc.IsSimpleType || !aggTypeDest.IsSimpleType) 613Debug.Assert(_typeSrc.IsPredefined && aggDest.IsPredefined()); 615PredefinedType ptSrc = _typeSrc.PredefinedType; 653bConversionOk = _binder.bindUserDefinedConversion(_exprSrc, _typeSrc, aggTypeDest, _needsExprDest, out _exprDest, false); 678Debug.Assert(_typeSrc != null); 681if (!(_typeSrc is AggregateType atSrc)) 706CConversions.HasGenericDelegateExplicitReferenceConversion(_typeSrc, aggTypeDest)) 724if (!(_typeSrc is PointerType) || aggTypeDest.FundamentalType > FUNDTYPE.FT_LASTINTEGRAL || !aggTypeDest.IsNumericType) 736Debug.Assert(_typeSrc != null); 769if (_typeSrc is VoidType)