Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Xamarin.MacDev/AppleSdkVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public struct AppleSdkVersion : IComparable<AppleSdkVersion>, IEquatable<AppleSd
public AppleSdkVersion (Version version)
{
if (version == null)
throw new ArgumentNullException ();
throw new ArgumentNullException (nameof (version));

if (version.Build != -1) {
this.version = new int [3];
Expand Down
4 changes: 2 additions & 2 deletions Xamarin.MacDev/IPhoneSdkVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public struct IPhoneSdkVersion : IComparable<IPhoneSdkVersion>, IEquatable<IPhon
public IPhoneSdkVersion (Version version)
{
if (version == null)
throw new ArgumentNullException ();
throw new ArgumentNullException (nameof (version));

if (version.Build != -1) {
this.version = new int [3];
Expand All @@ -54,7 +54,7 @@ public IPhoneSdkVersion (Version version)
public IPhoneSdkVersion (params int [] version)
{
if (version == null)
throw new ArgumentNullException ();
throw new ArgumentNullException (nameof (version));

this.version = version;
}
Expand Down
4 changes: 2 additions & 2 deletions Xamarin.MacDev/MacOSXSdkVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public struct MacOSXSdkVersion : IComparable<MacOSXSdkVersion>, IEquatable<MacOS
public MacOSXSdkVersion (params int [] version)
{
if (version == null)
throw new ArgumentNullException ();
throw new ArgumentNullException (nameof (version));
this.version = version;
}

Expand All @@ -48,7 +48,7 @@ void IAppleSdkVersion.SetVersion (int [] version)
public MacOSXSdkVersion (Version version)
{
if (version == null)
throw new ArgumentNullException ();
throw new ArgumentNullException (nameof (version));
this.version = new [] { version.Major, version.Minor };
}

Expand Down
Loading