예제 #1
0
 internal sealed override void Write(PEWriter output)
 {
     output.Write(major);
     output.Write(minor);
     output.Write(build);
     output.Write(revision);
     output.Write(flags);
     output.BlobIndex(keyIx);
     output.StringsIndex(nameIx);
     output.StringsIndex(cultIx);
     output.BlobIndex(hashIx);
 }
예제 #2
0
 internal sealed override void Write(PEWriter output)
 {
     //Console.WriteLine("Writing assembly element with nameIx of " + nameIx + " at file offset " + output.Seek(0,SeekOrigin.Current));
     output.Write((uint)hashAlgId);
     output.Write(majorVer);
     output.Write(minorVer);
     output.Write(buildNo);
     output.Write(revisionNo);
     output.Write(flags);
     output.BlobIndex(keyIx);
     output.StringsIndex(nameIx);
     output.StringsIndex(cultIx);
 }
예제 #3
0
 internal sealed override void Write(PEWriter output)
 {
     if (code == null)
     {
         output.Write(0);
     }
     else
     {
         output.WriteCodeRVA(textOffset);
     }
     output.Write(implFlags);
     output.Write(methFlags);
     output.StringsIndex(nameIx);
     output.BlobIndex(sigIx);
     output.WriteIndex(MDTable.Param, parIx);
 }
예제 #4
0
 internal sealed override void Write(PEWriter output)
 {
     if (varArgParent != null)
     {
         output.WriteCodedIndex(CIx.MemberRefParent, varArgParent);
     }
     else if (parent is ConstructedTypeSpec)
     {
         output.WriteCodedIndex(CIx.MemberRefParent, ((ConstructedTypeSpec)parent).Spec);
     }
     else
     {
         output.WriteCodedIndex(CIx.MemberRefParent, parent);
     }
     output.StringsIndex(nameIx);
     output.BlobIndex(sigIx);
 }
예제 #5
0
 internal override sealed void Write(PEWriter output)
 {
     output.WriteCodedIndex(CIx.MemberRefParent, parent);
     output.StringsIndex(nameIx);
     output.BlobIndex(sigIx);
 }
예제 #6
0
 internal override sealed void Write(PEWriter output)
 {
     output.Write(flags);
     output.StringsIndex(nameIx);
     output.BlobIndex(sigIx);
 }
예제 #7
0
 internal sealed override void Write(PEWriter output)
 {
     output.WriteCodedIndex(CIx.MemberRefParent, parent);
     output.StringsIndex(nameIx);
     output.BlobIndex(sigIx);
 }
예제 #8
0
 internal sealed override void Write(PEWriter output)
 {
     output.Write(flags);
     output.StringsIndex(nameIx);
     output.BlobIndex(sigIx);
 }
예제 #9
0
 internal override void Write(PEWriter output)
 {
     output.WriteCodedIndex(CIx.MethodDefOrRef, methParent);
     output.BlobIndex(instIx);
 }
예제 #10
0
 internal override sealed void Write(PEWriter output)
 {
     //Console.WriteLine("Writing assembly element with nameIx of " + nameIx + " at file offset " + output.Seek(0,SeekOrigin.Current));
     output.Write((uint)hashAlgId);
     output.Write(majorVer);
     output.Write(minorVer);
     output.Write(buildNo);
     output.Write(revisionNo);
     output.Write(flags);
     output.BlobIndex(keyIx);
     output.StringsIndex(nameIx);
     output.StringsIndex(cultIx);
 }
예제 #11
0
 internal override void Write(PEWriter output)
 {
     output.WriteCodedIndex(CIx.MethodDefOrRef, methParent);
     output.BlobIndex(instIx);
 }
예제 #12
0
 internal override sealed void Write(PEWriter output)
 {
     output.Write(major);
     output.Write(minor);
     output.Write(build);
     output.Write(revision);
     output.Write(flags);
     output.BlobIndex(keyIx);
     output.StringsIndex(nameIx);
     output.StringsIndex(cultIx);
     output.BlobIndex(hashIx);
 }
예제 #13
0
 internal override sealed void Write(PEWriter output)
 {
     output.Write((UInt16)action);   // or should this be 2 bytes??
     output.WriteCodedIndex(CIx.HasDeclSecurity, parent);
     output.BlobIndex(permissionIx);
 }
예제 #14
0
 internal sealed override void Write(PEWriter output)
 {
     output.WriteCodedIndex(CIx.HasFieldMarshal, field);
     output.BlobIndex(ntIx);
 }
예제 #15
0
 internal sealed override void Write(PEWriter output)
 {
     output.WriteCodedIndex(CIx.HasFieldMarshal, field);
     output.BlobIndex(ntIx);
 }
예제 #16
0
 internal override sealed void Write(PEWriter output)
 {
     if (varArgParent != null)
         output.WriteCodedIndex(CIx.MemberRefParent, varArgParent);
     else if (parent is ConstructedTypeSpec)
         output.WriteCodedIndex(CIx.MemberRefParent, ((ConstructedTypeSpec)parent).Spec);
     else
         output.WriteCodedIndex(CIx.MemberRefParent, parent);
     output.StringsIndex(nameIx);
     output.BlobIndex(sigIx);
 }
예제 #17
0
 internal sealed override void Write(PEWriter output)
 {
     output.BlobIndex(sigIx);
 }
예제 #18
0
 internal override sealed void Write(PEWriter output)
 {
     if (code == null) output.Write(0);
     else output.WriteCodeRVA(textOffset);
     output.Write(implFlags);
     output.Write(methFlags);
     output.StringsIndex(nameIx);
     output.BlobIndex(sigIx);
     output.WriteIndex(MDTable.Param, parIx);
 }
예제 #19
0
 internal override sealed void Write(PEWriter output)
 {
     output.BlobIndex(sigIx);
 }
예제 #20
0
 internal override sealed void Write(PEWriter output)
 {
     //Console.WriteLine("Writing the blob index for a TypeSpec");
     output.BlobIndex(sigIx);
 }
예제 #21
0
 internal sealed override void Write(PEWriter output)
 {
     //Console.WriteLine("Writing the blob index for a TypeSpec");
     output.BlobIndex(sigIx);
 }