[build] Prevent cyclic targets from being built in parallel
[mono.git] / mcs / class / System / System.Net.Security / LocalCertificateSelectionCallback.cs
index 7f062133d32ce587600c4e0b7b0175611c2d147b..53c829076ebe2c3af1ec7b3532b59b46a1ad8dc3 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0 && SECURITY_DEP
+#if SECURITY_DEP
+
+#if !MONOTOUCH && !MONODROID
 extern alias PrebuiltSystem;
+using X509CertificateCollection = PrebuiltSystem::System.Security.Cryptography.X509Certificates.X509CertificateCollection;
+#endif
 
 using System.Security.Cryptography.X509Certificates;
 
-using X509CertificateCollection = PrebuiltSystem::System.Security.Cryptography.X509Certificates.X509CertificateCollection;
-
 namespace System.Net.Security 
 {
        public delegate X509Certificate LocalCertificateSelectionCallback (
@@ -45,5 +47,4 @@ namespace System.Net.Security
                X509Certificate remoteCertificate,
                string [] acceptableIssuers);
 }
-
 #endif