Example #1
0
 public MethodContext(MethodDefinition method, TypeContext typeContext) : base(method, typeContext)
 {
     Method      = method;
     TypeContext = typeContext;
 }
Example #2
0
 public MethodContext(MethodDefinition method, PropertyContext propertyContext) : base(method, propertyContext)
 {
     Method      = method;
     TypeContext = propertyContext.TypeContext;
 }
 public TypeContext(TypeDefinition type, TypeContext declaringTypeContext) : base(type, declaringTypeContext)
 {
     Type = type;
     DeclaringTypeContext = declaringTypeContext;
     ModuleContext        = declaringTypeContext.ModuleContext;
 }