13 references to CheckTypeAccess
Microsoft.CSharp (13)
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (1)
195&& CSemanticChecker.CheckTypeAccess(_typeDest, _binder.Context.ContextForMemberLookup))
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (1)
107bool fInaccess = !CSemanticChecker.CheckTypeAccess(typeCur, _symWhere);
Microsoft\CSharp\RuntimeBinder\Semantics\SemanticChecker.cs (3)
79return CheckTypeAccess(type, symWhere) ? ACCESSERROR.ACCESSERROR_NOERROR : ACCESSERROR.ACCESSERROR_NOACCESS; 109if (!CheckTypeAccess(typeArgs[i], symWhere)) 257!CheckTypeAccess(swtBad.GetType(), symWhere));
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (8)
599if (CSemanticChecker.CheckTypeAccess(typeSrc, context)) 617Debug.Assert(CSemanticChecker.CheckTypeAccess(typeDst, context)); 631if (CSemanticChecker.CheckTypeAccess(baseType, context)) 648Debug.Assert(CSemanticChecker.CheckTypeAccess(typeDst, context)); 674if (!CSemanticChecker.CheckTypeAccess(aggOpenType, context)) 688if (CSemanticChecker.CheckTypeAccess(typeArg, context)) 720Debug.Assert(CSemanticChecker.CheckTypeAccess(typeDst, context)); 740Debug.Assert(CSemanticChecker.CheckTypeAccess(typeDst, context));