public sealed override FieldInfo[] GetFields(BindingFlags bindingFlags) { QScopeDefinition scope = _assembly.Scope; MetadataReader reader = scope.Reader; return(scope.ScopeDefinition.GlobalModuleType.GetNamedType(reader).GetFields(bindingFlags)); }
public sealed override FieldInfo GetField(string name, BindingFlags bindingAttr) { QScopeDefinition scope = _assembly.Scope; MetadataReader reader = scope.Reader; return(scope.ScopeDefinition.GlobalModuleType.GetNamedType(reader).GetField(name, bindingAttr)); }
public void AddOverflowScope(QScopeDefinition overflowScope) { if (_overflowScopes == null) { _overflowScopes = new LowLevelListWithIList <QScopeDefinition>(); } _overflowScopes.Add(overflowScope); }
protected sealed override MethodInfo GetMethodImpl(string name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) { QScopeDefinition scope = _assembly.Scope; MetadataReader reader = scope.Reader; TypeInfos.RuntimeTypeDefinitionTypeInfo runtimeType = scope.ScopeDefinition.GlobalModuleType.GetNamedType(reader); if (types == null) { return(runtimeType.GetMethod(name, bindingAttr)); } else { return(runtimeType.GetMethod(name, bindingAttr, binder, callConvention, types, modifiers)); } }
public void AddOverflowScope(QScopeDefinition overflowScope) { _overflowScopes.Add(overflowScope); }
public ScopeDefinitionGroup(QScopeDefinition canonicalScope) { _canonicalScope = canonicalScope; }
private RuntimeAssembly(MetadataReader reader, ScopeDefinitionHandle scope, IEnumerable <QScopeDefinition> overflowScopes) { Scope = new QScopeDefinition(reader, scope); OverflowScopes = overflowScopes; }
private NativeFormatRuntimeAssembly(MetadataReader reader, ScopeDefinitionHandle scope, IEnumerable<QScopeDefinition> overflowScopes) { Scope = new QScopeDefinition(reader, scope); OverflowScopes = overflowScopes; }
public void AddOverflowScope(QScopeDefinition overflowScope) { if (_overflowScopes == null) { _overflowScopes = new LowLevelListWithIList<QScopeDefinition>(); } _overflowScopes.Add(overflowScope); }
public ScopeDefinitionGroup(QScopeDefinition canonicalScope) { _canonicalScope = canonicalScope; }