Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnže Vodovnik <anvod@microsoft.com>2019-12-02 16:48:43 +0300
committerGitHub <noreply@github.com>2019-12-02 16:48:43 +0300
commitcfe2c4bdada01085cffb328e51c71792107d4ba0 (patch)
tree5379cfe07570c208b77afbf9c0931ce5bd25f956
parent2d98672f2a0c76c15045dcc746e34625a6c6259d (diff)
Apply suggestions from code review
Co-Authored-By: Marius Ungureanu <marius.ungureanu@xamarin.com>
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Components/ContextMenuExtensionsMac.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components/ContextMenuExtensionsMac.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components/ContextMenuExtensionsMac.cs
index 30cbd813b6..7e57583c92 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components/ContextMenuExtensionsMac.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components/ContextMenuExtensionsMac.cs
@@ -139,12 +139,12 @@ namespace MonoDevelop.Components
null, 0, 0, 0);
// the following lines are here to dianose & fix VSTS 1026106 - we were getting
- // a SigSegv from here and it is likely caused by NSEven being null, however
+ // a SigSegv from here and it is likely caused by NSEvent being null, however
// it's worth leaving Debug checks in just to be on the safe side
if (tmp_event == null) {
// since this is often called outside of a try/catch loop, we'll just
// log an error and not throw the exception
- LoggingService.LogInternalError (new ArgumentNullException ("tmp_event"));
+ LoggingService.LogInternalError (new ArgumentNullException (nameof(tmp_event)));
return;
}
@@ -320,4 +320,4 @@ namespace MonoDevelop.Components
}
}
#endif
-} \ No newline at end of file
+}