Searches for the specified members of the specified member type, using the specified binding constraints. The string containing the name of the members to get. The value to search for. A bitmask comprised of one or more that specify how the search is
(string name, MemberTypes type, BindingFlags bindingAttr, out MemberInfo[] managedMembers)
| 1187 | /// <param name="managedMembers">The output array of members for C# types.</param> |
| 1188 | /// <returns>An array of member objects representing the public members with the specified name, if found; otherwise, an empty array.</returns> |
| 1189 | public ScriptMemberInfo[] GetMembers(string name, MemberTypes type, BindingFlags bindingAttr, out MemberInfo[] managedMembers) |
| 1190 | { |
| 1191 | if (_managed != null) |
| 1192 | { |
| 1193 | managedMembers = _managed.GetMember(name, type, bindingAttr); |
| 1194 | return Utils.GetEmptyArray<ScriptMemberInfo>(); |
| 1195 | } |
| 1196 | managedMembers = null; |
| 1197 | if (_custom != null) |
| 1198 | return _custom.GetMembers(name, type, bindingAttr); |
| 1199 | return Utils.GetEmptyArray<ScriptMemberInfo>(); |
| 1200 | } |
| 1201 | |
| 1202 | /// <summary> |
| 1203 | /// Searches for the specified members of the specified member type, using the specified binding constraints. |
no test coverage detected