21 references to CSemanticChecker
Microsoft.CSharp (21)
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (1)
444CSemanticChecker.CheckForStaticClass(dest);
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (2)
512ACCESSERROR error = CSemanticChecker.CheckAccess2(mwtGet.Meth(), mwtGet.GetType(), ContextForMemberLookup, type); 840switch (CSemanticChecker.CheckAccess2(mwt.Meth(), mwt.GetType(), ContextForMemberLookup, type))
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (2)
178allCandidatesUnsupported &= CSemanticChecker.CheckBogus(_pCurrentSym); 1106return CSemanticChecker.ReportAccessError(_results.InaccessibleResult, _pExprBinder.ContextForMemberLookup, GetTypeQualifier(_pGroup));
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (1)
195&& CSemanticChecker.CheckTypeAccess(_typeDest, _binder.Context.ContextForMemberLookup))
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (5)
107bool fInaccess = !CSemanticChecker.CheckTypeAccess(typeCur, _symWhere); 159if (fInaccess || !CSemanticChecker.CheckAccess(symCur, typeCur, _symWhere, _typeQual)) 190if (!(symCur is MethodSymbol) && (_flags & MemLookFlags.Indexer) == 0 && CSemanticChecker.CheckBogus(symCur)) 472Debug.Assert(CSemanticChecker.CheckBogus(swt.Sym)); 612: CSemanticChecker.ReportAccessError(_swtInaccess, _symWhere, _typeQual);
Microsoft\CSharp\RuntimeBinder\Semantics\MethodIterator.cs (2)
86IsCurrentSymbolInaccessible = !CSemanticChecker.CheckAccess(CurrentSymbol, CurrentType, _context, _qualifyingType); 89IsCurrentSymbolBogus = CSemanticChecker.CheckBogus(CurrentSymbol);
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));