1 write to _binder
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (1)
49
_binder
= binder;
28 references to _binder
Microsoft.CSharp (28)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (28)
101
if (
_binder
.BindImplicitConversion(_exprSrc, _typeSrc, _typeDest, _needsExprDest, out _exprDest, _flags | CONVERTTYPE.ISEXPLICIT))
181
return
_binder
.bindUserDefinedConversion(_exprSrc, _typeSrc, _typeDest, _needsExprDest, out _exprDest, false);
195
if (_typeDest.IsValueType &&
_binder
.BindExplicitConversion(null, _typeSrc.StripNubs(), _typeDest, _flags | CONVERTTYPE.NOUDC))
206
if (!
_binder
.BindExplicitConversion(valueSrc, valueSrc.Type, _typeDest, _needsExprDest, out _exprDest, _flags | CONVERTTYPE.NOUDC))
221
return
_binder
.bindUserDefinedConversion(_exprSrc, _typeSrc, _typeDest, _needsExprDest, out _exprDest, false);
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);
365
if (
_binder
.canConvert(GetPredefindType(PredefinedType.PT_ARRAY), _typeSrc, CONVERTTYPE.NOUDC))
368
_binder
.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_REFCHECK);
388
_binder
.bindSimpleCast(_exprSrc, _typeDest, out _exprDest);
437
ConstCastResult result =
_binder
.bindConstantCast(_exprSrc, _typeDest, _needsExprDest, out _exprDest, true);
449
_binder
.bindSimpleCast(_exprSrc, _typeDest, out _exprDest);
464
ConstCastResult result =
_binder
.bindConstantCast(_exprSrc, _typeDest, _needsExprDest, out _exprDest, true);
484
bIsConversionOK =
_binder
.bindUserDefinedConversion(_exprSrc, _typeSrc, underlyingType, _needsExprDest, out _exprDest, false);
489
_binder
.bindSimpleCast(_exprDest, _typeDest, out _exprDest);
515
_binder
.bindSimpleCast(_exprSrc, underlyingType, out exprCast);
523
ConstCastResult result =
_binder
.bindConstantCast(exprCast, _typeDest, _needsExprDest, out _exprDest, true);
542
bool ok =
_binder
.bindUserDefinedConversion(exprCast, underlyingType, aggTypeDest, _needsExprDest, out _exprDest, false);
571
ConstCastResult 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);
635
ConstCastResult result =
_binder
.bindConstantCast(_exprSrc, _typeDest, _needsExprDest, out _exprDest, true);
655
bConversionOk =
_binder
.bindUserDefinedConversion(_exprSrc, _typeSrc, aggTypeDest, _needsExprDest, out _exprDest, false);
659
_binder
.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, (_flags & CONVERTTYPE.CHECKOVERFLOW) != 0 ? EXPRFLAG.EXF_CHECKOVERFLOW : 0);
695
_binder
.bindSimpleCast(
711
_binder
.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_REFCHECK | (_exprSrc?.Flags & EXPRFLAG.EXF_CANTBENULL ?? 0));
731
_binder
.bindSimpleCast(_exprSrc, _typeDest, out _exprDest);