We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f106ea commit d2e3399Copy full SHA for d2e3399
1 file changed
WebAssembly/Section.cs
@@ -1,4 +1,6 @@
1
-namespace WebAssembly;
+using System;
2
+
3
+namespace WebAssembly;
4
5
/// <summary>
6
/// The standard section identifiers.
@@ -61,5 +63,5 @@ public enum Section : byte
61
63
62
64
static class SectionExtensions
65
{
- public static bool IsValid(this Section section) => section <= Section.Data;
66
+ public static bool IsValid(this Section section) => section <= Section.DataCount;
67
}
0 commit comments