1 write to _typeDest
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (1)
52_typeDest = typeDest;
34 references to _typeDest
Microsoft.CSharp (34)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (34)
101if (_binder.BindImplicitConversion(_exprSrc, _typeSrc, _typeDest, _needsExprDest, out _exprDest, _flags | CONVERTTYPE.ISEXPLICIT)) 106if (_typeSrc == null || _typeDest == null || _typeDest is MethodGroupType) 111if (_typeDest is NullableType) 132switch (_typeDest.TypeKind) 135Debug.Fail($"Bad type kind: {_typeDest.TypeKind}"); 145if (bindExplicitConversionToArray((ArrayType)_typeDest)) 162AggCastResult result = bindExplicitConversionToAggregate(_typeDest as AggregateType); 181return _binder.bindUserDefinedConversion(_exprSrc, _typeSrc, _typeDest, _needsExprDest, out _exprDest, false); 191Debug.Assert(_typeDest != null); 195if (_typeDest.IsValueType && _binder.BindExplicitConversion(null, _typeSrc.StripNubs(), _typeDest, _flags | CONVERTTYPE.NOUDC)) 206if (!_binder.BindExplicitConversion(valueSrc, valueSrc.Type, _typeDest, _needsExprDest, out _exprDest, _flags | CONVERTTYPE.NOUDC)) 221return _binder.bindUserDefinedConversion(_exprSrc, _typeSrc, _typeDest, _needsExprDest, out _exprDest, false); 237Debug.Assert(_typeDest != null); 239if (!(_typeSrc is ArrayType arrSrc) || !arrSrc.IsSZArray || !(_typeDest is AggregateType aggDest) 265_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_REFCHECK); 306_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_REFCHECK); 334_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_REFCHECK); 368_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_REFCHECK); 388_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest); 437ConstCastResult result = _binder.bindConstantCast(_exprSrc, _typeDest, _needsExprDest, out _exprDest, true); 449_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest); 464ConstCastResult result = _binder.bindConstantCast(_exprSrc, _typeDest, _needsExprDest, out _exprDest, true); 489_binder.bindSimpleCast(_exprDest, _typeDest, out _exprDest); 523ConstCastResult result = _binder.bindConstantCast(exprCast, _typeDest, _needsExprDest, out _exprDest, true); 571ConstCastResult result = _binder.bindConstantCast(_exprSrc, _typeDest, _needsExprDest, out _exprDest, true); 582_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest); 589_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_UNBOX); 635ConstCastResult result = _binder.bindConstantCast(_exprSrc, _typeDest, _needsExprDest, out _exprDest, true); 659_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, (_flags & CONVERTTYPE.CHECKOVERFLOW) != 0 ? EXPRFLAG.EXF_CHECKOVERFLOW : 0); 696_exprSrc, _typeDest, out _exprDest, 711_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_REFCHECK | (_exprSrc?.Flags & EXPRFLAG.EXF_CANTBENULL ?? 0)); 731_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest);