mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-08-31 06:15:08 +00:00
Fixed some Code Analysis warnings.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user