Skip to content

Commit

Permalink
add some preservation logic for xamarin.ios
Browse files Browse the repository at this point in the history
  • Loading branch information
nirinchev committed Sep 17, 2020
1 parent 399205f commit 8800b43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Realm/Realm/Realm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ private static bool IsRealmOpen(string path)
/// <summary>
/// Gets an object encompassing the dynamic API for this Realm instance.
/// </summary>
[Preserve]
public Dynamic DynamicApi { get; }

/// <summary>
Expand Down Expand Up @@ -1172,6 +1173,7 @@ internal void DrainTransactionQueue()
/// <summary>
/// A class that exposes the dynamic API for a <see cref="Realm"/> instance.
/// </summary>
[Preserve(AllMembers = true)]
public class Dynamic
{
private readonly Realm _realm;
Expand Down

0 comments on commit 8800b43

Please sign in to comment.