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