37 writes to Flags
Microsoft.CSharp (37)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (7)
417result.Flags |= EXPRFLAG.EXF_LVALUE; 733callingObject.Flags |= EXPRFLAG.EXF_UNBOXRUNTIME; 793callingObject.Flags |= EXPRFLAG.EXF_SIMPLENAME; 829memGroup.Flags &= ~EXPRFLAG.EXF_USERCALLABLE; 837memGroup.Flags &= ~EXPRFLAG.EXF_USERCALLABLE; 1149callingObject.Flags |= EXPRFLAG.EXF_UNBOXRUNTIME; 1191callingObject.Flags |= EXPRFLAG.EXF_LVALUE;
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (3)
369exprCast.Flags |= EXPRFLAG.EXF_CHECKOVERFLOW; 427pResult.Flags |= EXPRFLAG.EXF_NEWOBJCALL | EXPRFLAG.EXF_CANTBENULL; 463pResult.Flags |= (EXPRFLAG)(bindFlags & BindingFlag.BIND_MEMBERSET);
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (1)
197unary.Flags |= flags;
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (8)
664exprRes.Flags |= flags; 1556exprRes.Flags |= flags; 1733pExprResult.Flags |= flags; 1787exprRes.Flags |= flags; 1939exprRes.Flags |= flags; 2120exprRes.Flags |= flags; 2257exprRes.Flags |= flags; 2336exprRes.Flags &= ~EXPRFLAG.EXF_CHECKOVERFLOW;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\ArrayIndex.cs (1)
13Flags = EXPRFLAG.EXF_LVALUE | EXPRFLAG.EXF_ASSGOP;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Assignment.cs (1)
15Flags = EXPRFLAG.EXF_ASSGOP;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\BinaryOperator.cs (3)
16Flags = EXPRFLAG.EXF_BINOP; 28Flags = EXPRFLAG.EXF_BINOP; 41Flags |= EXPRFLAG.EXF_ASSGOP;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Call.cs (1)
16Flags = flags;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Cast.cs (1)
17Flags = flags;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\CompoundOperator.cs (2)
14Flags = flags; 28Flags = flags;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Field.cs (1)
11Flags = field.Field().isReadOnly ? 0 : EXPRFLAG.EXF_LVALUE;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\LocalVariable.cs (1)
13Flags = EXPRFLAG.EXF_LVALUE;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\MemberGroup.cs (1)
18Flags = flags;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Property.cs (1)
36Flags = EXPRFLAG.EXF_LVALUE;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Temporary.cs (1)
13Flags = EXPRFLAG.EXF_LVALUE;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\TypeOf.cs (1)
13Flags = EXPRFLAG.EXF_CANTBENULL;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\UserDefinedLogicalOperator.cs (1)
15Flags = EXPRFLAG.EXF_ASSGOP;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (2)
179result.Flags |= EXPRFLAG.EXF_UNBOXRUNTIME; 868newIndex.Flags |= EXPRFLAG.EXF_CHECKOVERFLOW;
31 references to Flags
Microsoft.CSharp (31)
Microsoft\CSharp\RuntimeBinder\ExpressionTreeCallRewriter.cs (2)
340Debug.Assert((pExpr.Flags & EXPRFLAG.EXF_UNBOXRUNTIME) == 0); 369if ((pExpr.Flags & EXPRFLAG.EXF_UNBOXRUNTIME) != 0)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (2)
699: EXPRFLAG.EXF_REFCHECK | (_exprSrc?.Flags & EXPRFLAG.EXF_CANTBENULL ?? 0)); 711_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, EXPRFLAG.EXF_REFCHECK | (_exprSrc?.Flags & EXPRFLAG.EXF_CANTBENULL ?? 0));
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (6)
732Debug.Assert(grp.SymKind == SYMKIND.SK_MethodSymbol || grp.SymKind == SYMKIND.SK_PropertySymbol && ((grp.Flags & EXPRFLAG.EXF_INDEXER) != 0)); 746Debug.Assert((grp.Flags & EXPRFLAG.EXF_INDEXER) != 0); 750return BindToMethod(new MethWithInst(mpwiBest), args, grp, (MemLookFlags)grp.Flags); 982if ((pObject.Flags & EXPRFLAG.EXF_SIMPLENAME) != 0) 1053if ((pObject.Flags & EXPRFLAG.EXF_SAMENAMETYPE) == 0) 1075(((pObject.Flags & EXPRFLAG.EXF_LVALUE) != 0) && (pObject.Kind != ExpressionKind.Property)) ||
Microsoft\CSharp\RuntimeBinder\Semantics\EXPRExtensions.cs (3)
52Debug.Assert(expr?.Kind >= ExpressionKind.TypeLimit && 0 != (expr.Flags & EXPRFLAG.EXF_BINOP)); 56return (expr == null) ? false : 0 != (expr.Flags & EXPRFLAG.EXF_LVALUE); 60return (expr == null) ? false : 0 != (expr.Flags & EXPRFLAG.EXF_CHECKOVERFLOW);
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (7)
94Debug.Assert(_pGroup.SymKind == SYMKIND.SK_MethodSymbol || _pGroup.SymKind == SYMKIND.SK_PropertySymbol && 0 != (_pGroup.Flags & EXPRFLAG.EXF_INDEXER)); 109return (pGroup.Flags & EXPRFLAG.EXF_CTOR) != 0 ? pGroup.ParentType : pGroup.OptionalObject?.Type; 125CMemberLookupResults.CMethodIterator iterator = _pGroup.MemberLookupResults.GetMethodIterator(GetTypeQualifier(_pGroup), _pExprBinder.ContextForMemberLookup, _pGroup.TypeArgs.Count, _pGroup.Flags, mask, _namedArgumentsKind == NamedArgumentsKind.NonTrailing ? _pOriginalArguments : null); 1077Debug.Assert(_pGroup.SymKind == SYMKIND.SK_MethodSymbol || _pGroup.SymKind == SYMKIND.SK_PropertySymbol && 0 != (_pGroup.Flags & EXPRFLAG.EXF_INDEXER)); 1079Debug.Assert(0 == (_pGroup.Flags & EXPRFLAG.EXF_USERCALLABLE) || _results.BestResult.MethProp().isUserCallable()); 1219Debug.Assert(0 == (_pGroup.Flags & EXPRFLAG.EXF_CTOR)); 1223if (0 != (_pGroup.Flags & EXPRFLAG.EXF_CTOR))
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (2)
200_binder.bindSimpleCast(_exprSrc, _typeDest, out _exprDest, _exprSrc.Flags & EXPRFLAG.EXF_CANTBENULL); 595flags = _exprSrc.Flags & EXPRFLAG.EXF_CANTBENULL;
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (6)
665Debug.Assert((exprRes.Flags & EXPRFLAG.EXF_LVALUE) == 0); 1558Debug.Assert((exprRes.Flags & EXPRFLAG.EXF_LVALUE) == 0); 1940Debug.Assert((exprRes.Flags & EXPRFLAG.EXF_LVALUE) == 0); 2121Debug.Assert((exprRes.Flags & EXPRFLAG.EXF_LVALUE) == 0); 2258Debug.Assert((exprRes.Flags & EXPRFLAG.EXF_LVALUE) == 0); 2313Debug.Assert(0 == (exprRes.Flags & EXPRFLAG.EXF_LVALUE));
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Cast.cs (1)
22public bool IsBoxingCast => (Flags & (EXPRFLAG.EXF_BOX | EXPRFLAG.EXF_FORCE_BOX)) != 0;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\MemberGroup.cs (1)
48public bool IsDelegate => (Flags & EXPRFLAG.EXF_DELEGATE) != 0;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (1)
176if ((pExpr.Flags & EXPRFLAG.EXF_UNBOXRUNTIME) != 0)