1 write to _swtInaccess
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (1)
497
_swtInaccess
= new SymWithType();
9 references to _swtInaccess
Microsoft.CSharp (9)
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (9)
108
if (fInaccess && (_csym != 0 ||
_swtInaccess
!= null))
150
if (!
_swtInaccess
)
152
_swtInaccess
.Set(symCur, typeCur);
162
if (!
_swtInaccess
)
164
_swtInaccess
.Set(symCur, typeCur);
608
if (
_swtInaccess
)
610
return !
_swtInaccess
.Sym.isUserCallable() && ((_flags & MemLookFlags.UserCallable) != 0)
611
? ErrorHandling.Error(ErrorCode.ERR_CantCallSpecialMethod,
_swtInaccess
)
612
: CSemanticChecker.ReportAccessError(
_swtInaccess
, _symWhere, _typeQual);