Anton Firsov
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/ImageSharp/MetaData/Profiles/Exif/ExifReader.cs
|
|
@ -567,8 +567,8 @@ namespace SixLabors.ImageSharp.MetaData.Profiles.Exif |
|
|
[MethodImpl(InliningOptions.ShortMethod)] |
|
|
[MethodImpl(InliningOptions.ShortMethod)] |
|
|
public static bool IsDefined(int value) |
|
|
public static bool IsDefined(int value) |
|
|
{ |
|
|
{ |
|
|
return Array.BinarySearch(Values, 0, Values.Length, value) > 0; |
|
|
return Array.BinarySearch(Values, value) >= 0; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|