5 writes to m_acceptList
System (5)
net\System\Net\WebPermission.cs (5)
533
wp.
m_acceptList
= (ArrayList)m_acceptList.Clone();
697
result.
m_acceptList
= (ArrayList) other.m_acceptList.Clone();
758
result.
m_acceptList
= (ArrayList) (m_UnrestrictedAccept ? other : this).m_acceptList.Clone();
815
m_acceptList
= new ArrayList();
878
m_acceptList
= new ArrayList();
31 references to m_acceptList
System (31)
net\System\Net\WebPermission.cs (31)
294
ArrayList cloned = new ArrayList(
m_acceptList
.Count);
296
for (int i = 0; i <
m_acceptList
.Count; ++i)
297
cloned.Add(
m_acceptList
[i] is DelayedRegex? (object)((DelayedRegex)
m_acceptList
[i]).AsRegex :
298
m_acceptList
[i] is Uri? (object)((Uri)
m_acceptList
[i]).GetComponents(UriComponents.HttpRequestUrl, UriFormat.UriEscaped) :
299
m_acceptList
[i]);
391
lists.Add(
m_acceptList
);
428
lists.Add(
m_acceptList
);
472
m_acceptList
.Clear();
490
lists.Add(
m_acceptList
);
533
wp.m_acceptList = (ArrayList)
m_acceptList
.Clone();
544
return !m_noRestriction && !m_UnrestrictedConnect && !m_UnrestrictedAccept && m_connectList.Count == 0 &&
m_acceptList
.Count == 0;
574
else if (
m_acceptList
.Count != 0)
576
if (other.
m_acceptList
.Count == 0)
580
foreach(object obj in this.
m_acceptList
) {
583
if(isSpecialSubsetCase(obj.ToString(), other.
m_acceptList
))
587
if(!isMatchedURI(obj, other.
m_acceptList
))
697
result.m_acceptList = (ArrayList) other.
m_acceptList
.Clone();
699
for (int i = 0; i <
m_acceptList
.Count; i++) {
700
DelayedRegex uriPattern =
m_acceptList
[i] as DelayedRegex;
702
if (
m_acceptList
[i] is string)
703
result.AddPermission(NetworkAccess.Accept, (string)
m_acceptList
[i]);
705
result.AddPermission(NetworkAccess.Accept, (Uri)
m_acceptList
[i]);
758
result.m_acceptList = (ArrayList) (m_UnrestrictedAccept ? other : this).
m_acceptList
.Clone();
762
intersectList(
m_acceptList
, other.
m_acceptList
, result.
m_acceptList
);
767
result.m_connectList.Count == 0 && result.
m_acceptList
.Count == 0) {
938
if (m_UnrestrictedAccept ||
m_acceptList
.Count > 0)
951
foreach(object obj in
m_acceptList
) {