Fixed some Code Analysis warnings.

This commit is contained in:
Michael Möller
2010-08-15 14:46:58 +00:00
parent 2ec18bf862
commit 2071610bbe
33 changed files with 609 additions and 535 deletions

View File

@@ -66,5 +66,9 @@ namespace OpenHardwareMonitor.Collections {
public static implicit operator ReadOnlyArray<T>(T[] array) {
return new ReadOnlyArray<T>(array);
}
public T[] ToArray() {
return (T[])array.Clone();
}
}
}