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