37 writes to Flags
Microsoft.CSharp (37)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (7)
404result.Flags |= EXPRFLAG.EXF_LVALUE; 712callingObject.Flags |= EXPRFLAG.EXF_UNBOXRUNTIME; 771callingObject.Flags |= EXPRFLAG.EXF_SIMPLENAME; 807memGroup.Flags &= ~EXPRFLAG.EXF_USERCALLABLE; 815memGroup.Flags &= ~EXPRFLAG.EXF_USERCALLABLE; 1123callingObject.Flags |= EXPRFLAG.EXF_UNBOXRUNTIME; 1165callingObject.Flags |= EXPRFLAG.EXF_LVALUE;
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (3)
361exprCast.Flags |= EXPRFLAG.EXF_CHECKOVERFLOW; 418pResult.Flags |= EXPRFLAG.EXF_NEWOBJCALL | EXPRFLAG.EXF_CANTBENULL; 453pResult.Flags |= (EXPRFLAG)(bindFlags & BindingFlag.BIND_MEMBERSET);
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (1)
178unary.Flags |= flags;
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (8)
648exprRes.Flags |= flags; 1528exprRes.Flags |= flags; 1697pExprResult.Flags |= flags; 1749exprRes.Flags |= flags; 1895exprRes.Flags |= flags; 2070exprRes.Flags |= flags; 2205exprRes.Flags |= flags; 2282exprRes.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)
178result.Flags |= EXPRFLAG.EXF_UNBOXRUNTIME; 867newIndex.Flags |= EXPRFLAG.EXF_CHECKOVERFLOW;
31 references to Flags
Microsoft.CSharp (31)
Microsoft\CSharp\RuntimeBinder\ExpressionTreeCallRewriter.cs (2)
339Debug.Assert((pExpr.Flags & EXPRFLAG.EXF_UNBOXRUNTIME) == 0); 368if ((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)
716Debug.Assert(grp.SymKind == SYMKIND.SK_MethodSymbol || grp.SymKind == SYMKIND.SK_PropertySymbol && ((grp.Flags & EXPRFLAG.EXF_INDEXER) != 0)); 730Debug.Assert((grp.Flags & EXPRFLAG.EXF_INDEXER) != 0); 734return BindToMethod(new MethWithInst(mpwiBest), args, grp, (MemLookFlags)grp.Flags); 959if ((pObject.Flags & EXPRFLAG.EXF_SIMPLENAME) != 0) 1030if ((pObject.Flags & EXPRFLAG.EXF_SAMENAMETYPE) == 0) 1052(((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)
93Debug.Assert(_pGroup.SymKind == SYMKIND.SK_MethodSymbol || _pGroup.SymKind == SYMKIND.SK_PropertySymbol && 0 != (_pGroup.Flags & EXPRFLAG.EXF_INDEXER)); 108return (pGroup.Flags & EXPRFLAG.EXF_CTOR) != 0 ? pGroup.ParentType : pGroup.OptionalObject?.Type; 124CMemberLookupResults.CMethodIterator iterator = _pGroup.MemberLookupResults.GetMethodIterator(GetTypeQualifier(_pGroup), _pExprBinder.ContextForMemberLookup, _pGroup.TypeArgs.Count, _pGroup.Flags, mask, _namedArgumentsKind == NamedArgumentsKind.NonTrailing ? _pOriginalArguments : null); 1076Debug.Assert(_pGroup.SymKind == SYMKIND.SK_MethodSymbol || _pGroup.SymKind == SYMKIND.SK_PropertySymbol && 0 != (_pGroup.Flags & EXPRFLAG.EXF_INDEXER)); 1078Debug.Assert(0 == (_pGroup.Flags & EXPRFLAG.EXF_USERCALLABLE) || _results.BestResult.MethProp().isUserCallable()); 1218Debug.Assert(0 == (_pGroup.Flags & EXPRFLAG.EXF_CTOR)); 1222if (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); 593flags = _exprSrc.Flags & EXPRFLAG.EXF_CANTBENULL;
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (6)
649Debug.Assert((exprRes.Flags & EXPRFLAG.EXF_LVALUE) == 0); 1530Debug.Assert((exprRes.Flags & EXPRFLAG.EXF_LVALUE) == 0); 1896Debug.Assert((exprRes.Flags & EXPRFLAG.EXF_LVALUE) == 0); 2071Debug.Assert((exprRes.Flags & EXPRFLAG.EXF_LVALUE) == 0); 2206Debug.Assert((exprRes.Flags & EXPRFLAG.EXF_LVALUE) == 0); 2260Debug.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)
175if ((pExpr.Flags & EXPRFLAG.EXF_UNBOXRUNTIME) != 0)