Skip to content

Commit c3e76bb

Browse files
committed
- Part 2
1 parent 122d35a commit c3e76bb

13 files changed

+3010
-74
lines changed

src/MongoDB.Bson/Serialization/BsonDeserializationArgs.cs

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
*/
1515

1616
using System;
17-
using MongoDB.Bson.IO;
1817

1918
namespace MongoDB.Bson.Serialization
2019
{
@@ -23,27 +22,9 @@ namespace MongoDB.Bson.Serialization
2322
/// </summary>
2423
public struct BsonDeserializationArgs
2524
{
26-
// private fields
27-
private Type _nominalType;
28-
29-
// constructors
30-
private BsonDeserializationArgs(
31-
Type nominalType)
32-
{
33-
_nominalType = nominalType;
34-
}
35-
36-
// public properties
3725
/// <summary>
3826
/// Gets or sets the nominal type.
3927
/// </summary>
40-
/// <value>
41-
/// The nominal type.
42-
/// </value>
43-
public Type NominalType
44-
{
45-
get { return _nominalType; }
46-
set { _nominalType = value; }
47-
}
28+
public Type NominalType { get; set; }
4829
}
4930
}

0 commit comments

Comments
 (0)