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

◆ ContainsGenericParameters

override bool System.Reflection.RuntimeMethodInfo.ContainsGenericParameters
get

Definition at line 148 of file RuntimeMethodInfo.cs.

149 {
150 get
151 {
152 if (DeclaringType != null && DeclaringType.ContainsGenericParameters)
153 {
154 return true;
155 }
156 if (!IsGenericMethod)
157 {
158 return false;
159 }
161 for (int i = 0; i < genericArguments.Length; i++)
162 {
164 {
165 return true;
166 }
167 }
168 return false;
169 }
170 }

Referenced by System.Reflection.RuntimeMethodInfo.ThrowNoInvokeException().