From b0e76b48006e0803722b63592959e464de277a6d Mon Sep 17 00:00:00 2001 From: Markus Ewald Date: Thu, 14 Aug 2008 21:14:40 +0000 Subject: [PATCH] Fixed 3 compiler warnings that were occurring in Nuclex.Support; minor improvements to the documentation git-svn-id: file:///srv/devel/repo-conversion/nusu@90 d2e56fa2-650e-0410-a79f-9358c0239efd --- Source/Plugins/PluginRepository.cs | 6 +++--- Source/Scheduling/OperationQueue.Test.cs | 2 +- Source/Tracking/Request.cs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/Plugins/PluginRepository.cs b/Source/Plugins/PluginRepository.cs index b5fca8b..4b0912a 100644 --- a/Source/Plugins/PluginRepository.cs +++ b/Source/Plugins/PluginRepository.cs @@ -64,14 +64,14 @@ namespace Nuclex.Support.Plugins { } // File not found - Most likely a missing dependency of the assembly we // attempted to load since the assembly itself has been found by the GetFiles() method - catch(DllNotFoundException exception) { + catch(DllNotFoundException) { Console.WriteLine( "Assembly '" + assemblyFile + "' or one of its dependencies is missing" ); } // Unauthorized acccess - Either the assembly is not trusted because it contains // code that imposes a security risk on the system or a user rights problem - catch(UnauthorizedAccessException exception) { + catch(UnauthorizedAccessException) { Console.WriteLine( "Not authorized to load assembly '" + assemblyFile + "', " + "possible rights problem" @@ -79,7 +79,7 @@ namespace Nuclex.Support.Plugins { } // Bad image format - This exception is often thrown when the assembly we // attempted to load requires a different version of the .NET framework - catch(BadImageFormatException exception) { + catch(BadImageFormatException) { Console.WriteLine( "'" + assemblyFile +"' is not a .NET assembly, requires a different version " + "of the .NET Runtime or does not support the current instruction set (x86/x64)" diff --git a/Source/Scheduling/OperationQueue.Test.cs b/Source/Scheduling/OperationQueue.Test.cs index d3623f1..df1e49a 100644 --- a/Source/Scheduling/OperationQueue.Test.cs +++ b/Source/Scheduling/OperationQueue.Test.cs @@ -31,7 +31,7 @@ using Nuclex.Support.Tracking; namespace Nuclex.Support.Scheduling { - /// Unit Test for the queue operation class + /// Unit Test for the operation queue class [TestFixture] public class OperationQueueTest { diff --git a/Source/Tracking/Request.cs b/Source/Tracking/Request.cs index a320148..d3380eb 100644 --- a/Source/Tracking/Request.cs +++ b/Source/Tracking/Request.cs @@ -85,7 +85,7 @@ namespace Nuclex.Support.Tracking { /// /// Any exceptions raised in the background operation will be thrown /// in this method. If you decide to override this method, you should - /// call End() first (and let any possible exception through to your + /// call Wait() first (and let any possible exception through to your /// caller). /// public virtual void Join() { @@ -97,7 +97,7 @@ namespace Nuclex.Support.Tracking { if(!Ended) Wait(); - // Allow the implementor to throw an exception in case an error has occured + // Allow the implementer to throw an exception in case an error has occured ReraiseExceptions(); }