Skip to content

Commit 07d2fa1

Browse files
committed
CSHARP-1424: Make CreateIndexOptions CoercedFrom method internal.
1 parent b9c01c7 commit 07d2fa1

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/MongoDB.Driver/CreateIndexOptions.cs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
using System;
1717
using MongoDB.Bson;
18-
using MongoDB.Driver.Core.Misc;
1918

2019
namespace MongoDB.Driver
2120
{
@@ -195,13 +194,8 @@ public BsonDocument Weights
195194
public class CreateIndexOptions<TDocument> : CreateIndexOptions
196195
{
197196
#region static
198-
// public static methods
199-
/// <summary>
200-
/// Coerces a generic <see cref="CreateIndexOptions{TDocument}"/> from a non-generic <see cref="CreateIndexOptions"/> value.
201-
/// </summary>
202-
/// <param name="options">The options.</param>
203-
/// <returns>A generic <see cref="CreateIndexOptions{TDocument}"/> .</returns>
204-
public static CreateIndexOptions<TDocument> CoercedFrom(CreateIndexOptions options)
197+
// internal static methods
198+
internal static CreateIndexOptions<TDocument> CoercedFrom(CreateIndexOptions options)
205199
{
206200
if (options == null)
207201
{

0 commit comments

Comments
 (0)