1 write to _typeSrc
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (1)
22_typeSrc = typeSrc;
28 references to _typeSrc
Microsoft.CSharp (28)
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (28)
82if (_typeSrc == null || _typeDest == null || _typeDest is MethodGroupType) 87Debug.Assert(_typeSrc != null && _typeDest != null); // types must be supplied. 88Debug.Assert(_exprSrc == null || _typeSrc == _exprSrc.Type); // type of source should be correct if source supplied 95if (!(_typeSrc is NullType)) 105return _typeSrc == _typeDest; 117if (_typeSrc == _typeDest && 118((_flags & CONVERTTYPE.ISEXPLICIT) == 0 || (!_typeSrc.IsPredefType(PredefinedType.PT_FLOAT) && !_typeSrc.IsPredefType(PredefinedType.PT_DOUBLE)))) 132if (_typeSrc is NullableType nubSrc) 146switch (_typeSrc.TypeKind) 149Debug.Fail($"Bad type symbol kind: {_typeSrc.TypeKind}"); 178if (bindImplicitConversionFromAgg(_typeSrc as AggregateType)) 217return _binder.bindUserDefinedConversion(_exprSrc, _typeSrc, _typeDest, _needsExprDest, out _exprDest, true); 269Debug.Assert(_exprSrc == null || _exprSrc.Type == _typeSrc); 271Debug.Assert(_typeSrc != nubDst); // BindImplicitConversion should have taken care of this already. 275if (SymbolLoader.HasBaseConversion(nubDst.UnderlyingType, _typeSrc) && !CConversions.FWrappingConv(_typeSrc, nubDst)) 278Debug.Assert(atsDst != _typeSrc); 297CType typeSrcBase = _typeSrc.StripNubs(out srcWasNullable); 304Debug.Assert(_typeSrc == typeSrcBase); 307if (_typeSrc is NullType) 324if (_typeSrc == typeDstBase || pfn(_exprSrc, _typeSrc, typeDstBase, _needsExprDest, out exprTmp, _flags | CONVERTTYPE.NOUDC)) 354return 0 == (_flags & CONVERTTYPE.NOUDC) && _binder.bindUserDefinedConversion(_exprSrc, _typeSrc, nubDst, _needsExprDest, out _exprDest, 0 == (_flags & CONVERTTYPE.ISEXPLICIT)); 362return 0 == (_flags & CONVERTTYPE.NOUDC) && _binder.bindUserDefinedConversion(_exprSrc, _typeSrc, nubDst, _needsExprDest, out _exprDest, 0 == (_flags & CONVERTTYPE.ISEXPLICIT)); 483if (!SymbolLoader.HasBaseConversion(_typeSrc, _typeDest)) 496(aggDest.TypeArgsAll[0] != ((ArrayType)_typeSrc).ElementType || 500TypeManager.TypeContainsTyVars(_typeSrc, null) ||