You've already forked linux-packaging-mono
Imported Upstream version 5.16.0.100
Former-commit-id: 38faa55fb9669e35e7d8448b15c25dc447f25767
This commit is contained in:
parent
0a9828183b
commit
7d7f676260
@ -17,13 +17,8 @@ namespace Mono
|
||||
public readonly string Mvid;
|
||||
public readonly string Aotid;
|
||||
|
||||
public string File { get; private set; }
|
||||
public int LineNumber { get; private set; }
|
||||
|
||||
private StackFrameData (string line, string typeFullName, string methodSig, int offset, bool isILOffset, uint methodIndex, string mvid, string aotid)
|
||||
{
|
||||
LineNumber = -1;
|
||||
|
||||
Line = line;
|
||||
TypeFullName = typeFullName;
|
||||
MethodSignature = methodSig;
|
||||
@ -34,6 +29,11 @@ namespace Mono
|
||||
Aotid = aotid;
|
||||
}
|
||||
|
||||
public StackFrameData Relocate (string typeName, string methodName)
|
||||
{
|
||||
return new StackFrameData (Line, typeName, methodName, Offset, IsILOffset, MethodIndex, Mvid, Aotid);
|
||||
}
|
||||
|
||||
public static bool TryParse (string line, out StackFrameData stackFrame)
|
||||
{
|
||||
stackFrame = null;
|
||||
@ -91,16 +91,5 @@ namespace Mono
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
internal void SetLocation (string file, int lineNumber)
|
||||
{
|
||||
File = file;
|
||||
LineNumber = lineNumber;
|
||||
}
|
||||
|
||||
public override string ToString ()
|
||||
{
|
||||
return string.Format ("{0} in {1}:{2} ", Line.Substring (0, Line.IndexOf(" in <", StringComparison.Ordinal)), File, LineNumber);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user