Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcacff75

Browse files
committed
#ifdef out invalid Thread usages for portable 7, 78, 259
1 parentfcd8746 commitcacff75

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎tests/fsharp/core/measures/test.fsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,12 +504,14 @@ module MembersTest =
504504
lets=2.0f<kg>
505505
letd=2.0M<kg>
506506

507+
#if!NetCore
507508
lettmpCulture= System.Threading.Thread.CurrentThread.CurrentCulture
508509
System.Threading.Thread.CurrentThread.CurrentCulture<- System.Globalization.CultureInfo("en-US")
509510
test"f"(f.ToString().Equals("2"))
510511
test"s"(s.ToString().Equals("2"))
511512
test"d"(d.ToString().Equals("2.0"))
512513
System.Threading.Thread.CurrentThread.CurrentCulture<- tmpCulture
514+
#endif
513515

514516
letfc=(f:> System.IComparable<float<kg>>).CompareTo(f+f)
515517
letsc=(s:> System.IComparable<float32<kg>>).CompareTo(s+s)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp