mirror of
https://github.com/Prowlarr/Prowlarr
synced 2025-12-06 08:34:28 +01:00
Enforce rule IDE0005 on build
(cherry picked from commit 6b1e4ef81938d264a2ddc8b626b0502f799aa640)
This commit is contained in:
parent
ce430433e5
commit
ea0eb2efa7
3 changed files with 11 additions and 4 deletions
|
|
@ -30,6 +30,13 @@
|
|||
<!-- A test project gets the test sdk packages automatically added -->
|
||||
<TestProject>false</TestProject>
|
||||
<TestProject Condition="$(MSBuildProjectName.EndsWith('.Test'))">true</TestProject>
|
||||
|
||||
<!-- XML documentation comments are needed to enforce rule IDE0005 on build -->
|
||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||
<!--
|
||||
CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
|
||||
-->
|
||||
<NoWarn>$(NoWarn);CS1591</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ public class OAuthRequest
|
|||
public virtual string Version { get; set; }
|
||||
public virtual string SessionHandle { get; set; }
|
||||
|
||||
/// <seealso cref="http://oauth.net/core/1.0#request_urls"/>
|
||||
/// <seealso href="http://oauth.net/core/1.0#request_urls"/>
|
||||
public virtual string RequestUrl { get; set; }
|
||||
|
||||
#if !WINRT
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Text;
|
||||
|
||||
namespace NzbDrone.Core.Parser.RomanNumerals
|
||||
|
|
@ -209,7 +209,7 @@ private static string ToRomanNumeral(int number)
|
|||
/// Returns the Roman numeral that was passed in as either an Arabic numeral
|
||||
/// or a Roman numeral.
|
||||
/// </summary>
|
||||
/// <returns>A <see cref="System.string" /> representing a Roman Numeral</returns>
|
||||
/// <returns>A <see cref="string" /> representing a Roman Numeral</returns>
|
||||
public string ToRomanNumeral()
|
||||
{
|
||||
return ToString();
|
||||
|
|
@ -349,7 +349,7 @@ public bool Equals(RomanNumeral other)
|
|||
/// during creation.
|
||||
/// </summary>
|
||||
/// <returns>
|
||||
/// A <see cref="System.string" /> that represents a Roman Numeral.
|
||||
/// A <see cref="string" /> that represents a Roman Numeral.
|
||||
/// </returns>
|
||||
public override string ToString()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue