@@ -87,13 +87,16 @@ public static IEnumerable<object[]> Parse_TestData()
87
87
yield return new object [ ] { "Value1" , false , Enum . ToObject ( s_boolEnumType , true ) } ;
88
88
yield return new object [ ] { "vaLue2" , true , Enum . ToObject ( s_boolEnumType , false ) } ;
89
89
90
- // Single - parses successfully, but doesn't properly represent the underlying value
91
- yield return new object [ ] { "Value1" , false , Enum . GetValues ( s_floatEnumType ) . GetValue ( 0 ) } ;
92
- yield return new object [ ] { "vaLue2" , true , Enum . GetValues ( s_floatEnumType ) . GetValue ( 0 ) } ;
90
+ if ( ! PlatformDetection . IsMonoRuntime ) // tracked in issue #36887
91
+ {
92
+ // Single - parses successfully, but doesn't properly represent the underlying value
93
+ yield return new object [ ] { "Value1" , false , Enum . GetValues ( s_floatEnumType ) . GetValue ( 0 ) } ;
94
+ yield return new object [ ] { "vaLue2" , true , Enum . GetValues ( s_floatEnumType ) . GetValue ( 0 ) } ;
93
95
94
- // Double - parses successfully, but doesn't properly represent the underlying value
95
- yield return new object [ ] { "Value1" , false , Enum . GetValues ( s_doubleEnumType ) . GetValue ( 0 ) } ;
96
- yield return new object [ ] { "vaLue2" , true , Enum . GetValues ( s_doubleEnumType ) . GetValue ( 0 ) } ;
96
+ // Double - parses successfully, but doesn't properly represent the underlying value
97
+ yield return new object [ ] { "Value1" , false , Enum . GetValues ( s_doubleEnumType ) . GetValue ( 0 ) } ;
98
+ yield return new object [ ] { "vaLue2" , true , Enum . GetValues ( s_doubleEnumType ) . GetValue ( 0 ) } ;
99
+ }
97
100
#endif // netcoreapp
98
101
99
102
// SimpleEnum
0 commit comments