2 writes to _flags
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (2)
25
_flags
= flags;
139
_flags
|= CONVERTTYPE.NOUDC;
20 references to _flags
Microsoft.CSharp (20)
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (20)
118
((
_flags
& CONVERTTYPE.ISEXPLICIT) == 0 || (!_typeSrc.IsPredefType(PredefinedType.PT_FLOAT) && !_typeSrc.IsPredefType(PredefinedType.PT_DOUBLE))))
137
if ((
_flags
& CONVERTTYPE.ISEXPLICIT) != 0)
215
if (0 == (
_flags
& CONVERTTYPE.NOUDC))
268
Debug.Assert(0 != (~
_flags
& (CONVERTTYPE.STANDARD | CONVERTTYPE.ISEXPLICIT)));
282
if (0 == (
_flags
& CONVERTTYPE.ISEXPLICIT))
298
ConversionFunc pfn = (
_flags
& CONVERTTYPE.ISEXPLICIT) != 0 ?
324
if (_typeSrc == typeDstBase || pfn(_exprSrc, _typeSrc, typeDstBase, _needsExprDest, out exprTmp,
_flags
| CONVERTTYPE.NOUDC))
354
return 0 == (
_flags
& CONVERTTYPE.NOUDC) && _binder.bindUserDefinedConversion(_exprSrc, _typeSrc, nubDst, _needsExprDest, out _exprDest, 0 == (
_flags
& CONVERTTYPE.ISEXPLICIT));
359
if (typeSrcBase != typeDstBase && !pfn(null, typeSrcBase, typeDstBase, false, out _exprDest,
_flags
| CONVERTTYPE.NOUDC))
362
return 0 == (
_flags
& CONVERTTYPE.NOUDC) && _binder.bindUserDefinedConversion(_exprSrc, _typeSrc, nubDst, _needsExprDest, out _exprDest, 0 == (
_flags
& CONVERTTYPE.ISEXPLICIT));
374
bool convertible = (
_flags
& CONVERTTYPE.ISEXPLICIT) != 0
376
arg1, arg1.Type, typeDstBase, out arg1,
_flags
| CONVERTTYPE.NOUDC)
378
arg1, arg1.Type, typeDstBase, out arg1,
_flags
| CONVERTTYPE.NOUDC);
462
return 0 == (
_flags
& CONVERTTYPE.NOUDC) && _binder.bindUserDefinedConversion(_exprSrc, nubSrc, _typeDest, _needsExprDest, out _exprDest, true);
497
0 != (
_flags
& CONVERTTYPE.FORCECAST))))
499
(0 != (
_flags
& CONVERTTYPE.FORCECAST) ||
651
0 == (
_flags
& CONVERTTYPE.STANDARD))
702
Debug.Assert(0 != (
_flags
& CONVERTTYPE.ISEXPLICIT));