diff options
author | Lluis Sanchez Gual <lluis@xamarin.com> | 2015-04-20 19:07:51 +0300 |
---|---|---|
committer | Lluis Sanchez Gual <lluis@xamarin.com> | 2015-04-20 19:07:51 +0300 |
commit | 95408b1a41b31b645f3a8c3323ab7d3ca4bff26b (patch) | |
tree | f8f137cddcb9a40499d303be95722fd2c6081bce /main/src/addins/Xml/Dom/XObject.cs | |
parent | b70e4e04b4e41b8ec28d7e4b220b401ecf467e7a (diff) | |
parent | de043d330a8bf5855d4d983c804cd36727cb2406 (diff) |
Merge remote-tracking branch 'origin/roslyn' into new-project-model
Diffstat (limited to 'main/src/addins/Xml/Dom/XObject.cs')
-rw-r--r-- | main/src/addins/Xml/Dom/XObject.cs | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/main/src/addins/Xml/Dom/XObject.cs b/main/src/addins/Xml/Dom/XObject.cs index f999256eea..c55d3e3742 100644 --- a/main/src/addins/Xml/Dom/XObject.cs +++ b/main/src/addins/Xml/Dom/XObject.cs @@ -25,22 +25,21 @@ // THE SOFTWARE.
using System.Collections.Generic; -using System.Text; -using ICSharpCode.NRefactory.TypeSystem; -using ICSharpCode.NRefactory; +using System.Text;
+using MonoDevelop.Ide.Editor; namespace MonoDevelop.Xml.Dom { public abstract class XObject { - DomRegion region; + DocumentRegion region; - protected XObject (TextLocation start) + protected XObject (DocumentLocation start) { - region = new DomRegion (start, TextLocation.Empty); + region = new DocumentRegion (start, DocumentLocation.Empty); } - protected XObject (DomRegion region) + protected XObject (DocumentRegion region) { this.region = region; } @@ -57,13 +56,13 @@ namespace MonoDevelop.Xml.Dom } } - public DomRegion Region { + public DocumentRegion Region { get { return region; } } - public void End (TextLocation endLocation) + public void End (DocumentLocation endLocation) { - region = new DomRegion (region.Begin, endLocation); + region = new DocumentRegion (region.Begin, endLocation); } public bool IsEnded { |