當前位置: 首頁>>代碼示例>>C#>>正文


C# PEAPI.MetaDataElement類代碼示例

本文整理匯總了C#中PEAPI.MetaDataElement的典型用法代碼示例。如果您正苦於以下問題:C# MetaDataElement類的具體用法?C# MetaDataElement怎麽用?C# MetaDataElement使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


MetaDataElement類屬於PEAPI命名空間,在下文中一共展示了MetaDataElement類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: AddCustomAttribute

		public void AddCustomAttribute (Method meth, Constant constant, MetaDataElement element)
		{
			metaData.AddCustomAttribute (new CustomAttribute (element, meth, constant));
			element.HasCustomAttr = true;
		}
開發者ID:Profit0004,項目名稱:mono,代碼行數:5,代碼來源:PEAPI.cs

示例2: DeclSecurity

		internal DeclSecurity(MetaDataElement paren, ushort act, byte [] val)        
			: base (paren, act)
		{
			byteVal = val;
		}
開發者ID:calumjiao,項目名稱:Mono-Class-Libraries,代碼行數:5,代碼來源:Metadata.cs

示例3: FieldMarshal

		internal FieldMarshal(MetaDataElement field, NativeType nType)      
		{
			this.field = field;
			this.nt = nType;
			tabIx = MDTable.FieldMarshal;
		}
開發者ID:calumjiao,項目名稱:Mono-Class-Libraries,代碼行數:6,代碼來源:Metadata.cs

示例4: BaseDeclSecurity

		internal BaseDeclSecurity(MetaDataElement paren, ushort act)
		{
			parent = paren;
			action = act;
			tabIx = MDTable.DeclSecurity;
		}
開發者ID:calumjiao,項目名稱:Mono-Class-Libraries,代碼行數:6,代碼來源:Metadata.cs

示例5: SetEntryPoint

		internal void SetEntryPoint(MetaDataElement ep) 
		{
			entryPoint = ep;
		}
開發者ID:calumjiao,項目名稱:Mono-Class-Libraries,代碼行數:4,代碼來源:Metadata.cs

示例6: ConstantElem

		internal ConstantElem(MetaDataElement parent, Constant val) 
		{
			this.parent = parent;
			cValue = val;
			tabIx = MDTable.Constant;
			sortTable = true;
		}
開發者ID:calumjiao,項目名稱:Mono-Class-Libraries,代碼行數:7,代碼來源:Metadata.cs

示例7: CustomAttribute

		internal CustomAttribute(MetaDataElement paren, Method constrType, 
				Constant val) {
			parent = paren;
			type = constrType;
			cVal = val;
			tabIx = MDTable.CustomAttribute;
		}
開發者ID:calumjiao,項目名稱:Mono-Class-Libraries,代碼行數:7,代碼來源:Metadata.cs

示例8: AddCustomAttribute

 public void AddCustomAttribute (Method meth, byte [] data, MetaDataElement element)
 {
         metaData.AddCustomAttribute (new CustomAttribute (element, meth, data));
 }
開發者ID:jjenki11,項目名稱:blaze-chem-rendering,代碼行數:4,代碼來源:PEAPI.cs

示例9: DeclSecurity

           internal DeclSecurity(MetaDataElement paren, ushort act)        {
 parent = paren;
 action = act;
 tabIx = MDTable.DeclSecurity;
 throw(new NotYetImplementedException("Security "));
           }
開發者ID:jjenki11,項目名稱:blaze-chem-rendering,代碼行數:6,代碼來源:PEAPI.cs

示例10: WriteCodedIndex

 internal void WriteCodedIndex(CIx code, MetaDataElement elem) {
   metaData.WriteCodedIndex(code,elem,this);
 }
開發者ID:jjenki11,項目名稱:blaze-chem-rendering,代碼行數:3,代碼來源:PEAPI.cs

示例11: ExternClassRef

		internal ExternClassRef(TypeAttr attrs, string nsName, string name,
				MetaDataElement declRef, MetaData md) : base(nsName,name,md) 
		{
			externClass = new ExternClass(attrs,nameSpaceIx,nameIx,declRef);
			metaData.AddToTable(MDTable.ExportedType,externClass);
		}
開發者ID:Profit0004,項目名稱:mono,代碼行數:6,代碼來源:Metadata.cs

示例12: AddDeclSecurity

		public void AddDeclSecurity (SecurityAction sec_action, PEAPI.PermissionSet ps, MetaDataElement element)
		{
			metaData.AddDeclSecurity (new DeclSecurity_20 (element, (ushort) sec_action, ps));
		}
開發者ID:calumjiao,項目名稱:Mono-Class-Libraries,代碼行數:4,代碼來源:PEAPI.cs

示例13: ExternClass

		internal ExternClass(TypeAttr attr, uint nsIx, uint nIx, 
				MetaDataElement paren) : base(nsIx,nIx) 
		{
			flags = (uint)attr;
			parent = paren;
			tabIx = MDTable.ExportedType;
		}
開發者ID:calumjiao,項目名稱:Mono-Class-Libraries,代碼行數:7,代碼來源:Metadata.cs

示例14: FieldRef

		internal FieldRef(MetaDataElement paren, string name, Type fType) : base(name, fType)   
		{
			parent = paren;
		}
開發者ID:calumjiao,項目名稱:Mono-Class-Libraries,代碼行數:4,代碼來源:Metadata.cs

示例15: MethodRef

		internal MethodRef(MetaDataElement paren, string name, Type retType,
				Type[] pars, bool varArgMeth, Type[] optPars, int gen_param_count) : base(name)
		{
			parent = paren;
			parList = pars;
			this.retType = retType;
			if (parList != null) numPars = (uint)parList.Length;
			if (varArgMeth) {
				optParList = optPars;
				if (optParList != null) numOptPars = (uint)optParList.Length;
				callConv = CallConv.Vararg;
			}
			this.gen_param_count = gen_param_count;
		}
開發者ID:calumjiao,項目名稱:Mono-Class-Libraries,代碼行數:14,代碼來源:Metadata.cs


注:本文中的PEAPI.MetaDataElement類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。