[mono/monodevelop] b2994fb2: [Debugger] sprinkled some magic readonly dust

"Jeffrey Stedfast ([email protected])" <[email protected]> Thu, 7 Nov 2013 21:22:51 +0000
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <0000014234723eae-38a67646-4fc3-47be-a832-cc5161116ad9-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/monodevelop
  Compare: https://github.com/mono/monodevelop/compare/4f7ff7868ffd...b2994fb297e5

   Commit: b2994fb297e5b72e6c52c5844c89e153f2420839
   Author: Jeffrey Stedfast <[email protected]> (jstedfast)
     Date: 2013-11-07 21:20:02 GMT
      URL: https://github.com/mono/monodevelop/commit/b2994fb297e5b72e6c52c5844c89e153f2420839

[Debugger] sprinkled some magic readonly dust

Changed paths:
  M main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ExceptionCaughtDialog.cs

Modified: main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ExceptionCaughtDialog.cs
===================================================================
@@ -215,10 +215,10 @@ void HandleCopyClicked (object sender, EventArgs e)
 
 	class ExceptionCaughtMessage : IDisposable
 	{
-		ExceptionInfo ex;
+		ExceptionCaughtMiniButton miniButton;
 		ExceptionCaughtDialog dialog;
 		ExceptionCaughtButton button;
-		ExceptionCaughtMiniButton miniButton;
+		readonly ExceptionInfo ex;
 
 		public ExceptionCaughtMessage (ExceptionInfo val, FilePath file, int line, int col)
 		{
@@ -308,11 +308,11 @@ public void Close ()
 
 	class ExceptionCaughtButton: TopLevelWidgetExtension
 	{
-		ExceptionCaughtMessage dlg;
-		ExceptionInfo exception;
+		readonly Gdk.Pixbuf closeSelOverImage;
+		readonly Gdk.Pixbuf closeSelImage;
+		readonly ExceptionCaughtMessage dlg;
+		readonly ExceptionInfo exception;
 		Gtk.Label messageLabel;
-		Gdk.Pixbuf closeSelImage;
-		Gdk.Pixbuf closeSelOverImage;
 
 		public ExceptionCaughtButton (ExceptionInfo val, ExceptionCaughtMessage dlg, FilePath file, int line)
 		{


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches