protected MonoFundamentalType(MonoSymbolFile file, Cecil.TypeDefinition typedef, string name, FundamentalKind kind, int size) : base(file.Language, name, kind, size) { this.file = file; this.typedef = typedef; }
protected MonoClassInfo(MonoSymbolFile file, Cecil.TypeDefinition typedef, TargetMemoryAccess target, TargetAddress klass) { this.SymbolFile = file; this.KlassAddress = klass; this.CecilType = typedef; parent_klass = MetadataHelper.MonoClassGetParent(target, klass); GenericClass = MetadataHelper.MonoClassGetGenericClass(target, klass); GenericContainer = MetadataHelper.MonoClassGetGenericContainer(target, klass); }
protected MonoClassInfo(MonoSymbolFile file, Cecil.TypeDefinition typedef, TargetMemoryAccess target, TargetAddress klass) { this.SymbolFile = file; this.KlassAddress = klass; this.CecilType = typedef; parent_klass = MetadataHelper.MonoClassGetParent (target, klass); GenericClass = MetadataHelper.MonoClassGetGenericClass (target, klass); GenericContainer = MetadataHelper.MonoClassGetGenericContainer (target, klass); }
public static MonoClassInfo ReadCoreType(MonoSymbolFile file, Cecil.TypeDefinition typedef, TargetMemoryAccess target, TargetAddress klass, out MonoClassType type) { MonoClassInfo info = new MonoClassInfo(file, typedef, target, klass); type = new MonoClassType(file, typedef, info); ((IMonoStructType)type).ClassInfo = info; info.struct_type = type; info.type = type; return(info); }