StringsIndex() private method

private StringsIndex ( uint ix ) : void
ix uint
return void
Example #1
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);
 }
Example #2
0
 internal override sealed void Write(PEWriter output)
 {
     output.Write(flags);
     output.WriteCodedIndex(CIx.MemberForwarded,meth);
     output.StringsIndex(iNameIx);
     output.WriteIndex(MDTable.ModuleRef,importScope.Row);
 }
Example #3
0
 internal override sealed void Write(PEWriter output)
 {
     output.Write(flags);
     output.StringsIndex(nameIx);
     output.BlobIndex(hashIx);
 }
Example #4
0
 internal override void Write(PEWriter output)
 {
     output.Write(index);
     output.Write(flags);
     output.WriteCodedIndex(CIx.TypeOrMethodDef,parent);
     output.StringsIndex(nameIx);
     if (extraField) output.Write(kind);
 }
Example #5
0
 internal override sealed void Write(PEWriter output)
 {
     output.Write(flags);
     output.StringsIndex(nameIx);
     output.WriteCodedIndex(CIx.TypeDefOrRef,eventType);
 }
Example #6
0
 internal override sealed void Write(PEWriter output)
 {
     output.WriteCodedIndex(CIx.MemberRefParent,parent);
     output.StringsIndex(nameIx);
     output.BlobIndex(sigIx);
 }
Example #7
0
 internal override sealed void Write(PEWriter output)
 {
     output.Write(flags);
     output.StringsIndex(nameIx);
     output.StringsIndex(nameSpaceIx);
     //if (superType != null)
     // Console.WriteLine("getting coded index for superType of " + name + " = " + superType.GetCodedIx(CIx.TypeDefOrRef));
     output.WriteCodedIndex(CIx.TypeDefOrRef,superType);
     output.WriteIndex(MDTable.Field,fieldIx);
     output.WriteIndex(MDTable.Method,methodIx);
 }
Example #8
0
 internal override void Write(PEWriter output)
 {
     output.WriteCodedIndex(CIx.ResolutionScope,scope);
     output.StringsIndex(nameIx);
     output.StringsIndex(nameSpaceIx);
 }
Example #9
0
 internal override sealed void Write(PEWriter output)
 {
     output.Write(parMode);
     output.Write(seqNo);
     output.StringsIndex(nameIx);
 }
Example #10
0
 internal override sealed void Write(PEWriter output)
 {
     output.Write(flags);
     output.Write(0);
     output.StringsIndex(nameIx);
     output.StringsIndex(nameSpaceIx);
     output.WriteCodedIndex(CIx.Implementation,implementation);
 }
Example #11
0
 internal override sealed void Write(PEWriter output)
 {
     output.StringsIndex(nameIx);
 }
Example #12
0
 internal override sealed void Write(PEWriter output)
 {
     output.Write((short)0);
     output.StringsIndex(nameIx);
     output.GUIDIndex(mvidIx);
     output.GUIDIndex(0);
     output.GUIDIndex(0);
 }
Example #13
0
 internal override sealed void Write(PEWriter output)
 {
     if (varArgParent != null)
         output.WriteCodedIndex(CIx.MemberRefParent,varArgParent);
     else
         output.WriteCodedIndex(CIx.MemberRefParent,parent);
     output.StringsIndex(nameIx);
     output.BlobIndex(sigIx);
 }
Example #14
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);
 }
Example #15
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);
 }