9 instantiations of SubstContext
Microsoft.CSharp (9)
Microsoft\CSharp\RuntimeBinder\Errors\UserStringBuilder.cs (4)
172SubstContext ctx = new SubstContext(TypeManager.SubstType(meth.swtSlot.GetType(), pctx)); 294SubstContext ctx = new SubstContext(TypeManager.SubstType(prop.swtSlot.GetType(), pctx)); 590SubstContext ctx = new SubstContext(parg.swtMemo.ats, null); 600SubstContext ctx = new SubstContext(parg.mpwiMemo.ats, parg.mpwiMemo.typeArgs);
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (5)
192SubstContext ctx = new SubstContext(typeArgsCls, typeArgsMeth, denormMeth); 201SubstContext ctx = new SubstContext(typeArgsCls, null, false); 241: SubstTypeArray(taSrc, new SubstContext(typeArgsCls, typeArgsMeth, false)); 336SubstContext ctx = new SubstContext(typeArgsCls, typeArgsMeth, denormMeth); 359var ctx = new SubstContext(typeArgsCls, typeArgsMeth, true);
23 references to SubstContext
Microsoft.CSharp (23)
Microsoft\CSharp\RuntimeBinder\Errors\UserStringBuilder.cs (13)
123private void ErrAppendParentSym(Symbol sym, SubstContext pctx) 129private void ErrAppendParentCore(Symbol parent, SubstContext pctx) 149private void ErrAppendTypeParameters(TypeArray @params, SubstContext pctx) 165private void ErrAppendMethod(MethodSymbol meth, SubstContext pctx, bool fArgs) 172SubstContext ctx = new SubstContext(TypeManager.SubstType(meth.swtSlot.GetType(), pctx)); 279private void ErrAppendIndexer(IndexerSymbol indexer, SubstContext pctx) 287private void ErrAppendProperty(PropertySymbol prop, SubstContext pctx) 294SubstContext ctx = new SubstContext(TypeManager.SubstType(prop.swtSlot.GetType(), pctx)); 319private void ErrAppendSym(Symbol sym, SubstContext pctx) 325private void ErrAppendSym(Symbol sym, SubstContext pctx, bool fArgs) 403private void ErrAppendType(CType pType, SubstContext pctx) 590SubstContext ctx = new SubstContext(parg.swtMemo.ats, null); 600SubstContext ctx = new SubstContext(parg.mpwiMemo.ats, parg.mpwiMemo.typeArgs);
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (10)
192SubstContext ctx = new SubstContext(typeArgsCls, typeArgsMeth, denormMeth); 201SubstContext ctx = new SubstContext(typeArgsCls, null, false); 210public static TypeArray SubstTypeArray(TypeArray taSrc, SubstContext ctx) 247private static AggregateType SubstTypeCore(AggregateType type, SubstContext ctx) 263private static CType SubstTypeCore(CType type, SubstContext pctx) 336SubstContext ctx = new SubstContext(typeArgsCls, typeArgsMeth, denormMeth); 359var ctx = new SubstContext(typeArgsCls, typeArgsMeth, true); 375private static bool SubstEqualTypesCore(CType typeDst, CType typeSrc, SubstContext pctx) 566public static AggregateType SubstType(AggregateType typeSrc, SubstContext ctx) => 570public static CType SubstType(CType typeSrc, SubstContext pctx) =>