Skip to content

Commit e49ac79

Browse files
committed
Fixed incorrect references in XML documentation.
1 parent dc55d7d commit e49ac79

File tree

6 files changed

+12
-11
lines changed

6 files changed

+12
-11
lines changed

src/Whathecode.System/AbstractInterval.Enumerator.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ public partial class AbstractInterval<T, TSize>
1010
/// Enumerator which allows you to walk across values inside an interval.
1111
/// TODO: Having to pass the methods to operate on the generic type here is quite messy. Is there a better way around this?
1212
/// </summary>
13-
/// <typeparam name = "T">The type used to specify the interval, and used for the calculations.</typeparam>
14-
/// <typeparam name = "TSize">The type used to specify distances in between two values of <see cref="T" />.</typeparam>
1513
private class Enumerator : AbstractEnumerator<T>
1614
{
1715
readonly IInterval<T, TSize> _interval;

src/Whathecode.System/AbstractInterval.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public IInterval<T> Intersection( IInterval<T> interval )
155155
/// Abstract class specifying an interval from a value, to a value. Borders may be included or excluded. This type is immutable.
156156
/// </summary>
157157
/// <typeparam name = "T">The type used to specify the interval, and used for the calculations.</typeparam>
158-
/// <typeparam name = "TSize">The type used to specify distances in between two values of <see cref="T" />.</typeparam>
158+
/// <typeparam name = "TSize">The type used to specify distances in between two values of <typeparamref name="T"/>.</typeparam>
159159
public abstract partial class AbstractInterval<T, TSize> : IInterval<T, TSize>
160160
where T : IComparable<T>
161161
where TSize : IComparable<TSize>
@@ -293,7 +293,7 @@ public T Map( T value, IInterval<T, TSize> range )
293293
/// Map a value from this range, to a value in another range of another type linearly.
294294
/// </summary>
295295
/// <typeparam name = "TOther">The type of the other range.</typeparam>
296-
/// <typeparam name = "TOtherSize">The type used to specify distances in between two values of <see cref="TOther" />.</typeparam>
296+
/// <typeparam name = "TOtherSize">The type used to specify distances in between two values of <typeparamref name="TOther" />.</typeparam>
297297
/// <param name = "value">The value to map to another range.</param>
298298
/// <param name = "range">The range to which to map the value.</param>
299299
/// <returns>The value, mapped to the given range.</returns>

src/Whathecode.System/Collections/Generic/Tree.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public Tree<T> AddLeaf( T leaf )
8585
/// Traverses nodes up until the tree until a passed evaluation returns true. Null is returned when reaching the top of the tree.
8686
/// </summary>
8787
/// <param name = "stopTraversal">Function which evaluates whether to stop at a given node or not.</param>
88-
/// <returns>The first node encountered where <see cref="stopTraversal" /> returns true. Null in case the top of the tree is reached.</returns>
88+
/// <returns>The first node encountered where <paramref name="stopTraversal" /> returns true. Null in case the top of the tree is reached.</returns>
8989
public Tree<T> TraverseUpUntil( Func<Tree<T>, bool> stopTraversal )
9090
{
9191
Tree<T> higherPeer = Parent;

src/Whathecode.System/DateTimepart.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
namespace Whathecode.System
1+
using System;
2+
3+
4+
namespace Whathecode.System
25
{
36
/// <summary>
47
/// Identifies part of a <see cref="DateTime" /> object.

src/Whathecode.System/Extensions.IList.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ public static IInterval<int> GetIndexInterval<T>( this IList<T> source )
2222
/// </summary>
2323
/// <typeparam name = "T">Type of the values in the list.</typeparam>
2424
/// <param name = "source">The source for this extension method.</param>
25-
/// <param name = "item1">The item to swap with <see cref="item2" />.</param>
26-
/// <param name = "item2">The item to swap with <see cref="item1" />.</param>
25+
/// <param name = "item1">The item to swap with <paramref name="item2" />.</param>
26+
/// <param name = "item2">The item to swap with <paramref name="item1" />.</param>
2727
public static void Swap<T>( this IList<T> source, T item1, T item2 )
2828
{
2929
source.Swap( source.IndexOf( item1 ), source.IndexOf( item2 ) );
@@ -34,8 +34,8 @@ public static void Swap<T>( this IList<T> source, T item1, T item2 )
3434
/// </summary>
3535
/// <typeparam name = "T">Type of the values in the list.</typeparam>
3636
/// <param name = "source">The source for this extension method.</param>
37-
/// <param name = "index1">The index of the item to swap with the item at <see cref="index2" />.</param>
38-
/// <param name = "index2">The index of the item to swap with the item at <see cref="index1" />.</param>
37+
/// <param name = "index1">The index of the item to swap with the item at <paramref name="index2" />.</param>
38+
/// <param name = "index2">The index of the item to swap with the item at <paramref name="index1" />.</param>
3939
public static void Swap<T>( this IList<T> source, int index1, int index2 )
4040
{
4141
if ( source == null )

src/Whathecode.System/IInterval.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public interface IInterval<T, TSize>
149149
/// Map a value from this range, to a value in another range of another type linearly.
150150
/// </summary>
151151
/// <typeparam name = "TOther">The type of the other range.</typeparam>
152-
/// <typeparam name = "TOtherSize">The type used to specify distances in between two values of <see cref="TOther" />.</typeparam>
152+
/// <typeparam name = "TOtherSize">The type used to specify distances in between two values of <typeparamref name="TOther" />.</typeparam>
153153
/// <param name = "value">The value to map to another range.</param>
154154
/// <param name = "range">The range to which to map the value.</param>
155155
/// <returns>The value, mapped to the given range.</returns>

0 commit comments

Comments
 (0)