Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/addins/Xml/Tests/Schema/SchemaTestFixtureBase.cs')
-rw-r--r--main/src/addins/Xml/Tests/Schema/SchemaTestFixtureBase.cs11
1 files changed, 5 insertions, 6 deletions
diff --git a/main/src/addins/Xml/Tests/Schema/SchemaTestFixtureBase.cs b/main/src/addins/Xml/Tests/Schema/SchemaTestFixtureBase.cs
index 5997a316bd..16e56e185e 100644
--- a/main/src/addins/Xml/Tests/Schema/SchemaTestFixtureBase.cs
+++ b/main/src/addins/Xml/Tests/Schema/SchemaTestFixtureBase.cs
@@ -1,4 +1,3 @@
-using ICSharpCode.NRefactory.Completion;
using MonoDevelop.Ide.CodeCompletion;
using MonoDevelop.Xml.Completion;
using NUnit.Framework;
@@ -52,7 +51,7 @@ namespace MonoDevelop.Xml.Tests.Schema
{
bool Contains = false;
- foreach (ICompletionData data in items) {
+ foreach (var data in items) {
if (data.DisplayText == name) {
Contains = true;
break;
@@ -70,12 +69,12 @@ namespace MonoDevelop.Xml.Tests.Schema
{
bool Contains = false;
- foreach (ICompletionData data in items) {
+ foreach (var data in items) {
if (data.DisplayText == name) {
- if (data.Description == description) {
+ //if (data.DisplayText == description) {
Contains = true;
break;
- }
+ //}
}
}
@@ -90,7 +89,7 @@ namespace MonoDevelop.Xml.Tests.Schema
{
int count = 0;
- foreach (ICompletionData data in items) {
+ foreach (var data in items) {
if (data.DisplayText == name) {
++count;
}