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/Parser/XmlRootState.cs | |
parent | b70e4e04b4e41b8ec28d7e4b220b401ecf467e7a (diff) | |
parent | de043d330a8bf5855d4d983c804cd36727cb2406 (diff) |
Merge remote-tracking branch 'origin/roslyn' into new-project-model
Diffstat (limited to 'main/src/addins/Xml/Parser/XmlRootState.cs')
-rw-r--r-- | main/src/addins/Xml/Parser/XmlRootState.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/src/addins/Xml/Parser/XmlRootState.cs b/main/src/addins/Xml/Parser/XmlRootState.cs index d77d7e787b..bdc49a57a9 100644 --- a/main/src/addins/Xml/Parser/XmlRootState.cs +++ b/main/src/addins/Xml/Parser/XmlRootState.cs @@ -26,8 +26,8 @@ // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // -using ICSharpCode.NRefactory.TypeSystem; -using MonoDevelop.Xml.Dom;
+using MonoDevelop.Xml.Dom; +using MonoDevelop.Ide.Editor;
namespace MonoDevelop.Xml.Parser
{
@@ -106,7 +106,7 @@ namespace MonoDevelop.Xml.Parser if (c == '<') { if (context.StateTag != FREE) context.LogError ("Incomplete tag opening; encountered unexpected '<'.", - new DomRegion ( + new DocumentRegion ( context.LocationMinus (LengthFromOpenBracket (context) + 1), context.LocationMinus (1))); context.StateTag = BRACKET; @@ -176,7 +176,7 @@ namespace MonoDevelop.Xml.Parser } context.LogError ("Incomplete tag opening; encountered unexpected character '" + c + "'.", - new DomRegion ( + new DocumentRegion ( context.LocationMinus (LengthFromOpenBracket (context)), context.Location)); |