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

◆ GetAll()

static SwitchAttribute[] System.Diagnostics.SwitchAttribute.GetAll ( Assembly assembly)
inlinestatic

Definition at line 61 of file SwitchAttribute.cs.

62 {
63 if (assembly == null)
64 {
65 throw new ArgumentNullException("assembly");
66 }
68 object[] customAttributes = assembly.GetCustomAttributes(typeof(SwitchAttribute), inherit: false);
70 Type[] types = assembly.GetTypes();
71 foreach (Type type in types)
72 {
74 }
76 object[] array2 = array;
77 list.CopyTo(array2, 0);
78 return array;
79 }
void CopyTo(KeyValuePair< TKey, TValue >[] array, int index)
void AddRange(IEnumerable< KeyValuePair< TKey, TValue > > collection)
static void GetAllRecursive([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type type, List< object > switchAttribs)
SwitchAttribute(string switchName, Type switchType)

References System.Collections.Generic.Dictionary< TKey, TValue >.AddRange(), System.array, System.Collections.Generic.Dictionary< TKey, TValue >.CopyTo(), System.Diagnostics.SwitchAttribute.GetAllRecursive(), System.list, and System.type.