6 instantiations of CodeConnectAccess
mscorlib (6)
system\security\policy\netcodegroup.cs (6)
62
CodeConnectAccess access = new
CodeConnectAccess
();
69
CodeConnectAccess access = new
CodeConnectAccess
();
886
AddConnectAccess(originScheme, new
CodeConnectAccess
(connectScheme, connectPort));
921
AddConnectAccess("http", new
CodeConnectAccess
("http", CodeConnectAccess.OriginPort));
922
AddConnectAccess("http", new
CodeConnectAccess
("https", CodeConnectAccess.OriginPort));
930
AddConnectAccess("https", new
CodeConnectAccess
("https", CodeConnectAccess.OriginPort));
34 references to CodeConnectAccess
mscorlib (34)
system\security\policy\netcodegroup.cs (34)
60
public static
CodeConnectAccess
CreateOriginSchemeAccess(int allowPort)
62
CodeConnectAccess
access = new CodeConnectAccess();
67
public static
CodeConnectAccess
CreateAnySchemeAccess(int allowPort)
69
CodeConnectAccess
access = new CodeConnectAccess();
110
CodeConnectAccess
that = (o as
CodeConnectAccess
);
265
public static readonly string AnyOtherOriginScheme=
CodeConnectAccess
.AnyScheme;
293
public void AddConnectAccess(string originScheme,
CodeConnectAccess
connectAccess)
299
if (originScheme != AbsentOriginScheme && originScheme != AnyOtherOriginScheme && !
CodeConnectAccess
.IsValidScheme(originScheme))
324
if (((
CodeConnectAccess
)list[i]).Equals(connectAccess))
355
result[i].Value = ((ArrayList)m_accessList[i]).ToArray(typeof(
CodeConnectAccess
));
496
int intPort =
CodeConnectAccess
.NoPort;
502
CodeConnectAccess
[] access = FindAccessRulesForScheme(scheme);
550
private
CodeConnectAccess
[] FindAccessRulesForScheme(string lowerCaseScheme)
564
return (
CodeConnectAccess
[])accessList.ToArray(typeof(
CodeConnectAccess
));
569
private string TryPermissionAsOneString(
CodeConnectAccess
[] access, string escapedScheme, string escapedHost, int intPort)
574
int sameCustomPort =
CodeConnectAccess
.AnyPort;
585
noPort &= (access[i].IsDefaultPort || (access[i].IsOriginPort && intPort ==
CodeConnectAccess
.NoPort));
591
if (sameCustomPort ==
CodeConnectAccess
.AnyPort)
598
sameCustomPort =
CodeConnectAccess
.NoPort;
604
sameCustomPort =
CodeConnectAccess
.NoPort;
611
if (!noPort && !originPort && sameCustomPort ==
CodeConnectAccess
.NoPort)
654
private string GetPermissionAccessElementString(
CodeConnectAccess
access, string escapedScheme, string escapedHost, string strPort)
828
result += ((
CodeConnectAccess
)accessList[i]).GetHashCode();
845
foreach (
CodeConnectAccess
access in (
CodeConnectAccess
[])rule.Value)
921
AddConnectAccess("http", new CodeConnectAccess("http",
CodeConnectAccess
.OriginPort));
922
AddConnectAccess("http", new CodeConnectAccess("https",
CodeConnectAccess
.OriginPort));
930
AddConnectAccess("https", new CodeConnectAccess("https",
CodeConnectAccess
.OriginPort));
945
AddConnectAccess(NetCodeGroup.AbsentOriginScheme,
CodeConnectAccess
.CreateAnySchemeAccess(
CodeConnectAccess
.OriginPort));
946
AddConnectAccess(NetCodeGroup.AnyOtherOriginScheme,
CodeConnectAccess
.CreateOriginSchemeAccess(
CodeConnectAccess
.OriginPort));