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:
parent
f2bacc5411
commit
b0e76b4800
|
@ -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)"
|
||||
|
|
|
@ -31,7 +31,7 @@ using Nuclex.Support.Tracking;
|
|||
|
||||
namespace Nuclex.Support.Scheduling {
|
||||
|
||||
/// <summary>Unit Test for the queue operation class</summary>
|
||||
/// <summary>Unit Test for the operation queue class</summary>
|
||||
[TestFixture]
|
||||
public class OperationQueueTest {
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ namespace Nuclex.Support.Tracking {
|
|||
/// <remarks>
|
||||
/// 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).
|
||||
/// </remarks>
|
||||
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();
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user