Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SecurityPermissionAttribute.cs
Go to the documentation of this file.
2
3[Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
4[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
6{
7 public bool Assertion { get; set; }
8
9 public bool BindingRedirects { get; set; }
10
11 public bool ControlAppDomain { get; set; }
12
13 public bool ControlDomainPolicy { get; set; }
14
15 public bool ControlEvidence { get; set; }
16
17 public bool ControlPolicy { get; set; }
18
19 public bool ControlPrincipal { get; set; }
20
21 public bool ControlThread { get; set; }
22
23 public bool Execution { get; set; }
24
25 public SecurityPermissionFlag Flags { get; set; }
26
27 public bool Infrastructure { get; set; }
28
29 public bool RemotingConfiguration { get; set; }
30
31 public bool SerializationFormatter { get; set; }
32
33 public bool SkipVerification { get; set; }
34
35 public bool UnmanagedCode { get; set; }
36
41
42 public override IPermission? CreatePermission()
43 {
44 return null;
45 }
46}