9 instantiations of SubstContext
Microsoft.CSharp (9)
Microsoft\CSharp\RuntimeBinder\Errors\UserStringBuilder.cs (4)
166
SubstContext ctx = new
SubstContext
(TypeManager.SubstType(meth.swtSlot.GetType(), pctx));
285
SubstContext ctx = new
SubstContext
(TypeManager.SubstType(prop.swtSlot.GetType(), pctx));
577
SubstContext ctx = new
SubstContext
(parg.swtMemo.ats, null);
587
SubstContext ctx = new
SubstContext
(parg.mpwiMemo.ats, parg.mpwiMemo.typeArgs);
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (5)
185
SubstContext ctx = new
SubstContext
(typeArgsCls, typeArgsMeth, denormMeth);
193
SubstContext ctx = new
SubstContext
(typeArgsCls, null, false);
230
: SubstTypeArray(taSrc, new
SubstContext
(typeArgsCls, typeArgsMeth, false));
321
SubstContext ctx = new
SubstContext
(typeArgsCls, typeArgsMeth, denormMeth);
344
var ctx = new
SubstContext
(typeArgsCls, typeArgsMeth, true);
23 references to SubstContext
Microsoft.CSharp (23)
Microsoft\CSharp\RuntimeBinder\Errors\UserStringBuilder.cs (13)
120
private void ErrAppendParentSym(Symbol sym,
SubstContext
pctx)
125
private void ErrAppendParentCore(Symbol parent,
SubstContext
pctx)
144
private void ErrAppendTypeParameters(TypeArray @params,
SubstContext
pctx)
159
private void ErrAppendMethod(MethodSymbol meth,
SubstContext
pctx, bool fArgs)
166
SubstContext
ctx = new SubstContext(TypeManager.SubstType(meth.swtSlot.GetType(), pctx));
272
private void ErrAppendIndexer(IndexerSymbol indexer,
SubstContext
pctx)
278
private void ErrAppendProperty(PropertySymbol prop,
SubstContext
pctx)
285
SubstContext
ctx = new SubstContext(TypeManager.SubstType(prop.swtSlot.GetType(), pctx));
309
private void ErrAppendSym(Symbol sym,
SubstContext
pctx)
314
private void ErrAppendSym(Symbol sym,
SubstContext
pctx, bool fArgs)
391
private void ErrAppendType(CType pType,
SubstContext
pctx)
577
SubstContext
ctx = new SubstContext(parg.swtMemo.ats, null);
587
SubstContext
ctx = new SubstContext(parg.mpwiMemo.ats, parg.mpwiMemo.typeArgs);
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (10)
185
SubstContext
ctx = new SubstContext(typeArgsCls, typeArgsMeth, denormMeth);
193
SubstContext
ctx = new SubstContext(typeArgsCls, null, false);
200
public static TypeArray SubstTypeArray(TypeArray taSrc,
SubstContext
ctx)
234
private static AggregateType SubstTypeCore(AggregateType type,
SubstContext
ctx)
249
private static CType SubstTypeCore(CType type,
SubstContext
pctx)
321
SubstContext
ctx = new SubstContext(typeArgsCls, typeArgsMeth, denormMeth);
344
var
ctx = new SubstContext(typeArgsCls, typeArgsMeth, true);
360
private static bool SubstEqualTypesCore(CType typeDst, CType typeSrc,
SubstContext
pctx)
549
public static AggregateType SubstType(AggregateType typeSrc,
SubstContext
ctx) =>
552
public static CType SubstType(CType typeSrc,
SubstContext
pctx) =>