Skip to content

Commit c3a2f96

Browse files
committed
Merge pull request #386 from sean-gilliam/xmldoc-fixes
Fixed xmldoc errors
2 parents 80baac0 + 99a9d5c commit c3a2f96

File tree

8 files changed

+14
-17
lines changed

8 files changed

+14
-17
lines changed

src/NHibernate.Test/Linq/LinqQuerySamples.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ public void DLinq17()
281281
//q2.ToList();
282282

283283
///////////
284-
/// Batching Select
284+
///// Batching Select
285285
///////////
286286
var dbOrders3 = s.CreateQuery("select o.OrderId from Order o").List<int>();
287287

src/NHibernate.Test/NHSpecificTest/NH335/Model.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ public class Utils
77
private static Random random = new Random();
88

99
/// <summary>
10-
/// Generate a random string of the given length
10+
/// Generates a random lowercase alphabetic string
1111
/// </summary>
12-
/// <param name="length"></param>
13-
/// <returns></returns>
12+
/// <returns>A string containing random lowercase alphabetic characters</returns>
1413
public static string GetRandomID()
1514
{
1615
int length = 32;

src/NHibernate.Test/NHSpecificTest/NH480/Fixture.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ namespace NHibernate.Test.NHSpecificTest.NH480
1919
/// </list>
2020
/// This test checks that field naming strategies handle this correctly.
2121
/// </remarks>
22-
/// </summary>
2322
[TestFixture]
2423
public class Fixture
2524
{

src/NHibernate.Test/UtilityTest/StringHelperFixture.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,28 +56,28 @@ public void CountUnquotedParams()
5656
Assert.AreEqual(1, StringHelper.CountUnquoted("abcd ? ef '?' tf", '?'));
5757
}
5858

59-
[Test]
6059
/// <summary>
6160
/// Try to locate single quotes which isn't allowed
6261
/// </summary>
62+
[Test]
6363
public void CantCountQuotes()
6464
{
6565
Assert.Throws<ArgumentOutOfRangeException>(() => StringHelper.CountUnquoted("abcd eftf", StringHelper.SingleQuote));
6666
}
6767

68-
[Test]
6968
/// <summary>
7069
/// Qualify a name with a prefix
7170
/// </summary>
71+
[Test]
7272
public void Qualify()
7373
{
7474
Assert.AreEqual("a.b", StringHelper.Qualify("a", "b"), "Qualified names differ");
7575
}
7676

77-
[Test]
7877
/// <summary>
7978
/// Qualify an array of names with a prefix
8079
/// </summary>
80+
[Test]
8181
public void QualifyArray()
8282
{
8383
string[] simple = { "b", "c" };

src/NHibernate/Collection/Generic/PersistentGenericBag.cs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,13 @@ public class PersistentGenericBag<T> : AbstractPersistentCollection, IList<T>, I
3737
* expensive than .NET original implementation.
3838
*/
3939

40-
/// For a one-to-many, a <bag> is not really a bag;
41-
/// it is *really* a set, since it can't contain the
42-
/// same element twice. It could be considered a bug
43-
/// in the mapping dtd that <bag> allows <one-to-many>.
44-
/// Anyway, here we implement <set> semantics for a
45-
/// <one-to-many> <bag>!
40+
/* For a one-to-many, a <bag> is not really a bag;
41+
* it is *really* a set, since it can't contain the
42+
* same element twice. It could be considered a bug
43+
* in the mapping dtd that <bag> allows <one-to-many>.
44+
* Anyway, here we implement <set> semantics for a
45+
* <one-to-many> <bag>!
46+
*/
4647
private IList<T> _gbag;
4748

4849
public PersistentGenericBag()

src/NHibernate/Engine/BatchFetchQueue.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ public void RemoveBatchLoadableEntityKey(EntityKey key)
134134
/// <param name="collectionPersister">The persister for the collection role.</param>
135135
/// <param name="id">A key that must be included in the batch fetch</param>
136136
/// <param name="batchSize">the maximum number of keys to return</param>
137-
/// <param name="entityMode">The entity mode.</param>
138137
/// <returns>an array of collection keys, of length batchSize (padded with nulls)</returns>
139138
public object[] GetCollectionBatch(ICollectionPersister collectionPersister, object id, int batchSize)
140139
{

src/NHibernate/Loader/Loader.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,6 @@ protected virtual IResultTransformer ResolveResultTransformer(IResultTransformer
661661
/// <summary>
662662
/// Are rows transformed immediately after being read from the ResultSet?
663663
/// </summary>
664-
/// <param name="transformer">The specified result transformer.</param>
665664
/// <returns>True, if getResultColumnOrRow() transforms the results; false, otherwise</returns>
666665
protected virtual bool AreResultSetRowsTransformedImmediately()
667666
{

src/NHibernate/Util/EnumeratorAdapter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace NHibernate.Util
66
{
77
/// <summary>
8-
/// Wrap a non-generic IEnumerator to provide the generic IEnumerator&lt>T&gt;
8+
/// Wrap a non-generic IEnumerator to provide the generic <see cref="IEnumerator{T}" />
99
/// interface.
1010
/// </summary>
1111
/// <typeparam name="T">The type of the enumerated elements.</typeparam>

0 commit comments

Comments
 (0)