Potentially unintended unused variable.

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • 2.4.2
    • Affects Version/s: 2.4.1
    • Component/s: Serialization
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In BsonClassMapSerializer<>.TryGetMemberSerializationInfo(...), the variable nominalType is not used when constructing the BsonSerializationInfo to be returned; serializer.ValueType is used instead.

      Using nominalType seems more reasonable, but I'm not certain. If using serializer.ValueType is intended, remove the unused variable; otherwise, use it.

            Assignee:
            Robert Stam
            Reporter:
            Carl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: