diff --git a/CHANGELOG.md b/CHANGELOG.md index 68bcd9d537..544a18bf56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - Upgrade to Worker SDK v14.8.0. [#1458](https://github.com/spatialos/gdk-for-unity/pull/1458) - Migrated launch configurations to latest game templates. [#1457](https://github.com/spatialos/gdk-for-unity/pull/1457) +- Added `MeansImplicitUse` attribute to `RequireAttribute` to reduce warnings in Rider IDE. [#1462](https://github.com/spatialos/gdk-for-unity/pull/1462) ## `0.3.10` - 2020-08-18 diff --git a/workers/unity/Packages/io.improbable.gdk.core/Subscriptions/RequireAttribute.cs b/workers/unity/Packages/io.improbable.gdk.core/Subscriptions/RequireAttribute.cs index 9f66c08af0..f19157bab5 100644 --- a/workers/unity/Packages/io.improbable.gdk.core/Subscriptions/RequireAttribute.cs +++ b/workers/unity/Packages/io.improbable.gdk.core/Subscriptions/RequireAttribute.cs @@ -1,8 +1,9 @@ using System; +using JetBrains.Annotations; namespace Improbable.Gdk.Subscriptions { - [AttributeUsage(AttributeTargets.Field)] + [AttributeUsage(AttributeTargets.Field), MeansImplicitUse] public class RequireAttribute : Attribute { }