1 // Licensed to the .NET Foundation under one or more agreements. 2 // The .NET Foundation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 namespace System.Security.Policy 6 { 7 [Serializable] 8 public partial class CodeConnectAccess 9 { 10 public static readonly string AnyScheme; 11 public static readonly int DefaultPort; 12 public static readonly int OriginPort; 13 public static readonly string OriginScheme; CodeConnectAccess(string allowScheme, int allowPort)14 public CodeConnectAccess(string allowScheme, int allowPort) { } 15 public int Port { get { return 0; } } 16 public string Scheme { get { return null; } } CreateAnySchemeAccess(int allowPort)17 public static CodeConnectAccess CreateAnySchemeAccess(int allowPort) { return default(CodeConnectAccess); } CreateOriginSchemeAccess(int allowPort)18 public static CodeConnectAccess CreateOriginSchemeAccess(int allowPort) { return default(CodeConnectAccess); } 19 public override bool Equals(object o) => base.Equals(o); GetHashCode()20 public override int GetHashCode() => base.GetHashCode(); 21 } 22 } 23