@@ -19,19 +19,19 @@ namespace EddiVoiceAttackResponder
1919 [ UsedImplicitly ]
2020 public class VoiceAttackPlugin
2121 {
22- // ReSharper disable once UnusedMember.Global - VA Interface Member
22+ [ UsedImplicitly ( Reason = "VoiceAttack Interface Member" ) ]
2323 public static string VA_DisplayName ( )
2424 {
2525 return Constants . EDDI_NAME + " " + Constants . EDDI_VERSION ;
2626 }
2727
28- // ReSharper disable once UnusedMember.Global - VA Interface Member
28+ [ UsedImplicitly ( Reason = "VoiceAttack Interface Member" ) ]
2929 public static string VA_DisplayInfo ( )
3030 {
3131 return Constants . EDDI_NAME + "\r \n Version " + Constants . EDDI_VERSION ;
3232 }
3333
34- // ReSharper disable once UnusedMember.Global - VA Interface Member
34+ [ UsedImplicitly ( Reason = "VoiceAttack Interface Member" ) ]
3535 public static Guid VA_Id ( )
3636 {
3737 return new Guid ( "{4AD8E3A4-CEFA-4558-B503-1CC9B99A07C1}" ) ;
@@ -51,7 +51,7 @@ internal static System.Version VaVersion
5151
5252 internal static readonly object vaProxyLock = new object ( ) ;
5353
54- // ReSharper disable once MemberCanBePrivate.Global - VA Interface Member
54+ [ UsedImplicitly ( Reason = "VoiceAttack Interface Member" ) ]
5555 public static void VA_Init1 ( dynamic vaProxy )
5656 {
5757 // Initialize and launch an EDDI instance without opening the main window
@@ -161,8 +161,8 @@ private static void OnEddiPropertyChanged ( object s, PropertyChangedEventArgs e
161161 VoiceAttackVariables . updateStandardValues ( e ) ;
162162 }
163163
164- // ReSharper disable once UnusedMember.Global - VoiceAttack API
165- public static void VA_Exit1 ( dynamic vaProxy )
164+ [ UsedImplicitly ( Reason = "VoiceAttack Interface Member" ) ]
165+ public static void VA_Exit1 ( dynamic _ )
166166 {
167167 Logging . Info ( "EDDI VoiceAttack plugin exiting" ) ;
168168
@@ -190,11 +190,11 @@ public static void VA_Exit1(dynamic vaProxy)
190190 } ) ;
191191 }
192192
193- [ UsedImplicitly ]
193+ [ UsedImplicitly ( Reason = "VoiceAttack Interface Member" ) ]
194194 public static void VA_StopCommand ( )
195195 { }
196196
197- [ UsedImplicitly ]
197+ [ UsedImplicitly ( Reason = "VoiceAttack Interface Member" ) ]
198198 public static void VA_Invoke1 ( dynamic vaProxy )
199199 {
200200 lock ( vaProxyLock )
0 commit comments