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
This commit is contained in:
Markus Ewald 2008-08-14 21:14:40 +00:00
parent f2bacc5411
commit b0e76b4800
3 changed files with 6 additions and 6 deletions

View File

@ -64,14 +64,14 @@ namespace Nuclex.Support.Plugins {
} }
// File not found - Most likely a missing dependency of the assembly we // 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 // attempted to load since the assembly itself has been found by the GetFiles() method
catch(DllNotFoundException exception) { catch(DllNotFoundException) {
Console.WriteLine( Console.WriteLine(
"Assembly '" + assemblyFile + "' or one of its dependencies is missing" "Assembly '" + assemblyFile + "' or one of its dependencies is missing"
); );
} }
// Unauthorized acccess - Either the assembly is not trusted because it contains // 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 // code that imposes a security risk on the system or a user rights problem
catch(UnauthorizedAccessException exception) { catch(UnauthorizedAccessException) {
Console.WriteLine( Console.WriteLine(
"Not authorized to load assembly '" + assemblyFile + "', " + "Not authorized to load assembly '" + assemblyFile + "', " +
"possible rights problem" "possible rights problem"
@ -79,7 +79,7 @@ namespace Nuclex.Support.Plugins {
} }
// Bad image format - This exception is often thrown when the assembly we // Bad image format - This exception is often thrown when the assembly we
// attempted to load requires a different version of the .NET framework // attempted to load requires a different version of the .NET framework
catch(BadImageFormatException exception) { catch(BadImageFormatException) {
Console.WriteLine( Console.WriteLine(
"'" + assemblyFile +"' is not a .NET assembly, requires a different version " + "'" + assemblyFile +"' is not a .NET assembly, requires a different version " +
"of the .NET Runtime or does not support the current instruction set (x86/x64)" "of the .NET Runtime or does not support the current instruction set (x86/x64)"

View File

@ -31,7 +31,7 @@ using Nuclex.Support.Tracking;
namespace Nuclex.Support.Scheduling { namespace Nuclex.Support.Scheduling {
/// <summary>Unit Test for the queue operation class</summary> /// <summary>Unit Test for the operation queue class</summary>
[TestFixture] [TestFixture]
public class OperationQueueTest { public class OperationQueueTest {

View File

@ -85,7 +85,7 @@ namespace Nuclex.Support.Tracking {
/// <remarks> /// <remarks>
/// Any exceptions raised in the background operation will be thrown /// Any exceptions raised in the background operation will be thrown
/// in this method. If you decide to override this method, you should /// 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). /// caller).
/// </remarks> /// </remarks>
public virtual void Join() { public virtual void Join() {
@ -97,7 +97,7 @@ namespace Nuclex.Support.Tracking {
if(!Ended) if(!Ended)
Wait(); 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(); ReraiseExceptions();
} }