Skip to content

Commit

Permalink
Extend documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
skrysmanski committed Jul 7, 2024
1 parent 6ed9e95 commit 6c41610
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/AppMotor.Core/Extensions/TypeExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,9 @@ static bool FindOpenGenericInterfaceFilter(Type interfaceTypeToCheck, object? cr
/// Returns the implicit operator to convert from <paramref name="otherType"/> to this type. Returns <c>null</c>
/// if no such operator exists.
/// </summary>
/// <remarks>
/// This method doesn't return an operator for built-in implicit conversions like <c>int</c> to <c>long</c>.
/// </remarks>
/// <seealso cref="GetImplicitOperatorTo"/>
/// <seealso cref="GetExplicitOperatorFrom"/>
[MustUseReturnValue]
Expand All @@ -633,6 +636,9 @@ static bool FindOpenGenericInterfaceFilter(Type interfaceTypeToCheck, object? cr
/// Returns the implicit operator to convert from this type to <paramref name="otherType"/>. Returns <c>null</c>
/// if no such operator exists.
/// </summary>
/// <remarks>
/// This method doesn't return an operator for built-in implicit conversions like <c>int</c> to <c>long</c>.
/// </remarks>
/// <seealso cref="GetImplicitOperatorFrom"/>
/// <seealso cref="GetExplicitOperatorTo"/>
[MustUseReturnValue]
Expand All @@ -645,6 +651,9 @@ static bool FindOpenGenericInterfaceFilter(Type interfaceTypeToCheck, object? cr
/// Returns the explicit operator to convert from <paramref name="otherType"/> to this type. Returns <c>null</c>
/// if no such operator exists.
/// </summary>
/// <remarks>
/// This method doesn't return an operator for built-in explicit conversions like <c>double</c> to <c>int</c>.
/// </remarks>
/// <seealso cref="GetExplicitOperatorTo"/>
/// <seealso cref="GetImplicitOperatorFrom"/>
[MustUseReturnValue]
Expand All @@ -657,6 +666,9 @@ static bool FindOpenGenericInterfaceFilter(Type interfaceTypeToCheck, object? cr
/// Returns the explicit operator to convert from this type to <paramref name="otherType"/>. Returns <c>null</c>
/// if no such operator exists.
/// </summary>
/// <remarks>
/// This method doesn't return an operator for built-in explicit conversions like <c>double</c> to <c>int</c>.
/// </remarks>
/// <seealso cref="GetExplicitOperatorFrom"/>
/// <seealso cref="GetImplicitOperatorTo"/>
[MustUseReturnValue]
Expand Down

0 comments on commit 6c41610

Please sign in to comment.