1 write to _typeDest
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (1)
51_typeDest = typeDest;
34 references to _typeDest
Microsoft.CSharp (34)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (34)
100if (_binder.BindImplicitConversion(_exprSrc, _typeSrc, _typeDest, _needsExprDest, out _exprDest, _flags | CONVERTTYPE.ISEXPLICIT)) 105if (_typeSrc == null || _typeDest == null || _typeDest is MethodGroupType) 110if (_typeDest is NullableType) 131switch (_typeDest.TypeKind) 134Debug.Fail($"Bad type kind: {_typeDest.TypeKind}"); 144if (bindExplicitConversionToArray((ArrayType)_typeDest)) 161AggCastResult result = bindExplicitConversionToAggregate(_typeDest as AggregateType); 180return _binder.bindUserDefinedConversion(_exprSrc, _typeSrc, _typeDest, _needsExprDest, out _exprDest, false); 190Debug.Assert(_typeDest != null); 194if (_typeDest.IsValueType && _binder.BindExplicitConversion(null, _typeSrc.StripNubs(), _typeDest, _flags | CONVERTTYPE.NOUDC)) 205if (!_binder.BindExplicitConversion(valueSrc, valueSrc.Type, _typeDest, _needsExprDest, out _exprDest, _flags | CONVERTTYPE.NOUDC)) 220return _binder.bindUserDefinedConversion(_exprSrc, _typeSrc, _typeDest, _needsExprDest, out _exprDest, false); 236Debug.Assert(_typeDest != null); 238if (!(_typeSrc is ArrayType arrSrc) || !arrSrc.IsSZArray || !(_typeDest is AggregateType aggDest) 264_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_REFCHECK); 305_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_REFCHECK); 333_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_REFCHECK); 367_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_REFCHECK); 387_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest); 436ConstCastResult result = _binder.bindConstantCast(_exprSrc, _typeDest, _needsExprDest, out _exprDest, true); 448_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest); 463ConstCastResult result = _binder.bindConstantCast(_exprSrc, _typeDest, _needsExprDest, out _exprDest, true); 488_binder.bindSimpleCast(_exprDest, _typeDest, out _exprDest); 522ConstCastResult result = _binder.bindConstantCast(exprCast, _typeDest, _needsExprDest, out _exprDest, true); 570ConstCastResult result = _binder.bindConstantCast(_exprSrc, _typeDest, _needsExprDest, out _exprDest, true); 581_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest); 588_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_UNBOX); 633ConstCastResult result = _binder.bindConstantCast(_exprSrc, _typeDest, _needsExprDest, out _exprDest, true); 657_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, (_flags & CONVERTTYPE.CHECKOVERFLOW) != 0 ? EXPRFLAG.EXF_CHECKOVERFLOW : 0); 694_exprSrc, _typeDest, out _exprDest, 709_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_REFCHECK | (_exprSrc?.Flags & EXPRFLAG.EXF_CANTBENULL ?? 0)); 729_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest);