Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
1.6.1
-
None
-
None
-
All
Description
This was actually reported by MARCOSB on GitHub to me in the comments for a pull request I made here: https://github.com/mongodb/mongo-csharp-driver/commit/5a62ca86fba984803e445a1d182bc125a56c7714
public interface IMyInterface
{
string SomeField
}
public class MyClass : IMyInterface
{
[BsonElement("bla")]
public string SomeField { get; set; }
}
public class HelperClass<T>
where T : IMyInterface
{
public void DoSomething()
}
I believe it is a regression; I will issue a fix for this.
Attachments
Issue Links
- related to
-
CSHARP-708 BsonClassMap.SetIdMember fails for lhamda expressions that contain interface members
-
- Closed
-