当前位置: 首页>>代码示例>>C#>>正文


C# SymAddressKind类代码示例

本文整理汇总了C#中SymAddressKind的典型用法代码示例。如果您正苦于以下问题:C# SymAddressKind类的具体用法?C# SymAddressKind怎么用?C# SymAddressKind使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


SymAddressKind类属于命名空间,在下文中一共展示了SymAddressKind类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: NotSupportedException

	public virtual void DefineGlobalVariable
				(String name, FieldAttributes attributes, 
				 byte[] signature, SymAddressKind addrKind,
				 int addr1, int addr2, int addr3)
			{
				throw new NotSupportedException();
			}
开发者ID:jjenki11,项目名称:blaze-chem-rendering,代码行数:7,代码来源:SymWriter.cs

示例2: DefineLocalVariable2

		public void DefineLocalVariable2 (string name,
										  FieldAttributes attributes,
										  SymbolToken sigToken,
										  SymAddressKind addrKind,
										  int addr1,
										  int addr2,
										  int addr3,
										  int startOffset,
										  int endOffset)
		{
			((ISymUnmanagedWriter2)m_writer).DefineLocalVariable2 (name, (int)attributes, sigToken, (int)addrKind, addr1, addr2, addr3, startOffset, endOffset);
		}
开发者ID:transformersprimeabcxyz,项目名称:cecil-old,代码行数:12,代码来源:SymWriter.cs

示例3: DefineParameter

		public void DefineParameter(string name, ParameterAttributes attributes, int sequence, SymAddressKind addrKind, int addr1, int addr2, int addr3) {
			writer.DefineParameter(name, (uint)attributes, (uint)sequence, (uint)addrKind, (uint)addr1, (uint)addr2, (uint)addr3);
		}
开发者ID:Excelion,项目名称:dnlib,代码行数:3,代码来源:SymbolWriter.cs

示例4: DefineField

		public void DefineField(SymbolToken parent, string name, System.Reflection.FieldAttributes attributes, byte[] signature, SymAddressKind addrKind, int addr1, int addr2, int addr3) {
			writer.DefineField((uint)parent.GetToken(), name, (uint)attributes, (uint)signature.Length, signature, (uint)addrKind, (uint)addr1, (uint)addr2, (uint)addr3);
		}
开发者ID:Excelion,项目名称:dnlib,代码行数:3,代码来源:SymbolWriter.cs

示例5: DefineField

 public void DefineField(SymbolToken parent, string name, System.Reflection.FieldAttributes attributes, byte[] signature, SymAddressKind addrKind, int addr1, int addr2, int addr3)
 {
     throw new NotImplementedException();
 }
开发者ID:samskivert,项目名称:ikvm-monotouch,代码行数:4,代码来源:PdbWriter.cs

示例6: DefineParameter

		public void DefineParameter (
			string name,
			ParameterAttributes attributes,
			int sequence,
			SymAddressKind addrKind,
			int addr1,
			int addr2,
			int addr3)
		{
		}
开发者ID:ItsVeryWindy,项目名称:mono,代码行数:10,代码来源:SymbolWriterImpl.cs

示例7: DefineParameter

		public void DefineParameter (string name, ParameterAttributes attributes, int sequence, SymAddressKind addrKind, int addr1, int addr2, int addr3)
		{
			throw new Exception ("The method or operation is not implemented.");
		}
开发者ID:transformersprimeabcxyz,项目名称:cecil-old,代码行数:4,代码来源:SymWriter.cs

示例8: DefineField

 public void DefineField(
     SymbolToken parent,
     string name,
     FieldAttributes attributes,
     byte[] signature ,
     SymAddressKind addrKind,
     int addr1,
     int addr2,
     int addr3)
 {
     int hr;
     COMException Exception;
     hr = SymWriter_DefineField(
         m_Writer, parent.GetToken(), name,
         attributes.GetHashCode(), signature , (int)addrKind,
         addr1, addr2, addr3);
     if (hr < 0)
     {
         Exception = new COMException("Call to DefineField failed.", hr);
         throw Exception;
     }
 }
开发者ID:ArildF,项目名称:masters,代码行数:22,代码来源:isymwrapper.cs

示例9: DefineGlobalVariable

		public void DefineGlobalVariable (
			string name,
			FieldAttributes attributes,
			byte[] signature,
			SymAddressKind addrKind,
			int addr1,
			int addr2,
			int addr3)
		{
		}
开发者ID:ItsVeryWindy,项目名称:mono,代码行数:10,代码来源:SymbolWriterImpl.cs

示例10: DefineLocalVariable

 public void DefineLocalVariable(
     string name,
     FieldAttributes attributes,
     byte[] signature ,
     SymAddressKind addrKind,
     int addr1,
     int addr2,
     int addr3,
     int startOffset,
     int endOffset)
 {
     int hr;
     COMException Exception;
     hr = SymWriter_DefineLocalVariable(
         m_Writer, name,
         (int)attributes, signature.Length, signature, (int)addrKind,
         addr1, addr2, addr3, startOffset, endOffset);
     if (hr < 0)
     {
         Exception = new COMException("Call to DefineLocalVariable failed.", hr);
         throw Exception;
     }
 }
开发者ID:ArildF,项目名称:masters,代码行数:23,代码来源:isymwrapper.cs

示例11: DefineParameter

 public void DefineParameter(string name,
     ParameterAttributes attributes,
     int sequence,
     SymAddressKind addrKind,
     int addr1,
     int addr2,
     int addr3)
 {
     int hr;
     COMException Exception;
     hr = SymWriter_DefineParameter(
         m_Writer, name,
         (int)attributes, sequence , (int)addrKind,
         addr1, addr2, addr3);
     if (hr < 0)
     {
         Exception = new COMException("Call to DefineParameter failed.", hr);
         throw Exception;
     }
 }
开发者ID:ArildF,项目名称:masters,代码行数:20,代码来源:isymwrapper.cs

示例12: DefineParameter

 public void DefineParameter(string name, System.Reflection.ParameterAttributes attributes, int sequence, SymAddressKind addrKind, int addr1, int addr2, int addr3)
 {
     throw new NotImplementedException();
 }
开发者ID:samskivert,项目名称:ikvm-monotouch,代码行数:4,代码来源:PdbWriter.cs

示例13: DefineLocalVariable2

 public void DefineLocalVariable2(string name, FieldAttributes attributes, int signature, SymAddressKind addrKind, int addr1, int addr2, int addr3, int startOffset, int endOffset)
 {
     currentMethod.scopeStack.Peek().locals[name] = new LocalVar(attributes, signature, addrKind, addr1, addr2, addr3, startOffset, endOffset);
 }
开发者ID:samskivert,项目名称:ikvm-monotouch,代码行数:4,代码来源:PdbWriter.cs

示例14: DefineLocalVariable

 public void DefineLocalVariable(string name, System.Reflection.FieldAttributes attributes, byte[] signature, SymAddressKind addrKind, int addr1, int addr2, int addr3, int startOffset, int endOffset)
 {
     throw new NotImplementedException();
 }
开发者ID:samskivert,项目名称:ikvm-monotouch,代码行数:4,代码来源:PdbWriter.cs

示例15: DefineGlobalVariable

		public void DefineGlobalVariable(string name, System.Reflection.FieldAttributes attributes, byte[] signature, SymAddressKind addrKind, int addr1, int addr2, int addr3) {
			writer.DefineGlobalVariable(name, (uint)attributes, (uint)signature.Length, signature, (uint)addrKind, (uint)addr1, (uint)addr2, (uint)addr3);
		}
开发者ID:Excelion,项目名称:dnlib,代码行数:3,代码来源:SymbolWriter.cs


注:本文中的SymAddressKind类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。