Uploaded image for project: 'Realm .NET SDK'
  1. Realm .NET SDK
  2. RNET-548

Add argument validation for dictionary keys

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: API
    • Labels:

      In several places in the code we do not do not check that the argument representing the key of a dictionary is different from null (in C# dictionaries cannot have a null key).
      This for example happens in method `dynamic CreateObject` in `Realm.cs`.

      We should go around and find when this happens and add validation.

            Assignee:
            Unassigned Unassigned
            Reporter:
            ferdinando.papale@mongodb.com Ferdinando Papale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: