private SourceLocation ( |
||
session | ||
navigator | ||
return | System |
internal SourceLocation(DebuggerSession session, XPathNavigator navigator)
{
this.Line = -1;
this.Column = -1;
XPathNodeIterator children = navigator.SelectChildren (XPathNodeType.Element);
while (children.MoveNext ()) {
if (children.Current.Name == "Module")
Module = children.Current.Value;
else if (children.Current.Name == "Method")
Method = children.Current.Value;
else if (children.Current.Name == "File")
FileName = children.Current.Value;
else if (children.Current.Name == "Name")
Name = children.Current.Value;
else if (children.Current.Name == "Line")
Line = Int32.Parse (children.Current.Value);
else if (children.Current.Name == "Column")
Column = Int32.Parse (children.Current.Value);
else
throw new InvalidOperationException ();
}
}
SourceLocation::SourceLocation ( |
|
SourceLocation::SourceLocation ( MethodSource source ) : System | |
SourceLocation::SourceLocation ( MethodSource source, |
|
SourceLocation::SourceLocation ( MethodSource source, |
|
SourceLocation::SourceLocation ( |
|
SourceLocation::SourceLocation ( |
|
SourceLocation::SourceLocation ( |
|
SourceLocation::SourceLocation ( string file, int line ) : System | |
SourceLocation::SourceLocation ( string file, int line, int column ) : System |