Enforce rule IDE0005 on build

(cherry picked from commit 6b1e4ef81938d264a2ddc8b626b0502f799aa640)
pull/1701/head
Bogdan 2 years ago
parent ce430433e5
commit ea0eb2efa7

@ -30,6 +30,13 @@
<!-- A test project gets the test sdk packages automatically added --> <!-- A test project gets the test sdk packages automatically added -->
<TestProject>false</TestProject> <TestProject>false</TestProject>
<TestProject Condition="$(MSBuildProjectName.EndsWith('.Test'))">true</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>
<PropertyGroup> <PropertyGroup>

@ -29,7 +29,7 @@ namespace NzbDrone.Common.OAuth
public virtual string Version { get; set; } public virtual string Version { get; set; }
public virtual string SessionHandle { 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; } public virtual string RequestUrl { get; set; }
#if !WINRT #if !WINRT

@ -1,4 +1,4 @@
using System; using System;
using System.Text; using System.Text;
namespace NzbDrone.Core.Parser.RomanNumerals namespace NzbDrone.Core.Parser.RomanNumerals
@ -209,7 +209,7 @@ namespace NzbDrone.Core.Parser.RomanNumerals
/// Returns the Roman numeral that was passed in as either an Arabic numeral /// Returns the Roman numeral that was passed in as either an Arabic numeral
/// or a Roman numeral. /// or a Roman numeral.
/// </summary> /// </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() public string ToRomanNumeral()
{ {
return ToString(); return ToString();
@ -349,7 +349,7 @@ namespace NzbDrone.Core.Parser.RomanNumerals
/// during creation. /// during creation.
/// </summary> /// </summary>
/// <returns> /// <returns>
/// A <see cref="System.string" /> that represents a Roman Numeral. /// A <see cref="string" /> that represents a Roman Numeral.
/// </returns> /// </returns>
public override string ToString() public override string ToString()
{ {

Loading…
Cancel
Save