Skip to content

Commit

Permalink
Make methods that do nothing obsolete and fix a compiler warning. (#67)
Browse files Browse the repository at this point in the history
Fixes:

> AppleSdkSettings.cs(291,30): warning CS0067: The event 'AppleSdkSettings.Changed' is never used
  • Loading branch information
rolfbjarne authored and jstedfast committed Dec 19, 2019
1 parent 681aef6 commit dc270f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Xamarin.MacDev/AppleSdkSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ public static string XcodePath {
get; private set;
}

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

#pragma warning disable 0067
[Obsolete ("This event is never raised")]
public static event Action Changed;
#pragma warning restore 0067
}
}

0 comments on commit dc270f6

Please sign in to comment.