Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit f219927

Browse files
authored
RequireAttribute with MeansImplicitUse (#1462)
* Add `MeansImplicitUse` to the `RequireAttribute` to reduce some warnings in Rider. * CHANGELOG.md
1 parent c8730a4 commit f219927

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
- Upgrade to Worker SDK v14.8.0. [#1458](https://github.com/spatialos/gdk-for-unity/pull/1458)
88
- Migrated launch configurations to latest game templates. [#1457](https://github.com/spatialos/gdk-for-unity/pull/1457)
9+
- Added `MeansImplicitUse` attribute to `RequireAttribute` to reduce warnings in Rider IDE. [#1462](https://github.com/spatialos/gdk-for-unity/pull/1462)
910

1011
## `0.3.10` - 2020-08-18
1112

workers/unity/Packages/io.improbable.gdk.core/Subscriptions/RequireAttribute.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
using System;
2+
using JetBrains.Annotations;
23

34
namespace Improbable.Gdk.Subscriptions
45
{
5-
[AttributeUsage(AttributeTargets.Field)]
6+
[AttributeUsage(AttributeTargets.Field), MeansImplicitUse]
67
public class RequireAttribute : Attribute
78
{
89
}

0 commit comments

Comments
 (0)