You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ec21868
Browse filesBrowse the repository at this point in the historyBrowse files
Major improvements to reflection and collection utilities:
- Introduced `EqualityComparisonResult` and `MemberLookupState` enums for standardized equality and lookup results.
- Refactored method and parameter lookup APIs to return lookup states instead of throwing exceptions.
- Simplified `ParameterDescriptor` and improved validation in `ParameterDescriptorList`.
- Added `IsEmpty` and `HasItems` properties to list view interfaces.
- Provided static `Equals` methods for comparing list views and backing lists.
- Replaced indexer-based method lookup with `TryGetMethod` supporting generic parameters and ambiguity handling.
- Enhanced `ParameterListEqualityComparer` with nuanced equality checks.
- Improved documentation, validation, and code consistency throughout.
/// Gets the method data for the method with the specified name and parameter signature.
22
+
/// </summary>
23
+
/// <param name="methodName">The name of the method to retrieve. This value is case-sensitive.</param>
24
+
/// <param name="genericMethodParameters">Optional. A <see cref="TypeList"/> of generic method parameter types that describe the expected generic parameters for the method. Should be <see langword="null"/> or empty if the method is not generic. If the method is a generic method, consider providing the expected generic parameters to disambiguate the method.</param>
25
+
/// <param name="methodParameters">Optional. A <see cref="ParameterDescriptorList"/> of parameter information objects that describe the expected parameter types, positions, and modifiers for the method signature. Should be <see langword="null"/> or empty if method is parameterless. If the method has parameters, consider providing the expected parameters to disambiguate the method.</param>
26
+
/// <param name="methodDataView">When this method returns, contains the method data that matches the specified name and parameter signature, if found; otherwise, null.</param>
27
+
/// <returns>A <see cref="MemberLookupState"/> value indicating the result of the method lookup.</returns>
0 commit comments