-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 1.6.1
-
Component/s: None
-
None
-
Environment:All
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.
- related to
-
CSHARP-708 BsonClassMap.SetIdMember fails for lhamda expressions that contain interface members
- Closed