28 references to ACCESSERROR
Microsoft.CSharp (28)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (5)
512ACCESSERROR error = CSemanticChecker.CheckAccess2(mwtGet.Meth(), mwtGet.GetType(), ContextForMemberLookup, type); 513if (error != ACCESSERROR.ACCESSERROR_NOERROR) 516if (error == ACCESSERROR.ACCESSERROR_NOACCESSTHRU) 842case ACCESSERROR.ACCESSERROR_NOACCESSTHRU: 844case ACCESSERROR.ACCESSERROR_NOACCESS:
Microsoft\CSharp\RuntimeBinder\Semantics\SemanticChecker.cs (23)
33public static ACCESSERROR CheckAccess2(Symbol symCheck, AggregateType atsCheck, Symbol symWhere, CType typeThru) 57ACCESSERROR error = CheckAccessCore(symCheck, atsCheck, symWhere, typeThru); 58if (ACCESSERROR.ACCESSERROR_NOERROR != error) 67return ACCESSERROR.ACCESSERROR_NOERROR; 79return CheckTypeAccess(type, symWhere) ? ACCESSERROR.ACCESSERROR_NOERROR : ACCESSERROR.ACCESSERROR_NOACCESS; 98if (ACCESSERROR.ACCESSERROR_NOERROR != CheckAccessCore(ats.OwningAggregate, ats.OuterType, symWhere, null)) 117private static ACCESSERROR CheckAccessCore(Symbol symCheck, AggregateType atsCheck, Symbol symWhere, CType typeThru) 134return ACCESSERROR.ACCESSERROR_NOACCESS; 137return ACCESSERROR.ACCESSERROR_NOERROR; 143return ACCESSERROR.ACCESSERROR_NOACCESS; 152return ACCESSERROR.ACCESSERROR_NOACCESS; 156return ACCESSERROR.ACCESSERROR_NOERROR; 160return ACCESSERROR.ACCESSERROR_NOACCESS; 167return ACCESSERROR.ACCESSERROR_NOACCESS; 187return ACCESSERROR.ACCESSERROR_NOACCESS; 200return ACCESSERROR.ACCESSERROR_NOERROR; 206return ACCESSERROR.ACCESSERROR_NOACCESS; 241return ACCESSERROR.ACCESSERROR_NOERROR; 248return found ? ACCESSERROR.ACCESSERROR_NOACCESSTHRU : ACCESSERROR.ACCESSERROR_NOACCESS; 260== ACCESSERROR.ACCESSERROR_NOACCESSTHRU 267CheckAccess2(symCheck, atsCheck, symWhere, typeThru) == ACCESSERROR.ACCESSERROR_NOERROR;