Mono.Debugger.SourceLocation.SourceLocation C# (CSharp) Method

SourceLocation() private method

private SourceLocation ( DebuggerSession session, XPathNavigator navigator ) : System
session DebuggerSession
navigator System.Xml.XPath.XPathNavigator
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 ();
            }
        }

Same methods

SourceLocation::SourceLocation ( DynamicSourceLocation dynamic ) : System
SourceLocation::SourceLocation ( MethodSource source ) : System
SourceLocation::SourceLocation ( MethodSource source, SourceFile file, int line ) : System
SourceLocation::SourceLocation ( MethodSource source, SourceFile file, int line, int column ) : System
SourceLocation::SourceLocation ( SourceFile file, int line ) : System
SourceLocation::SourceLocation ( SourceFile file, int line, int column ) : System
SourceLocation::SourceLocation ( TargetFunctionType function ) : System
SourceLocation::SourceLocation ( string file, int line ) : System
SourceLocation::SourceLocation ( string file, int line, int column ) : System