예제 #1
0
 public void Read(ClrModuleReader reader)
 {
     this.Number = reader.Binary.ReadUInt16();
     this.Flags = (GenericParamAttributes)reader.Binary.ReadUInt16();
     this.Owner = reader.ReadCodedIndex<TypeOrMethodDef>();
     this.Name = reader.ReadString();
 }
예제 #2
0
 public void Read(ClrModuleReader reader)
 {
     this.Offset = reader.Binary.ReadUInt32();
     this.Flags = (ManifestResourceAttributes)reader.Binary.ReadUInt32();
     this.Name = reader.ReadString();
     this.Implementation = reader.ReadCodedIndex<Implementation>();
 }
예제 #3
0
 public void Read(ClrModuleReader reader)
 {
     this.MappingFlags = (PInvokeAttributes)reader.Binary.ReadUInt16();
     this.MemberForwarded = reader.ReadCodedIndex<MemberForwarded>();
     this.ImportName = reader.ReadString();
     this.ImportScope = reader.ReadTableIndex(TableKind.ModuleRef);
 }
예제 #4
0
 public void Read(ClrModuleReader reader)
 {
     this.Number = reader.Binary.ReadUInt16();
     this.Flags  = (GenericParamAttributes)reader.Binary.ReadUInt16();
     this.Owner  = reader.ReadCodedIndex <TypeOrMethodDef>();
     this.Name   = reader.ReadString();
 }
예제 #5
0
 public void Read(ClrModuleReader reader)
 {
     this.Type = (ElementType)reader.Binary.ReadByte();
     byte padding = reader.Binary.ReadByte();
     this.Parent = reader.ReadCodedIndex<HasConstant>();
     this.Value = reader.ReadBlob();
 }
예제 #6
0
 public void Read(ClrModuleReader reader)
 {
     this.Offset         = reader.Binary.ReadUInt32();
     this.Flags          = (ManifestResourceAttributes)reader.Binary.ReadUInt32();
     this.Name           = reader.ReadString();
     this.Implementation = reader.ReadCodedIndex <Implementation>();
 }
예제 #7
0
 public void Read(ClrModuleReader reader)
 {
     this.MappingFlags    = (PInvokeAttributes)reader.Binary.ReadUInt16();
     this.MemberForwarded = reader.ReadCodedIndex <MemberForwarded>();
     this.ImportName      = reader.ReadString();
     this.ImportScope     = reader.ReadTableIndex(TableKind.ModuleRef);
 }
예제 #8
0
        public void Read(ClrModuleReader reader)
        {
            this.TypeReference = new TypeReference.External();

            this.ResolutionScope = reader.ReadCodedIndex<ResolutionScope>();
            this.TypeReference.Name = reader.ReadString();
            this.TypeReference.Namespace = reader.ReadString();
        }
예제 #9
0
 public void Read(ClrModuleReader reader)
 {
     this.Flags = (TypeAttributes)reader.Binary.ReadUInt32();
     this.TypeDefId = reader.Binary.ReadUInt32();
     this.TypeName = reader.ReadString();
     this.TypeNamespace = reader.ReadString();
     this.Implementation = reader.ReadCodedIndex<Implementation>();
 }
예제 #10
0
        public void Read(ClrModuleReader reader)
        {
            this.Type = (ElementType)reader.Binary.ReadByte();
            byte padding = reader.Binary.ReadByte();

            this.Parent = reader.ReadCodedIndex <HasConstant>();
            this.Value  = reader.ReadBlob();
        }
예제 #11
0
        public void Read(ClrModuleReader reader)
        {
            this.TypeReference = new TypeReference.External();

            this.ResolutionScope         = reader.ReadCodedIndex <ResolutionScope>();
            this.TypeReference.Name      = reader.ReadString();
            this.TypeReference.Namespace = reader.ReadString();
        }
예제 #12
0
 public void Read(ClrModuleReader reader)
 {
     this.Flags          = (TypeAttributes)reader.Binary.ReadUInt32();
     this.TypeDefId      = reader.Binary.ReadUInt32();
     this.TypeName       = reader.ReadString();
     this.TypeNamespace  = reader.ReadString();
     this.Implementation = reader.ReadCodedIndex <Implementation>();
 }
예제 #13
0
        public void Read(ClrModuleReader reader)
        {
            this.TypeDefinition = new TypeDefinition();

            this.TypeDefinition.Attributes = (TypeAttributes)reader.Binary.ReadUInt32();
            this.TypeDefinition.Name       = reader.ReadString();
            this.TypeDefinition.Namespace  = reader.ReadString();
            this.Extends    = reader.ReadCodedIndex <TypeDefOrRef>();
            this.FieldList  = reader.ReadTableIndex(TableKind.Field);
            this.MethodList = reader.ReadTableIndex(TableKind.MethodDef);
        }
예제 #14
0
 public void Read(ClrModuleReader reader)
 {
     this.Class     = reader.ReadTableIndex(TableKind.TypeDef);
     this.Interface = reader.ReadCodedIndex <TypeDefOrRef>();
 }
예제 #15
0
 public void Read(ClrModuleReader reader)
 {
     this.EventFlags = (EventAttributes)reader.Binary.ReadUInt16();
     this.Name       = reader.ReadString();
     this.EventType  = reader.ReadCodedIndex <TypeDefOrRef>();
 }
예제 #16
0
 public void Read(ClrModuleReader reader)
 {
     this.Parent = reader.ReadCodedIndex <HasCustomAttribute>();
     this.Type   = reader.ReadCodedIndex <CustomAttributeType>();
     this.Value  = new CustomAttributeData(reader.ReadBlob());
 }
예제 #17
0
 public void Read(ClrModuleReader reader)
 {
     this.Action        = (SecurityAction)reader.Binary.ReadUInt16();
     this.Parent        = reader.ReadCodedIndex <HasDeclSecurity>();
     this.PermissionSet = reader.ReadBlob();
 }
예제 #18
0
 public void Read(ClrModuleReader reader)
 {
     this.Class             = reader.ReadTableIndex(TableKind.TypeDef);
     this.MethodBody        = reader.ReadCodedIndex <MethodDefOrRef>();
     this.MethodDeclaration = reader.ReadCodedIndex <MethodDefOrRef>();
 }
예제 #19
0
 public void Read(ClrModuleReader reader)
 {
     this.Class = reader.ReadCodedIndex<MemberRefParent>();
     this.Name = reader.ReadString();
     this.SignatureBlob = reader.ReadBlob();
 }
예제 #20
0
 public void Read(ClrModuleReader reader)
 {
     this.Parent     = reader.ReadCodedIndex <HasFieldMarshal>();
     this.NativeType = new MarshalSpec(reader.ReadBlob());
 }
예제 #21
0
 public void Read(ClrModuleReader reader)
 {
     this.Parent = reader.ReadCodedIndex<HasFieldMarshal>();
     this.NativeType = new MarshalSpec(reader.ReadBlob());
 }
예제 #22
0
 public void Read(ClrModuleReader reader)
 {
     this.Semantics   = (MethodSemanticsAttributes)reader.Binary.ReadUInt16();
     this.Method      = reader.ReadTableIndex(TableKind.MethodDef);
     this.Association = reader.ReadCodedIndex <HasSemantics>();
 }
예제 #23
0
 public void Read(ClrModuleReader reader)
 {
     this.EventFlags = (EventAttributes)reader.Binary.ReadUInt16();
     this.Name = reader.ReadString();
     this.EventType = reader.ReadCodedIndex<TypeDefOrRef>();
 }
 public void Read(ClrModuleReader reader)
 {
     this.Owner = reader.ReadTableIndex(TableKind.GenericParam);
     this.Constraint = reader.ReadCodedIndex<TypeDefOrRef>();
 }
예제 #25
0
 public void Read(ClrModuleReader reader)
 {
     this.Class         = reader.ReadCodedIndex <MemberRefParent>();
     this.Name          = reader.ReadString();
     this.SignatureBlob = reader.ReadBlob();
 }
예제 #26
0
 public void Read(ClrModuleReader reader)
 {
     this.Method        = reader.ReadCodedIndex <MethodDefOrRef>();
     this.Instantiation = reader.ReadMethodSpec();
 }
예제 #27
0
 public void Read(ClrModuleReader reader)
 {
     this.Class = reader.ReadTableIndex(TableKind.TypeDef);
     this.Interface = reader.ReadCodedIndex<TypeDefOrRef>();
 }
예제 #28
0
 public void Read(ClrModuleReader reader)
 {
     this.Owner      = reader.ReadTableIndex(TableKind.GenericParam);
     this.Constraint = reader.ReadCodedIndex <TypeDefOrRef>();
 }
예제 #29
0
 public void Read(ClrModuleReader reader)
 {
     this.Action = (SecurityAction)reader.Binary.ReadUInt16();
     this.Parent = reader.ReadCodedIndex<HasDeclSecurity>();
     this.PermissionSet = reader.ReadBlob();
 }
예제 #30
0
 public void Read(ClrModuleReader reader)
 {
     this.Class = reader.ReadTableIndex(TableKind.TypeDef);
     this.MethodBody = reader.ReadCodedIndex<MethodDefOrRef>();
     this.MethodDeclaration = reader.ReadCodedIndex<MethodDefOrRef>();
 }
예제 #31
0
 public void Read(ClrModuleReader reader)
 {
     this.Parent = reader.ReadCodedIndex<HasCustomAttribute>();
     this.Type = reader.ReadCodedIndex<CustomAttributeType>();
     this.Value = new CustomAttributeData(reader.ReadBlob());
 }
예제 #32
0
 public void Read(ClrModuleReader reader)
 {
     this.Semantics = (MethodSemanticsAttributes)reader.Binary.ReadUInt16();
     this.Method = reader.ReadTableIndex(TableKind.MethodDef);
     this.Association = reader.ReadCodedIndex<HasSemantics>();
 }
예제 #33
0
 public void Read(ClrModuleReader reader)
 {
     this.Method = reader.ReadCodedIndex<MethodDefOrRef>();
     this.Instantiation = reader.ReadMethodSpec();
 }