16 references to bindSimpleCast
Microsoft.CSharp (16)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (8)
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);
589
_binder.
bindSimpleCast
(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_UNBOX);
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));
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (1)
351
bindSimpleCast
(exprSrc, typeDest, out pexprDest, 0);
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (7)
200
_binder.
bindSimpleCast
(_exprSrc, _typeDest, out _exprDest, _exprSrc.Flags & EXPRFLAG.EXF_CANTBENULL);
291
_binder.
bindSimpleCast
(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_UNBOX);
453
_binder.
bindSimpleCast
(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_BOX);
459
_binder.
bindSimpleCast
(_exprDest, _typeDest, out _exprDest, EXPRFLAG.EXF_FORCE_UNBOX);
509
_binder.
bindSimpleCast
(_exprSrc, _typeDest, out _exprDest, grfex);
598
_binder.
bindSimpleCast
(_exprSrc, _typeDest, out _exprDest, flags);
618
_binder.
bindSimpleCast
(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_BOX | EXPRFLAG.EXF_CANTBENULL);