|
throw new InvalidOperationException($"File is not aligned to elements with size {elementSize}."); |
By the convention all methods ended with OrDefault are expected to return default value in any unexpected case. Such methods are not expected to throw exceptions.
IO/csharp/Platform.IO/FileHelpers.cs
Line 44 in 00ac8c5
By the convention all methods ended with
OrDefaultare expected to return default value in any unexpected case. Such methods are not expected to throw exceptions.