37 writes to Flags
Microsoft.CSharp (37)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (7)
404
result.
Flags
|= EXPRFLAG.EXF_LVALUE;
712
callingObject.
Flags
|= EXPRFLAG.EXF_UNBOXRUNTIME;
771
callingObject.
Flags
|= EXPRFLAG.EXF_SIMPLENAME;
807
memGroup.
Flags
&= ~EXPRFLAG.EXF_USERCALLABLE;
815
memGroup.
Flags
&= ~EXPRFLAG.EXF_USERCALLABLE;
1123
callingObject.
Flags
|= EXPRFLAG.EXF_UNBOXRUNTIME;
1165
callingObject.
Flags
|= EXPRFLAG.EXF_LVALUE;
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (3)
361
exprCast.
Flags
|= EXPRFLAG.EXF_CHECKOVERFLOW;
418
pResult.
Flags
|= EXPRFLAG.EXF_NEWOBJCALL | EXPRFLAG.EXF_CANTBENULL;
453
pResult.
Flags
|= (EXPRFLAG)(bindFlags & BindingFlag.BIND_MEMBERSET);
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (1)
178
unary.
Flags
|= flags;
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (8)
648
exprRes.
Flags
|= flags;
1528
exprRes.
Flags
|= flags;
1697
pExprResult.
Flags
|= flags;
1749
exprRes.
Flags
|= flags;
1895
exprRes.
Flags
|= flags;
2070
exprRes.
Flags
|= flags;
2205
exprRes.
Flags
|= flags;
2282
exprRes.
Flags
&= ~EXPRFLAG.EXF_CHECKOVERFLOW;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\ArrayIndex.cs (1)
13
Flags
= EXPRFLAG.EXF_LVALUE | EXPRFLAG.EXF_ASSGOP;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Assignment.cs (1)
15
Flags
= EXPRFLAG.EXF_ASSGOP;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\BinaryOperator.cs (3)
16
Flags
= EXPRFLAG.EXF_BINOP;
28
Flags
= EXPRFLAG.EXF_BINOP;
41
Flags
|= EXPRFLAG.EXF_ASSGOP;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Call.cs (1)
16
Flags
= flags;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Cast.cs (1)
17
Flags
= flags;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\CompoundOperator.cs (2)
14
Flags
= flags;
28
Flags
= flags;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Field.cs (1)
11
Flags
= field.Field().isReadOnly ? 0 : EXPRFLAG.EXF_LVALUE;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\LocalVariable.cs (1)
13
Flags
= EXPRFLAG.EXF_LVALUE;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\MemberGroup.cs (1)
18
Flags
= flags;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Property.cs (1)
36
Flags
= EXPRFLAG.EXF_LVALUE;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Temporary.cs (1)
13
Flags
= EXPRFLAG.EXF_LVALUE;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\TypeOf.cs (1)
13
Flags
= EXPRFLAG.EXF_CANTBENULL;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\UserDefinedLogicalOperator.cs (1)
15
Flags
= EXPRFLAG.EXF_ASSGOP;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (2)
178
result.
Flags
|= EXPRFLAG.EXF_UNBOXRUNTIME;
867
newIndex.
Flags
|= EXPRFLAG.EXF_CHECKOVERFLOW;
31 references to Flags
Microsoft.CSharp (31)
Microsoft\CSharp\RuntimeBinder\ExpressionTreeCallRewriter.cs (2)
339
Debug.Assert((pExpr.
Flags
& EXPRFLAG.EXF_UNBOXRUNTIME) == 0);
368
if ((pExpr.
Flags
& EXPRFLAG.EXF_UNBOXRUNTIME) != 0)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (2)
697
: EXPRFLAG.EXF_REFCHECK | (_exprSrc?.
Flags
& EXPRFLAG.EXF_CANTBENULL ?? 0));
709
_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_REFCHECK | (_exprSrc?.
Flags
& EXPRFLAG.EXF_CANTBENULL ?? 0));
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (6)
716
Debug.Assert(grp.SymKind == SYMKIND.SK_MethodSymbol || grp.SymKind == SYMKIND.SK_PropertySymbol && ((grp.
Flags
& EXPRFLAG.EXF_INDEXER) != 0));
730
Debug.Assert((grp.
Flags
& EXPRFLAG.EXF_INDEXER) != 0);
734
return BindToMethod(new MethWithInst(mpwiBest), args, grp, (MemLookFlags)grp.
Flags
);
959
if ((pObject.
Flags
& EXPRFLAG.EXF_SIMPLENAME) != 0)
1030
if ((pObject.
Flags
& EXPRFLAG.EXF_SAMENAMETYPE) == 0)
1052
(((pObject.
Flags
& EXPRFLAG.EXF_LVALUE) != 0) && (pObject.Kind != ExpressionKind.Property)) ||
Microsoft\CSharp\RuntimeBinder\Semantics\EXPRExtensions.cs (3)
52
Debug.Assert(expr?.Kind >= ExpressionKind.TypeLimit && 0 != (expr.
Flags
& EXPRFLAG.EXF_BINOP));
56
return (expr == null) ? false : 0 != (expr.
Flags
& EXPRFLAG.EXF_LVALUE);
60
return (expr == null) ? false : 0 != (expr.
Flags
& EXPRFLAG.EXF_CHECKOVERFLOW);
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (7)
93
Debug.Assert(_pGroup.SymKind == SYMKIND.SK_MethodSymbol || _pGroup.SymKind == SYMKIND.SK_PropertySymbol && 0 != (_pGroup.
Flags
& EXPRFLAG.EXF_INDEXER));
108
return (pGroup.
Flags
& EXPRFLAG.EXF_CTOR) != 0 ? pGroup.ParentType : pGroup.OptionalObject?.Type;
124
CMemberLookupResults.CMethodIterator iterator = _pGroup.MemberLookupResults.GetMethodIterator(GetTypeQualifier(_pGroup), _pExprBinder.ContextForMemberLookup, _pGroup.TypeArgs.Count, _pGroup.
Flags
, mask, _namedArgumentsKind == NamedArgumentsKind.NonTrailing ? _pOriginalArguments : null);
1076
Debug.Assert(_pGroup.SymKind == SYMKIND.SK_MethodSymbol || _pGroup.SymKind == SYMKIND.SK_PropertySymbol && 0 != (_pGroup.
Flags
& EXPRFLAG.EXF_INDEXER));
1078
Debug.Assert(0 == (_pGroup.
Flags
& EXPRFLAG.EXF_USERCALLABLE) || _results.BestResult.MethProp().isUserCallable());
1218
Debug.Assert(0 == (_pGroup.
Flags
& EXPRFLAG.EXF_CTOR));
1222
if (0 != (_pGroup.
Flags
& EXPRFLAG.EXF_CTOR))
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (2)
199
_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, _exprSrc.
Flags
& EXPRFLAG.EXF_CANTBENULL);
593
flags = _exprSrc.
Flags
& EXPRFLAG.EXF_CANTBENULL;
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (6)
649
Debug.Assert((exprRes.
Flags
& EXPRFLAG.EXF_LVALUE) == 0);
1530
Debug.Assert((exprRes.
Flags
& EXPRFLAG.EXF_LVALUE) == 0);
1896
Debug.Assert((exprRes.
Flags
& EXPRFLAG.EXF_LVALUE) == 0);
2071
Debug.Assert((exprRes.
Flags
& EXPRFLAG.EXF_LVALUE) == 0);
2206
Debug.Assert((exprRes.
Flags
& EXPRFLAG.EXF_LVALUE) == 0);
2260
Debug.Assert(0 == (exprRes.
Flags
& EXPRFLAG.EXF_LVALUE));
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Cast.cs (1)
22
public bool IsBoxingCast => (
Flags
& (EXPRFLAG.EXF_BOX | EXPRFLAG.EXF_FORCE_BOX)) != 0;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\MemberGroup.cs (1)
48
public bool IsDelegate => (
Flags
& EXPRFLAG.EXF_DELEGATE) != 0;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (1)
175
if ((pExpr.
Flags
& EXPRFLAG.EXF_UNBOXRUNTIME) != 0)