129 references to SerializationFormatter
mscorlib (7)
system\security\permissions\permissionattributes.cs (3)
657
get { return (m_flag & SecurityPermissionFlag.
SerializationFormatter
) != 0; }
658
set { m_flag = value ? m_flag | SecurityPermissionFlag.
SerializationFormatter
: m_flag & ~SecurityPermissionFlag.
SerializationFormatter
; }
system\security\policy\pefileevidencefactory.cs (1)
153
new SecurityPermission(SecurityPermissionFlag.
SerializationFormatter
).Assert();
system\security\principal\windowsidentity.cs (1)
218
[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
system\security\securitymanager.cs (2)
647
if ((securityPermissionFlags & SecurityPermissionFlag.
SerializationFormatter
) == SecurityPermissionFlag.
SerializationFormatter
)
PresentationCore (2)
Core\CSharp\System\Windows\Interop\HwndTarget.cs (1)
1599
unpackPermissionSet.AddPermission(new SecurityPermission(SecurityPermissionFlag.
SerializationFormatter
| SecurityPermissionFlag.UnmanagedCode | SecurityPermissionFlag.RemotingConfiguration));
Shared\MS\Internal\SecurityHelper.cs (1)
612
_serializationSecurityPermission = new SecurityPermission(SecurityPermissionFlag.
SerializationFormatter
);
PresentationFramework (9)
src\Framework\MS\Internal\AppModel\ApplicationProxyInternal.cs (2)
634
new SecurityPermission(SecurityPermissionFlag.
SerializationFormatter
).Assert();
848
new SecurityPermission(SecurityPermissionFlag.
SerializationFormatter
).Demand();
src\Framework\MS\Internal\DataStreams.cs (2)
163
new SecurityPermission(SecurityPermissionFlag.
SerializationFormatter
).Assert();
295
new SecurityPermission(SecurityPermissionFlag.
SerializationFormatter
).Demand(); // prevent any journal metadata de-serialization in partial trust
src\Framework\System\Windows\Controls\DataGrid.cs (1)
8363
(new SecurityPermission(SecurityPermissionFlag.
SerializationFormatter
| SecurityPermissionFlag.UnmanagedCode)).Assert();
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
2272
ps.AddPermission(new SecurityPermission(SecurityPermissionFlag.
SerializationFormatter
));
src\Framework\System\Windows\Documents\RubberbandSelector.cs (2)
190
(new SecurityPermission(SecurityPermissionFlag.
SerializationFormatter
| SecurityPermissionFlag.UnmanagedCode)).Demand();
262
ps.AddPermission(new SecurityPermission(SecurityPermissionFlag.
SerializationFormatter
));
src\Framework\System\Windows\Markup\XamlParseException.cs (1)
268
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
System (27)
compmod\system\collections\generic\linkedlist.cs (1)
282
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
compmod\system\collections\specialized\nameobjectcollectionbase.cs (1)
131
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
compmod\system\collections\specialized\ordereddictionary.cs (1)
359
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
net\System\Net\cookieexception.cs (2)
37
[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
, SerializationFormatter=true)]
44
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
net\System\Net\filewebrequest.cs (1)
81
[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
, SerializationFormatter=true)]
net\System\Net\filewebresponse.cs (1)
85
[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
, SerializationFormatter=true)]
net\System\Net\HttpWebRequest.cs (1)
5321
[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
, SerializationFormatter=true)]
net\System\Net\HttpWebResponse.cs (1)
594
[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
, SerializationFormatter=true)]
net\System\Net\mail\SmtpException.cs (2)
120
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
126
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
net\System\Net\mail\SmtpFailedRecipientException.cs (2)
64
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
74
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
net\System\Net\mail\SmtpFailedRecipientsException.cs (2)
86
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
96
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
net\System\Net\ProtocolViolationException.cs (2)
44
[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
, SerializationFormatter=true)]
51
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
net\System\Net\WebException.cs (2)
152
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
160
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
net\System\Net\WebHeaderCollection.cs (2)
1038
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
1854
[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
, SerializationFormatter=true)]
net\System\Net\webproxy.cs (1)
461
[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
, SerializationFormatter=true)]
net\System\Net\WebRequest.cs (1)
569
[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
, SerializationFormatter=true)]
net\System\Net\WebResponse.cs (1)
57
[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
, SerializationFormatter=true)]
sys\system\configuration\SettingsPropertyValue.cs (2)
67
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
75
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
sys\system\Media\SoundPlayer.cs (1)
707
[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
System.AddIn (4)
System\Addin\Hosting\AddInIpcChannel.cs (2)
123
new System.Security.Permissions.SecurityPermission(SecurityPermissionFlag.
SerializationFormatter
| SecurityPermissionFlag.UnmanagedCode).Assert();
288
new System.Security.Permissions.SecurityPermission(SecurityPermissionFlag.
SerializationFormatter
| SecurityPermissionFlag.UnmanagedCode).Assert();
System\Addin\Hosting\AddInStore.cs (2)
1022
permissionSet.AddPermission(new SecurityPermission(SecurityPermissionFlag.
SerializationFormatter
));
1070
new SecurityPermission(SecurityPermissionFlag.
SerializationFormatter
).Demand();
System.Configuration (1)
System\Configuration\ClientConfigPaths.cs (1)
316
s_serializationPerm = new SecurityPermission(SecurityPermissionFlag.
SerializationFormatter
);
System.Core (4)
System\Collections\Generic\HashSet.cs (1)
358
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
System\Diagnostics\Eventing\Reader\EventBookmark.cs (2)
54
[System.Security.SecurityCritical,SecurityPermissionAttribute(SecurityAction.LinkDemand,Flags = SecurityPermissionFlag.
SerializationFormatter
)]
60
[System.Security.SecurityCritical,SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
System\Diagnostics\Eventing\Reader\EventLogException.cs (1)
63
[System.Security.SecurityCritical,SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
System.Data (10)
fx\src\data\System\Data\CodeGen\StrongTypingException.cs (1)
99
[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.
SerializationFormatter
)]
fx\src\data\System\Data\DataSet.cs (1)
257
[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.
SerializationFormatter
)]
fx\src\data\System\Data\DataTable.cs (1)
226
[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.
SerializationFormatter
)]
fx\src\data\System\Data\DBConcurrencyException.cs (1)
39
[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.
SerializationFormatter
)]
fx\src\data\System\Data\Odbc\OdbcException.cs (1)
58
[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.
SerializationFormatter
)]
fx\src\data\System\Data\OleDb\OleDbException.cs (1)
47
[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.
SerializationFormatter
)]
fx\src\data\System\Data\Sql\invalidudtexception.cs (1)
34
[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.
SerializationFormatter
)]
fx\src\data\System\Data\SqlClient\SqlDependency.cs (2)
539
[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
544
[SecurityPermission(SecurityAction.Assert, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
fx\src\data\System\Data\SqlClient\SqlException.cs (1)
48
[System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Flags=System.Security.Permissions.SecurityPermissionFlag.
SerializationFormatter
)]
System.Data.Entity (1)
System\Data\Objects\Internal\EntityProxyFactory.cs (1)
1614
serializationFormatterPermissions.AddPermission(new SecurityPermission(SecurityPermissionFlag.
SerializationFormatter
));
System.Drawing (3)
commonui\System\Drawing\Advanced\Font.cs (1)
129
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
commonui\System\Drawing\Icon.cs (1)
1143
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
commonui\System\Drawing\Image.cs (1)
514
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
System.IdentityModel (1)
System\IdentityModel\UnsupportedTokenTypeBadRequestException.cs (1)
69
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
System.Net (22)
net\PeerToPeer\Cloud.cs (2)
327
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
340
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
, SerializationFormatter = true)]
net\PeerToPeer\Collaboration\Peer.cs (2)
331
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
938
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
, SerializationFormatter = true)]
net\PeerToPeer\Collaboration\PeerApplication.cs (2)
70
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
507
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
, SerializationFormatter = true)]
net\PeerToPeer\Collaboration\PeerContact.cs (1)
1990
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
, SerializationFormatter = true)]
net\PeerToPeer\Collaboration\PeerEndPoint.cs (2)
99
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
455
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
, SerializationFormatter = true)]
net\PeerToPeer\Collaboration\PeerNearMe.cs (2)
77
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
873
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
, SerializationFormatter = true)]
net\PeerToPeer\Collaboration\PeerObject.cs (2)
66
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
448
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
, SerializationFormatter = true)]
net\PeerToPeer\PeerName.cs (2)
555
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
573
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
, SerializationFormatter = true)]
net\PeerToPeer\PeerNameRecord.cs (2)
33
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
49
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
, SerializationFormatter = true)]
net\PeerToPeer\PeerNameRegistration.cs (2)
688
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
703
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
, SerializationFormatter = true)]
net\PeerToPeer\PeerToPeerException.cs (3)
144
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
151
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
160
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
System.Runtime.Remoting (2)
channels\sinks\binaryformattersinks.cs (1)
574
currentPermissionSet.SetPermission(new SecurityPermission(SecurityPermissionFlag.
SerializationFormatter
));
channels\sinks\soapformattersinks.cs (1)
642
currentPermissionSet.SetPermission(new SecurityPermission(SecurityPermissionFlag.
SerializationFormatter
));
System.Runtime.Serialization (1)
System\Runtime\Serialization\Globals.cs (1)
1119
serializationFormatterPermission = new SecurityPermission(SecurityPermissionFlag.
SerializationFormatter
);
System.Transactions (1)
System\Transactions\Oletx\OleTxTransaction.cs (1)
483
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
System.Web (17)
Cache\OutputCache.cs (2)
490
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
502
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
Hosting\ApplicationManager.cs (1)
1633
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
HttpHeaderCollection.cs (1)
63
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
Profile\HttpProfileBase.cs (3)
61
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
66
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
135
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
Profile\ProfileModule.cs (2)
153
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
193
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
Security\RolePrincipal.cs (1)
233
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
State\SessionStateItemCollection.cs (2)
237
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
444
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
UI\ObjectStateFormatter.cs (2)
311
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
814
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
UI\Util.cs (3)
43
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
49
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
55
[SecurityPermission(SecurityAction.Assert, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
System.Web.Services (1)
System\Web\Services\Protocols\SoapException.cs (1)
276
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
System.Windows.Forms (12)
winforms\Managed\System\WinForms\Cursor.cs (1)
543
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
winforms\Managed\System\WinForms\DataObject.cs (1)
937
SecurityPermissionAttribute(SecurityAction.Assert, Flags=SecurityPermissionFlag.
SerializationFormatter
)
winforms\Managed\System\WinForms\ImageListStreamer.cs (1)
211
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
winforms\Managed\System\WinForms\ListViewGroup.cs (1)
283
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
winforms\Managed\System\WinForms\ListViewItem.cs (3)
1319
[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.
SerializationFormatter
),
1320
SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
1403
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
winforms\Managed\System\WinForms\OwnerDrawPropertyBag.cs (1)
136
[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
winforms\Managed\System\WinForms\TableLayoutSettings.cs (1)
432
[SecurityPermission(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
winforms\Managed\System\WinForms\TreeNode.cs (3)
1849
[SecurityPermissionAttribute(SecurityAction.Demand, Flags=SecurityPermissionFlag.
SerializationFormatter
),
1850
SecurityPermission(SecurityAction.InheritanceDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
1972
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags=SecurityPermissionFlag.
SerializationFormatter
)]
System.Workflow.Runtime (1)
AssemblyInfo.cs (1)
9
[assembly: SecurityPermissionAttribute(SecurityAction.RequestMinimum, Flags = SecurityPermissionFlag.Execution | SecurityPermissionFlag.
SerializationFormatter
)]
System.Xml.Linq (1)
System\Xml\Linq\XLinq.cs (1)
201
Flags = System.Security.Permissions.SecurityPermissionFlag.
SerializationFormatter
)]
WindowsBase (2)
Base\System\IO\FileFormatException.cs (1)
151
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]
Base\System\Security\RightsManagement\Exceptions.cs (1)
153
[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.
SerializationFormatter
)]