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
When creating a method which inherits documentation from a base, 'Exception is not documented' is given as a warning even if the base method provides documentation.
/// <summary>/// Invokes the given action, and logs then throws an <see cref="Exception"/> if any occurs./// </summary>/// <param name="Act">The action to invoke.</param>/// <param name="MemberName">The name of the caller member, as provided by <see cref="CallerMemberNameAttribute"/>.</param>/// <param name="FilePath">The name of the caller file path, as provided by <see cref="CallerFilePathAttribute"/>.</param>/// <param name="LineNumber">The line number of where the exception occurred, as provided by <see cref="CallerLineNumberAttribute"/>.</param>/// <exception cref="Exception">Thrown if the given <paramref name="Act"/> throws any exception.</exception>publicstaticvoidInvokeAndThrow(thisActionAct,[CallerMemberName]string?MemberName=null,[CallerFilePath]string?FilePath=null,[CallerLineNumber]int?LineNumber=null){try{Act();}catch(ExceptionEx){LogException(Ex,MemberName,FilePath,LineNumber);throw;}}/// <inheritdoc cref="InvokeAndThrow(Action, string?, string?, int?)"/>/// <typeparam name="T">The action value type.</typeparam>publicstaticvoidInvokeAndThrow<T>(thisAction<T>Act,TValue,[CallerMemberName]string?MemberName=null,[CallerFilePath]string?FilePath=null,[CallerLineNumber]int?LineNumber=null){try{Act(Value);}catch(ExceptionEx){LogException(Ex,MemberName,FilePath,LineNumber);throw;}}
The text was updated successfully, but these errors were encountered:
I also want that if I use <inheritdoc/>, I want it to be possible to select if I want to add the documentation to the inherited documentation or to the implemented method.
When creating a method which inherits documentation from a base, 'Exception is not documented' is given as a warning even if the base method provides documentation.
The text was updated successfully, but these errors were encountered: