Skip to content

Commit dc270f6

Browse files
rolfbjarnejstedfast
authored andcommitted
Make methods that do nothing obsolete and fix a compiler warning. (#67)
Fixes: > AppleSdkSettings.cs(291,30): warning CS0067: The event 'AppleSdkSettings.Changed' is never used
1 parent 681aef6 commit dc270f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Xamarin.MacDev/AppleSdkSettings.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ public static string XcodePath {
268268
get; private set;
269269
}
270270

271+
[Obsolete ("This method does nothing")]
271272
public static void CheckChanged ()
272273
{
273274
//var plist = Path.Combine (XcodePath, "Contents", "Info.plist");
@@ -288,6 +289,9 @@ public static void CheckChanged ()
288289
public static Version XcodeVersion { get; private set; }
289290
public static string XcodeRevision { get; private set; }
290291

292+
#pragma warning disable 0067
293+
[Obsolete ("This event is never raised")]
291294
public static event Action Changed;
295+
#pragma warning restore 0067
292296
}
293297
}

0 commit comments

Comments
 (0)