4 references to ToULongUnchecked
Microsoft.Cci.Extensions (4)
Writers\CSharp\CSDeclarationWriter.Enums.cs (4)
40
ulong value =
ToULongUnchecked
(constant.Value);
57
ulong candidateFlag =
ToULongUnchecked
(candidateFlagObj);
66
ulong otherFlagValue =
ToULongUnchecked
(candidateFlagFields[i].Constant.Value);
118
if (constant.Value == null ||
ToULongUnchecked
(constant.Value) == 0) // default(T) on an enum is 0