1 write to _flags
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (1)
534
_flags
= flags;
14 references to _flags
Microsoft.CSharp (14)
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (14)
141
if (methProp != null && (
_flags
& MemLookFlags.UserCallable) != 0 && !methProp.isUserCallable())
176
if (((
_flags
& MemLookFlags.Ctor) == 0) != (meth == null || !meth.IsConstructor()) ||
177
((
_flags
& MemLookFlags.Operator) == 0) != (meth == null || !meth.isOperator) ||
178
((
_flags
& MemLookFlags.Indexer) == 0) != !(prop is IndexerSymbol))
190
if (!(symCur is MethodSymbol) && (
_flags
& MemLookFlags.Indexer) == 0 && CSemanticChecker.CheckBogus(symCur))
201
if ((
_flags
& MemLookFlags.MustBeInvocable) != 0)
388
if ((
_flags
& MemLookFlags.Ctor) != 0)
536
_typeQual = (
_flags
& MemLookFlags.Ctor) != 0 ? _typeSrc : obj?.Type;
545
Debug.Assert((
_flags
& (MemLookFlags.Ctor | MemLookFlags.NewObj | MemLookFlags.Operator | MemLookFlags.BaseCall)) == 0);
610
return !_swtInaccess.Sym.isUserCallable() && ((
_flags
& MemLookFlags.UserCallable) != 0)
615
if ((
_flags
& MemLookFlags.Ctor) != 0)
623
if ((
_flags
& MemLookFlags.Operator) != 0)
628
if ((
_flags
& MemLookFlags.Indexer) != 0)
635
return ErrorHandling.Error((
_flags
& MemLookFlags.MustBeInvocable) != 0 ? ErrorCode.ERR_NonInvocableMemberCalled : ErrorCode.ERR_CantCallSpecialMethod, _swtBad);