16 references to bindSimpleCast
Microsoft.CSharp (16)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (8)
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);
588
_binder.
bindSimpleCast
(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_UNBOX);
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));
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (1)
344
bindSimpleCast
(exprSrc, typeDest, out pexprDest, 0);
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (7)
199
_binder.
bindSimpleCast
(_exprSrc, _typeDest, out _exprDest, _exprSrc.Flags & EXPRFLAG.EXF_CANTBENULL);
289
_binder.
bindSimpleCast
(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_UNBOX);
451
_binder.
bindSimpleCast
(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_BOX);
457
_binder.
bindSimpleCast
(_exprDest, _typeDest, out _exprDest, EXPRFLAG.EXF_FORCE_UNBOX);
507
_binder.
bindSimpleCast
(_exprSrc, _typeDest, out _exprDest, grfex);
596
_binder.
bindSimpleCast
(_exprSrc, _typeDest, out _exprDest, flags);
616
_binder.
bindSimpleCast
(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_BOX | EXPRFLAG.EXF_CANTBENULL);