Skip to content

Commit f845894

Browse files
committed
Corrected accessibility
1 parent f07be62 commit f845894

17 files changed

+16
-16
lines changed

src/MongoDB.Bson/Serialization/Conventions/AttributeConventionPack.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public IEnumerable<IConvention> Conventions
6060
}
6161

6262
// nested classes
63-
private class AttributeConvention : ConventionBase, IClassMapConvention, ICreatorMapConvention, IMemberMapConvention, IPostProcessingConvention
63+
private class AttributeConvention : ConventionBase, IClassMapConvention, ICreatorMapConvention, IMemberMapConventionInternal, IPostProcessingConventionInternal
6464
{
6565
// public methods
6666
public void Apply(BsonClassMap classMap)

src/MongoDB.Bson/Serialization/Conventions/CamelCaseElementNameConvention.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace MongoDB.Bson.Serialization.Conventions
2121
/// <summary>
2222
/// A convention that sets the element name the same as the member name with the first character lower cased.
2323
/// </summary>
24-
public class CamelCaseElementNameConvention : ConventionBase, IMemberMapConvention
24+
public class CamelCaseElementNameConvention : ConventionBase, IMemberMapConventionInternal
2525
{
2626
// public methods
2727
/// <inheritdoc />

src/MongoDB.Bson/Serialization/Conventions/DelegateMemberMapConvention.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace MongoDB.Bson.Serialization.Conventions
2020
/// <summary>
2121
/// A member map convention that wraps a delegate.
2222
/// </summary>
23-
public class DelegateMemberMapConvention : ConventionBase, IMemberMapConvention
23+
public class DelegateMemberMapConvention : ConventionBase, IMemberMapConventionInternal
2424
{
2525
// private fields
2626
private readonly Action<BsonMemberMap> _action;

src/MongoDB.Bson/Serialization/Conventions/DelegatePostProcessingConvention.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace MongoDB.Bson.Serialization.Conventions
2020
/// <summary>
2121
/// A post processing convention that wraps a delegate.
2222
/// </summary>
23-
public class DelegatePostProcessingConvention : ConventionBase, IPostProcessingConvention
23+
public class DelegatePostProcessingConvention : ConventionBase, IPostProcessingConventionInternal
2424
{
2525
// private fields
2626
private readonly Action<BsonClassMap> _action;

src/MongoDB.Bson/Serialization/Conventions/EnumRepresentationConvention.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace MongoDB.Bson.Serialization.Conventions
2121
/// <summary>
2222
/// A convention that allows you to set the Enum serialization representation
2323
/// </summary>
24-
public class EnumRepresentationConvention : ConventionBase, IMemberMapConvention
24+
public class EnumRepresentationConvention : ConventionBase, IMemberMapConventionInternal
2525
{
2626
// private fields
2727
private readonly BsonType _representation;

src/MongoDB.Bson/Serialization/Conventions/IDiscriminatorConvention.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,5 @@ public interface IDiscriminatorConvention
6161
/// <param name="domain"></param>
6262
/// <returns></returns>
6363
BsonValue GetDiscriminator(Type nominalType, Type actualType, IBsonSerializationDomain domain);
64-
6564
}
6665
}

src/MongoDB.Bson/Serialization/Conventions/IgnoreIfDefaultConvention.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace MongoDB.Bson.Serialization.Conventions
1818
/// <summary>
1919
/// A convention that sets whether to ignore default values during serialization.
2020
/// </summary>
21-
public class IgnoreIfDefaultConvention : ConventionBase, IMemberMapConvention
21+
public class IgnoreIfDefaultConvention : ConventionBase, IMemberMapConventionInternal
2222
{
2323
// private fields
2424
private bool _ignoreIfDefault;

src/MongoDB.Bson/Serialization/Conventions/IgnoreIfNullConvention.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace MongoDB.Bson.Serialization.Conventions
1818
/// <summary>
1919
/// A convention that sets whether to ignore nulls during serialization.
2020
/// </summary>
21-
public class IgnoreIfNullConvention : ConventionBase, IMemberMapConvention
21+
public class IgnoreIfNullConvention : ConventionBase, IMemberMapConventionInternal
2222
{
2323
// private fields
2424
private bool _ignoreIfNull;

src/MongoDB.Bson/Serialization/Conventions/LookupIdGeneratorConvention.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace MongoDB.Bson.Serialization.Conventions
2121
/// <summary>
2222
/// A convention that looks up an id generator for the id member.
2323
/// </summary>
24-
public class LookupIdGeneratorConvention : ConventionBase, IPostProcessingConvention
24+
public class LookupIdGeneratorConvention : ConventionBase, IPostProcessingConventionInternal
2525
{
2626
/// <inheritdoc/>
2727
public void PostProcess(BsonClassMap classMap) => PostProcess(classMap, BsonSerializer.DefaultSerializationDomain);

src/MongoDB.Bson/Serialization/Conventions/MemberDefaultValueConvention.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace MongoDB.Bson.Serialization.Conventions
2020
/// <summary>
2121
/// A convention that sets the default value for members of a given type.
2222
/// </summary>
23-
public class MemberDefaultValueConvention : ConventionBase, IMemberMapConvention
23+
public class MemberDefaultValueConvention : ConventionBase, IMemberMapConventionInternal
2424
{
2525
// private fields
2626
private readonly Type _type;

0 commit comments

Comments
 (0)