Returns an array of type objects that represent the type arguments of a closed generic type or the type parameters of a generic type definition. An array of objects that represent the type arguments of a generic type. Returns an empty array if the current type is not a generic type.
()
| 1137 | /// </summary> |
| 1138 | /// <returns>An array of <see cref="T:System.Type" /> objects that represent the type arguments of a generic type. Returns an empty array if the current type is not a generic type.</returns> |
| 1139 | public Type[] GetGenericArguments() |
| 1140 | { |
| 1141 | if (_managed != null) |
| 1142 | return _managed.GetGenericArguments(); |
| 1143 | throw new NotImplementedException("TODO: Script.Type.GetGenericArguments for custom types"); |
| 1144 | } |
| 1145 | |
| 1146 | /// <summary> |
| 1147 | /// Returns a type object that represents a generic type definition from which the current generic type can be constructed. |
no outgoing calls
no test coverage detected