CodedIndexSize() private method

private CodedIndexSize ( CIx code ) : uint
code CIx
return uint
示例#1
0
文件: PERWAPI.cs 项目: nomit007/f4
 internal static uint Size(MetaData md)
 {
     return md.TableIndexSize(MDTable.TypeDef) +
         md.CodedIndexSize(CIx.TypeDefOrRef);
 }
示例#2
0
文件: PERWAPI.cs 项目: nomit007/f4
 internal static uint Size(MetaData md)
 {
     if (extraField)
         return 6 + md.CodedIndexSize(CIx.TypeOrMethodDef) + md.StringsIndexSize();
     else
         return 4 + md.CodedIndexSize(CIx.TypeOrMethodDef) + md.StringsIndexSize();
 }
示例#3
0
文件: PERWAPI.cs 项目: nomit007/f4
 internal static uint Size(MetaData md)
 {
     return 2+ md.CodedIndexSize(CIx.MemberForwarded) +
         md.StringsIndexSize() +  md.TableIndexSize(MDTable.ModuleRef);
 }
示例#4
0
文件: PERWAPI.cs 项目: nomit007/f4
 internal static uint Size(MetaData md)
 {
     return md.CodedIndexSize(CIx.HasFieldMarshal) + md.BlobIndexSize();
 }
示例#5
0
文件: PERWAPI.cs 项目: nomit007/f4
 internal static uint Size(MetaData md)
 {
     return md.CodedIndexSize(CIx.MemberRefParent) + md.StringsIndexSize() + md.BlobIndexSize();
 }
示例#6
0
文件: PERWAPI.cs 项目: nomit007/f4
 internal static uint Size(MetaData md)
 {
     return 2 + md.CodedIndexSize(CIx.HasDeclSecurity) + md.BlobIndexSize();
 }
示例#7
0
文件: PERWAPI.cs 项目: nomit007/f4
 internal static uint Size(MetaData md)
 {
     return 2 + md.StringsIndexSize() + md.CodedIndexSize(CIx.TypeDefOrRef);
 }
示例#8
0
文件: PERWAPI.cs 项目: nomit007/f4
 internal static uint Size(MetaData md)
 {
     return md.CodedIndexSize(CIx.ResolutionScope) + 2 * md.StringsIndexSize();
 }
示例#9
0
文件: PERWAPI.cs 项目: nomit007/f4
 internal static uint Size(MetaData md)
 {
     return md.CodedIndexSize(CIx.HasCustomAttr) + md.CodedIndexSize(CIx.CustomAttributeType) + md.BlobIndexSize();
 }
示例#10
0
文件: PERWAPI.cs 项目: nomit007/f4
 internal static uint Size(MetaData md)
 {
     return 4 + 2 * md.StringsIndexSize() +
         md.CodedIndexSize(CIx.TypeDefOrRef) +
         md.TableIndexSize(MDTable.Field) +
         md.TableIndexSize(MDTable.Method);
 }
示例#11
0
文件: PERWAPI.cs 项目: nomit007/f4
 internal static uint Size(MetaData md)
 {
     return 8 + 2* md.StringsIndexSize() + md.CodedIndexSize(CIx.Implementation);
 }
示例#12
0
文件: PERWAPI.cs 项目: nomit007/f4
 internal static uint Size(MetaData md)
 {
     return 2 + md.CodedIndexSize(CIx.HasConstant) + md.BlobIndexSize();
 }
示例#13
0
文件: PERWAPI.cs 项目: nomit007/f4
 internal static uint Size(MetaData md)
 {
     return md.CodedIndexSize(CIx.MethodDefOrRef) + md.BlobIndexSize();
 }
示例#14
0
文件: PERWAPI.cs 项目: nomit007/f4
 internal static uint Size(MetaData md)
 {
     return 2 + md.TableIndexSize(MDTable.Method) + md.CodedIndexSize(CIx.HasSemantics);
 }