Skip to content

Commit 4036efb

Browse files
committed
Tweak
1 parent b690c64 commit 4036efb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/monotouch-test/ObjCRuntime/StrongEnumTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public void GetConstant ()
3636
foreach (var enumValue in Enum.GetValuesAsUnderlyingType (type)) {
3737
var obj = getConstant.Invoke (null, new object [] { enumValue });
3838

39-
if (valuesToSkip.Remove ((type, (int) enumValue)))
39+
if (valuesToSkip.Remove ((type, enumValue)))
4040
continue;
4141

4242
if (obj is not null) {
@@ -52,9 +52,9 @@ public void GetConstant ()
5252
});
5353
}
5454

55-
(Type EnumType, int UnderlyingValue) [] GetSkippedEnumValues ()
55+
(Type EnumType, object UnderlyingValue) [] GetSkippedEnumValues ()
5656
{
57-
var rv = new List<(Type EnumType, int UnderlyingValue)> () {
57+
var rv = new List<(Type EnumType, object UnderlyingValue)> () {
5858
#if !XAMCORE_5_0
5959
(typeof (global::AVFoundation.AVCaptureDeviceType), (int) global::AVFoundation.AVCaptureDeviceType.BuiltInDualCamera),
6060
#if __MACOS__

0 commit comments

Comments
 (0)