本文整理汇总了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();
}
示例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);
}
示例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);
}
示例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);
}
示例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();
}
示例6: DefineParameter
public void DefineParameter (
string name,
ParameterAttributes attributes,
int sequence,
SymAddressKind addrKind,
int addr1,
int addr2,
int addr3)
{
}
示例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.");
}
示例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;
}
}
示例9: DefineGlobalVariable
public void DefineGlobalVariable (
string name,
FieldAttributes attributes,
byte[] signature,
SymAddressKind addrKind,
int addr1,
int addr2,
int addr3)
{
}
示例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;
}
}
示例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;
}
}
示例12: DefineParameter
public void DefineParameter(string name, System.Reflection.ParameterAttributes attributes, int sequence, SymAddressKind addrKind, int addr1, int addr2, int addr3)
{
throw new NotImplementedException();
}
示例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);
}
示例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();
}
示例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);
}