21 references to CSemanticChecker
Microsoft.CSharp (21)
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (1)
444
CSemanticChecker
.CheckForStaticClass(dest);
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (2)
512
ACCESSERROR error =
CSemanticChecker
.CheckAccess2(mwtGet.Meth(), mwtGet.GetType(), ContextForMemberLookup, type);
840
switch (
CSemanticChecker
.CheckAccess2(mwt.Meth(), mwt.GetType(), ContextForMemberLookup, type))
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (2)
178
allCandidatesUnsupported &=
CSemanticChecker
.CheckBogus(_pCurrentSym);
1106
return
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)
107
bool fInaccess = !
CSemanticChecker
.CheckTypeAccess(typeCur, _symWhere);
159
if (fInaccess || !
CSemanticChecker
.CheckAccess(symCur, typeCur, _symWhere, _typeQual))
190
if (!(symCur is MethodSymbol) && (_flags & MemLookFlags.Indexer) == 0 &&
CSemanticChecker
.CheckBogus(symCur))
472
Debug.Assert(
CSemanticChecker
.CheckBogus(swt.Sym));
612
:
CSemanticChecker
.ReportAccessError(_swtInaccess, _symWhere, _typeQual);
Microsoft\CSharp\RuntimeBinder\Semantics\MethodIterator.cs (2)
86
IsCurrentSymbolInaccessible = !
CSemanticChecker
.CheckAccess(CurrentSymbol, CurrentType, _context, _qualifyingType);
89
IsCurrentSymbolBogus =
CSemanticChecker
.CheckBogus(CurrentSymbol);
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (8)
599
if (
CSemanticChecker
.CheckTypeAccess(typeSrc, context))
617
Debug.Assert(
CSemanticChecker
.CheckTypeAccess(typeDst, context));
631
if (
CSemanticChecker
.CheckTypeAccess(baseType, context))
648
Debug.Assert(
CSemanticChecker
.CheckTypeAccess(typeDst, context));
674
if (!
CSemanticChecker
.CheckTypeAccess(aggOpenType, context))
688
if (
CSemanticChecker
.CheckTypeAccess(typeArg, context))
720
Debug.Assert(
CSemanticChecker
.CheckTypeAccess(typeDst, context));
740
Debug.Assert(
CSemanticChecker
.CheckTypeAccess(typeDst, context));