1 write to _binder
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (1)
48
_binder
= binder;
28 references to _binder
Microsoft.CSharp (28)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (28)
100
if (
_binder
.BindImplicitConversion(_exprSrc, _typeSrc, _typeDest, _needsExprDest, out _exprDest, _flags | CONVERTTYPE.ISEXPLICIT))
180
return
_binder
.bindUserDefinedConversion(_exprSrc, _typeSrc, _typeDest, _needsExprDest, out _exprDest, false);
194
if (_typeDest.IsValueType &&
_binder
.BindExplicitConversion(null, _typeSrc.StripNubs(), _typeDest, _flags | CONVERTTYPE.NOUDC))
205
if (!
_binder
.BindExplicitConversion(valueSrc, valueSrc.Type, _typeDest, _needsExprDest, out _exprDest, _flags | CONVERTTYPE.NOUDC))
220
return
_binder
.bindUserDefinedConversion(_exprSrc, _typeSrc, _typeDest, _needsExprDest, out _exprDest, false);
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);
364
if (
_binder
.canConvert(GetPredefindType(PredefinedType.PT_ARRAY), _typeSrc, CONVERTTYPE.NOUDC))
367
_binder
.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_REFCHECK);
387
_binder
.bindSimpleCast(_exprSrc, _typeDest, out _exprDest);
436
ConstCastResult result =
_binder
.bindConstantCast(_exprSrc, _typeDest, _needsExprDest, out _exprDest, true);
448
_binder
.bindSimpleCast(_exprSrc, _typeDest, out _exprDest);
463
ConstCastResult result =
_binder
.bindConstantCast(_exprSrc, _typeDest, _needsExprDest, out _exprDest, true);
483
bIsConversionOK =
_binder
.bindUserDefinedConversion(_exprSrc, _typeSrc, underlyingType, _needsExprDest, out _exprDest, false);
488
_binder
.bindSimpleCast(_exprDest, _typeDest, out _exprDest);
514
_binder
.bindSimpleCast(_exprSrc, underlyingType, out exprCast);
522
ConstCastResult result =
_binder
.bindConstantCast(exprCast, _typeDest, _needsExprDest, out _exprDest, true);
541
bool ok =
_binder
.bindUserDefinedConversion(exprCast, underlyingType, aggTypeDest, _needsExprDest, out _exprDest, false);
570
ConstCastResult 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);
633
ConstCastResult result =
_binder
.bindConstantCast(_exprSrc, _typeDest, _needsExprDest, out _exprDest, true);
653
bConversionOk =
_binder
.bindUserDefinedConversion(_exprSrc, _typeSrc, aggTypeDest, _needsExprDest, out _exprDest, false);
657
_binder
.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, (_flags & CONVERTTYPE.CHECKOVERFLOW) != 0 ? EXPRFLAG.EXF_CHECKOVERFLOW : 0);
693
_binder
.bindSimpleCast(
709
_binder
.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_REFCHECK | (_exprSrc?.Flags & EXPRFLAG.EXF_CANTBENULL ?? 0));
729
_binder
.bindSimpleCast(_exprSrc, _typeDest, out _exprDest);