本文整理汇总了C#中System.Reflection.Emit.TypeBuilder.get_next_table_index方法的典型用法代码示例。如果您正苦于以下问题:C# TypeBuilder.get_next_table_index方法的具体用法?C# TypeBuilder.get_next_table_index怎么用?C# TypeBuilder.get_next_table_index使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.Reflection.Emit.TypeBuilder
的用法示例。
在下文中一共展示了TypeBuilder.get_next_table_index方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: FieldBuilder
#pragma warning restore 169, 414
internal FieldBuilder (TypeBuilder tb, string fieldName, Type type, FieldAttributes attributes, Type[] modReq, Type[] modOpt)
{
if (type == null)
throw new ArgumentNullException ("type");
attrs = attributes;
name = fieldName;
this.type = type;
this.modReq = modReq;
this.modOpt = modOpt;
offset = -1;
typeb = tb;
table_idx = tb.get_next_table_index (this, 0x04, true);
}
示例2: PropertyBuilder
#pragma warning restore 169, 414
internal PropertyBuilder (TypeBuilder tb, string name, PropertyAttributes attributes, Type returnType, Type[] returnModReq, Type[] returnModOpt, Type[] parameterTypes, Type[][] paramModReq, Type[][] paramModOpt) {
this.name = name;
this.attrs = attributes;
this.type = returnType;
this.returnModReq = returnModReq;
this.returnModOpt = returnModOpt;
this.paramModReq = paramModReq;
this.paramModOpt = paramModOpt;
if (parameterTypes != null) {
this.parameters = new Type [parameterTypes.Length];
System.Array.Copy (parameterTypes, this.parameters, this.parameters.Length);
}
typeb = tb;
table_idx = tb.get_next_table_index (this, 0x17, true);
}