5 writes to m_connectList
System (5)
net\System\Net\WebPermission.cs (5)
534
wp.
m_connectList
= (ArrayList)m_connectList.Clone();
677
result.
m_connectList
= (ArrayList) other.m_connectList.Clone();
745
result.
m_connectList
= (ArrayList) (m_UnrestrictedConnect ? other : this).m_connectList.Clone();
814
m_connectList
= new ArrayList();
846
m_connectList
= new ArrayList();
31 references to m_connectList
System (31)
net\System\Net\WebPermission.cs (31)
271
ArrayList cloned = new ArrayList(
m_connectList
.Count);
273
for (int i = 0; i <
m_connectList
.Count; ++i)
274
cloned.Add(
m_connectList
[i] is DelayedRegex? (object)((DelayedRegex)
m_connectList
[i]).AsRegex :
275
m_connectList
[i] is Uri? (object)((Uri)
m_connectList
[i]).GetComponents(UriComponents.HttpRequestUrl, UriFormat.UriEscaped) :
276
m_connectList
[i]);
389
lists.Add(
m_connectList
);
426
lists.Add(
m_connectList
);
467
m_connectList
.Clear();
488
lists.Add(
m_connectList
);
534
wp.m_connectList = (ArrayList)
m_connectList
.Clone();
544
return !m_noRestriction && !m_UnrestrictedConnect && !m_UnrestrictedAccept &&
m_connectList
.Count == 0 && m_acceptList.Count == 0;
599
else if (
m_connectList
.Count != 0)
601
if (other.
m_connectList
.Count == 0)
605
foreach(object obj in this.
m_connectList
) {
608
if(isSpecialSubsetCase(obj.ToString(), other.
m_connectList
))
612
if(!isMatchedURI(obj, other.
m_connectList
))
677
result.m_connectList = (ArrayList) other.
m_connectList
.Clone();
679
for (int i = 0; i <
m_connectList
.Count; i++) {
680
DelayedRegex uriPattern =
m_connectList
[i] as DelayedRegex;
682
if (
m_connectList
[i] is string)
683
result.AddPermission(NetworkAccess.Connect, (string)
m_connectList
[i]);
685
result.AddPermission(NetworkAccess.Connect, (Uri)
m_connectList
[i]);
745
result.m_connectList = (ArrayList) (m_UnrestrictedConnect ? other : this).
m_connectList
.Clone();
749
intersectList(
m_connectList
, other.
m_connectList
, result.
m_connectList
);
767
result.
m_connectList
.Count == 0 && result.m_acceptList.Count == 0) {
906
if (m_UnrestrictedConnect ||
m_connectList
.Count > 0)
919
foreach(object obj in
m_connectList
) {