Merge pull request #2832 from razzfazz/handle_eintr
[mono.git] / mcs / class / System.Web.Services / System.Web.Services.Description / BasicProfileChecker.cs
index c9d73c2e07038f3b382e9a8d12c8c1db5b005ee5..c0cdcf4c1b8900b9f65d53a877c6b3439bfe0bf3 100644 (file)
@@ -29,7 +29,6 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
 
 using System.IO;
 using System.Xml.Schema;
@@ -142,7 +141,7 @@ namespace System.Web.Services.Description
 
                public override void Check (ConformanceCheckContext ctx, BindingCollection value) {
                        foreach (Binding b in value)
-                               foreach (ServiceDescriptionFormatExtension ext in b.Extensions)
+                               foreach (object ext in b.Extensions)
                                        if (ext.GetType () == typeof (SoapBinding))
                                                return;
 
@@ -956,4 +955,3 @@ namespace System.Web.Services.Description
        }
 }
 
-#endif