You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C# has a restriction where enum names cannot start with a number. To accommodate the actual value of 1, the enum name is prefixed with an underscore, resulting in _1
Additionally, when only values of _0 and _1 are supported, why can we put in 1 without receiving any error? It looks like this is a valid input, however the value is not set.
If it's not possible to have 0 and 1, going for enabled and disabled would be a better way to work around it.
Describe the bug
When setting or getting the value an integer is expected. However, the interger is not set and not received.
To Reproduce
Create a new BIOS policy:
Read it:
Tested it with a value of
1
which didn't result in any error, but the value was just platform default:Read it:
Did the same via UI and had a look at the browser inspection network tab:
Read it via PS:
Version used
Expected behavior
values of 0 and 1 instead of _0 and _1
The text was updated successfully, but these errors were encountered: