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