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

◆ AddRange() [2/4]

void System.Security.Cryptography.X509Certificates.X509Certificate2Collection.AddRange ( X509Certificate2Collection certificates)
inline

Definition at line 78 of file X509Certificate2Collection.cs.

79 {
80 if (certificates == null)
81 {
82 throw new ArgumentNullException("certificates");
83 }
84 int i = 0;
85 try
86 {
87 for (; i < certificates.Count; i++)
88 {
89 Add(certificates[i]);
90 }
91 }
92 catch
93 {
94 for (int j = 0; j < i; j++)
95 {
97 }
98 throw;
99 }
100 }

References System.Add, System.Collections.Generic.Dictionary< TKey, TValue >.Count, and System.Security.Cryptography.X509Certificates.X509Certificate2Collection.Remove().