Skip to content

Commit d9676ba

Browse files
committed
Fix RS0010: Avoid using cref tags with a prefix
1 parent 14a0805 commit d9676ba

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

Src/AutoFixture.ruleset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,6 @@
242242
<Rule Id="RS0018" Action="Warning" />
243243
</Rules>
244244
<Rules AnalyzerId="XmlDocumentationComments.Analyzers" RuleNamespace="XmlDocumentationComments.Analyzers">
245-
<Rule Id="RS0010" Action="Info" />
245+
<Rule Id="RS0010" Action="Warning" />
246246
</Rules>
247247
</RuleSet>

Src/SemanticComparison/LikenessException.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,18 @@ public LikenessException(string message, Exception innerException)
4343
/// Initializes a new instance of the <see cref="LikenessException"/> class.
4444
/// </summary>
4545
/// <param name="info">
46-
/// The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the
46+
/// The <see cref="System.Runtime.Serialization.SerializationInfo"/> that holds the
4747
/// serialized object data about the exception being thrown.
4848
/// </param>
4949
/// <param name="context">
50-
/// The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains
50+
/// The <see cref="System.Runtime.Serialization.StreamingContext"/> that contains
5151
/// contextual information about the source or destination.
5252
/// </param>
53-
/// <exception cref="T:System.ArgumentNullException">
53+
/// <exception cref="ArgumentNullException">
5454
/// The <paramref name="info"/> parameter is null.
5555
/// </exception>
56-
/// <exception cref="T:System.Runtime.Serialization.SerializationException">
57-
/// The class name is null or <see cref="P:System.Exception.HResult"/> is zero (0).
56+
/// <exception cref="System.Runtime.Serialization.SerializationException">
57+
/// The class name is null or <see cref="Exception.HResult"/> is zero (0).
5858
/// </exception>
5959
protected LikenessException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
6060
: base(info, context)

Src/SemanticComparison/ProxyCreationException.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,18 @@ public ProxyCreationException(string message, Exception innerException)
4141
/// Initializes a new instance of the <see cref="Ploeh.SemanticComparison.ProxyCreationException"/> class.
4242
/// </summary>
4343
/// <param name="info">
44-
/// The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the
44+
/// The <see cref="System.Runtime.Serialization.SerializationInfo"/> that holds the
4545
/// serialized object data about the exception being thrown.
4646
/// </param>
4747
/// <param name="context">
48-
/// The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains
48+
/// The <see cref="System.Runtime.Serialization.StreamingContext"/> that contains
4949
/// contextual information about the source or destination.
5050
/// </param>
51-
/// <exception cref="T:System.ArgumentNullException">
51+
/// <exception cref="ArgumentNullException">
5252
/// The <paramref name="info"/> parameter is null.
5353
/// </exception>
54-
/// <exception cref="T:System.Runtime.Serialization.SerializationException">
55-
/// The class name is null or <see cref="P:System.Exception.HResult"/> is zero (0).
54+
/// <exception cref="System.Runtime.Serialization.SerializationException">
55+
/// The class name is null or <see cref="Exception.HResult"/> is zero (0).
5656
/// </exception>
5757
protected ProxyCreationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
5858
: base(info, context)

Src/SemanticComparison/SemanticComparer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ internal SemanticComparer(IEnumerable<MemberEvaluator<TSource, TDestination>> ev
8989
/// A hash code for this instance, suitable for use in hashing algorithms and data structures
9090
/// like a hash table.
9191
/// </returns>
92-
/// <exception cref="T:System.ArgumentNullException">
92+
/// <exception cref="ArgumentNullException">
9393
/// The type of <paramref name="obj"/> is a reference type and <paramref name="obj"/> is null.
9494
/// </exception>
9595
public int GetHashCode(object obj)
@@ -121,7 +121,7 @@ bool IEqualityComparer.Equals(object x, object y)
121121
/// A hash code for this instance, suitable for use in hashing algorithms and data structures
122122
/// like a hash table.
123123
/// </returns>
124-
/// <exception cref="T:System.ArgumentNullException">
124+
/// <exception cref="ArgumentNullException">
125125
/// The type of <paramref name="obj"/> is a reference type and <paramref name="obj"/> is null.
126126
/// </exception>
127127
int IEqualityComparer.GetHashCode(object obj)

0 commit comments

Comments
 (0)