Example #1
0
 public InterpretedField(InterpretedType declaringType, string name, Type fieldType, FieldAttributes attributes)
 {
     _declaringType = declaringType;
     _name          = name;
     _fieldType     = fieldType;
     _attributes    = attributes;
 }
Example #2
0
 public InterpretedConstructor(
     InterpretedType declaringType,
     string name,
     ParameterInfo[] parameters,
     MethodAttributes attributes,
     MethodInvoker invoker,
     object invokableDefinition
     )
 {
     _declaringType      = declaringType;
     _name               = name;
     _parameters         = parameters;
     _attributes         = attributes;
     _invoker            = invoker;
     InvokableDefinition = invokableDefinition;
 }
Example #3
0
 public InterpretedMethod(
     Module module,
     InterpretedType declaringType,
     string name,
     Type returnType,
     ParameterInfo[] parameters,
     Lazy <MethodInfo[]> explicitOverrides,
     MethodAttributes attributes,
     GenericDetails generic,
     MethodInvoker invoker,
     object invokableDefinition
     )
 {
     _module             = module;
     _declaringType      = declaringType;
     _name               = name;
     _returnType         = returnType;
     _parameters         = parameters;
     _explicitOverrides  = explicitOverrides;
     _attributes         = attributes;
     _generic            = generic;
     _invoker            = invoker;
     InvokableDefinition = invokableDefinition;
 }