Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ this[int index]

override GenericAce System.Security.AccessControl.RawAcl.this[int index]
getset

Definition at line 30 of file RawAcl.cs.

31 {
32 get
33 {
34 return _aces[index];
35 }
36 set
37 {
38 if (value == null)
39 {
40 throw new ArgumentNullException("value");
41 }
42 if (value.BinaryLength % 4 != 0)
43 {
44 throw new InvalidOperationException();
45 }
47 if (num > GenericAcl.MaxBinaryLength)
48 {
49 throw new OverflowException(System.SR.AccessControl_AclTooLong);
50 }
51 _aces[index] = value;
52 }
53 }
static string AccessControl_AclTooLong
Definition SR.cs:14
Definition SR.cs:7