We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f933a2 commit bd676dcCopy full SHA for bd676dc
BsonUnitTests/DefaultSerializer/BsonClassMapTests.cs
@@ -40,8 +40,10 @@ private class A
40
public int FieldMapped;
41
[BsonElement("FieldMappedByAttribute")]
42
private int fieldMappedByAttribute;
43
+#pragma warning disable 414 // fieldMappedByAttribute2 is assigned but its value is never used
44
[BsonElement]
45
private readonly int fieldMappedByAttribute2;
46
+#pragma warning restore
47
48
public int PropertyMapped { get; set; }
49
public int PropertyMapped2 { get; private set; }
0 commit comments