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

Commite9b6c87

Browse files
dsymelatkin
authored andcommitted
Use ExceptionDispatchInfo for better exception traces in async code
commit df15170bd4610ceb257107ba3fd84041c6d0bdeeAuthor: latkin <latkin@microsoft.com>Date: Sun Nov 9 14:32:51 2014 -0800 Conditional compilation to support net20commit 6b66a478363872666753a19a754ee3624145ee29Merge: 5831981 d69c0acAuthor: latkin <latkin@microsoft.com>Date: Sun Nov 9 11:51:45 2014 -0800 Merge branch 'async-exn-stack-traces' ofhttps://git01.codeplex.com/forks/dsyme/cleanup into asyncstack Conflicts: DEVGUIDE.htmlcommit d69c0ac76c9a05bcbc43aaaa45302be3de69d5b8Author: Don Syme <dsyme@microsoft.com>Date: Fri Oct 10 16:51:29 2014 +0100 adjust for code review feedback, using ConditionalWeakTablecommit fb29aa6eb3325e505c07572336001388be87c772Author: Don Syme <dsyme@microsoft.com>Date: Tue Oct 7 20:19:27 2014 +0100 recover info only when neededcommit d21a1d4b2d6d2f6fb77c053084c1790ef9dfbba3Author: Don Syme <dsyme@microsoft.com>Date: Tue Oct 7 19:45:58 2014 +0100 add some testscommit b8f0bd7ada8d3b24568b063990e22aa11bff9e38Author: Don Syme <dsyme@microsoft.com>Date: Tue Oct 7 19:34:02 2014 +0100 name changecommit af04867c529c8fd59b36e451dff5d4b0d6f5b268Author: Don Syme <dsyme@microsoft.com>Date: Tue Oct 7 18:33:31 2014 +0100 revert some changescommit b8e7a9a5b7201e48f27f4a6e5f5158fd84591db3Author: Don Syme <dsyme@microsoft.com>Date: Tue Oct 7 16:51:40 2014 +0100 Use ExceptionDispatchInfo for better exception traces in async code
1 parente3e46c4 commite9b6c87

File tree

4 files changed

+236
-110
lines changed

4 files changed

+236
-110
lines changed

‎src/FSharpSource.targets‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105
<DefineConstants>$(DefineConstants);FX_ATLEAST_35</DefineConstants>
106106
<DefineConstants>$(DefineConstants);FX_NO_STRUCTURAL_EQUALITY</DefineConstants>
107107
<DefineConstants>$(DefineConstants);FX_NO_CANCELLATIONTOKEN_CLASSES</DefineConstants>
108+
<DefineConstants>$(DefineConstants);FX_NO_EXCEPTIONDISPATCHINFO</DefineConstants>
108109
<DefineConstants>$(DefineConstants);FX_NO_TASK</DefineConstants>
109110
<DefineConstants>$(DefineConstants);FX_NO_IOBSERVABLE</DefineConstants>
110111
<DefineConstants>$(DefineConstants);FX_NO_LAZY</DefineConstants>
@@ -113,6 +114,7 @@
113114
<DefineConstants>$(DefineConstants);FX_NO_TPL_PARALLEL</DefineConstants>
114115
<DefineConstants>$(DefineConstants);FX_NO_CUSTOMATTRIBUTEDATA</DefineConstants>
115116
<DefineConstants>$(DefineConstants);FX_NO_BIGINT</DefineConstants>
117+
<DefineConstants>$(DefineConstants);FX_NO_CONDITIONAL_WEAK_TABLE</DefineConstants>
116118
<OtherFlags>$(OtherFlags) --simpleresolution</OtherFlags>
117119
</PropertyGroup>
118120

@@ -173,6 +175,7 @@
173175
<DefineConstants>$(DefineConstants);FX_NO_PARAMETERIZED_THREAD_START</DefineConstants>
174176
<DefineConstants>$(DefineConstants);FX_EVENTWAITHANDLE_NO_IDISPOSABLE</DefineConstants>
175177
<DefineConstants>$(DefineConstants);FX_NO_REGISTERED_WAIT_HANDLES</DefineConstants>
178+
<DefineConstants>$(DefineConstants);FX_NO_EXCEPTIONDISPATCHINFO</DefineConstants>
176179
<DefineConstants>$(DefineConstants);FX_ATLEAST_LINQ</DefineConstants>
177180
<DefineConstants>$(DefineConstants);FX_NO_THREAD</DefineConstants>
178181
<DefineConstants>$(DefineConstants);FX_NO_THREADPOOL</DefineConstants>
@@ -299,6 +302,7 @@
299302
<TargetFrameworkVersion>v3.0</TargetFrameworkVersion>
300303
<DefineConstants>$(DefineConstants);SILVERLIGHT</DefineConstants>
301304
<DefineConstants>$(DefineConstants);FX_NO_CANCELLATIONTOKEN_CLASSES</DefineConstants>
305+
<DefineConstants>$(DefineConstants);FX_NO_EXCEPTIONDISPATCHINFO</DefineConstants>
302306
<DefineConstants>$(DefineConstants);FX_NO_TASK</DefineConstants>
303307
<DefineConstants>$(DefineConstants);FX_NO_ARRAY_LONG_LENGTH</DefineConstants>
304308
<DefineConstants>$(DefineConstants);FX_NO_DEBUG_PROXIES</DefineConstants>
@@ -340,6 +344,7 @@
340344
<DefineConstants>$(DefineConstants);SILVERLIGHT</DefineConstants>
341345
<DefineConstants>$(DefineConstants);FX_NO_ISIN_ON_PARAMETER_INFO</DefineConstants>
342346
<DefineConstants>$(DefineConstants);FX_NO_CANCELLATIONTOKEN_CLASSES</DefineConstants>
347+
<DefineConstants>$(DefineConstants);FX_NO_EXCEPTIONDISPATCHINFO</DefineConstants>
343348
<DefineConstants>$(DefineConstants);FX_NO_TASK</DefineConstants>
344349
<DefineConstants>$(DefineConstants);FX_NO_BIGINT</DefineConstants>
345350
<DefineConstants>$(DefineConstants);FX_NO_CUSTOMATTRIBUTEDATA</DefineConstants>
@@ -429,6 +434,7 @@
429434
<TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
430435
<DefineConstants>$(DefineConstants);SILVERLIGHT</DefineConstants>
431436
<DefineConstants>$(DefineConstants);FX_NO_CANCELLATIONTOKEN_CLASSES</DefineConstants>
437+
<DefineConstants>$(DefineConstants);FX_NO_EXCEPTIONDISPATCHINFO</DefineConstants>
432438
<DefineConstants>$(DefineConstants);FX_NO_TASK</DefineConstants>
433439
<DefineConstants>$(DefineConstants);FX_NO_ARRAY_LONG_LENGTH</DefineConstants>
434440
<DefineConstants>$(DefineConstants);FX_NO_DEBUG_PROXIES</DefineConstants>
@@ -475,6 +481,7 @@
475481
<TargetFrameworkIdentifier>CompactFramework</TargetFrameworkIdentifier>
476482
<DefineConstants>$(DefineConstants);FX_ATLEAST_COMPACT_FRAMEWORK_20</DefineConstants>
477483
<DefineConstants>$(DefineConstants);FX_NO_CANCELLATIONTOKEN_CLASSES</DefineConstants>
484+
<DefineConstants>$(DefineConstants);FX_NO_EXCEPTIONDISPATCHINFO</DefineConstants>
478485
<DefineConstants>$(DefineConstants);FX_NO_TASK</DefineConstants>
479486
<DefineConstants>$(DefineConstants);COMPACT_FRAMEWORK</DefineConstants>
480487
<DefineConstants>$(DefineConstants);FX_NO_ARRAY_LONG_LENGTH</DefineConstants>
@@ -514,6 +521,7 @@
514521
<DefineConstants>$(DefineConstants);FX_NO_LAZY</DefineConstants>
515522
<DefineConstants>$(DefineConstants);FX_NO_TUPLE</DefineConstants>
516523
<DefineConstants>$(DefineConstants);FX_NO_DELEGATE_CREATE_DELEGATE_FROM_STATIC_METHOD</DefineConstants>
524+
<DefineConstants>$(DefineConstants);FX_NO_CONDITIONAL_WEAK_TABLE</DefineConstants>
517525
<DefineConstants>$(DefineConstants)</DefineConstants>
518526
<!-- It would be better to use MSBuild resolution here, but the TargetFrameworkIdentifier etc. aren't set up quite correctly as yet-->
519527
<OtherFlags>$(OtherFlags) --simpleresolution -r:"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\mscorlib.dll" -r:"C:\Program Files\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\System.dll"</OtherFlags>
@@ -562,6 +570,7 @@
562570
<TargetFrameworkIdentifier>CompactFramework</TargetFrameworkIdentifier>
563571
<DefineConstants>$(DefineConstants);FX_ATLEAST_COMPACT_FRAMEWORK_35</DefineConstants>
564572
<DefineConstants>$(DefineConstants);FX_NO_CANCELLATIONTOKEN_CLASSES</DefineConstants>
573+
<DefineConstants>$(DefineConstants);FX_NO_EXCEPTIONDISPATCHINFO</DefineConstants>
565574
<DefineConstants>$(DefineConstants);FX_NO_TASK</DefineConstants>
566575
<DefineConstants>$(DefineConstants);COMPACT_FRAMEWORK</DefineConstants>
567576
<DefineConstants>$(DefineConstants);FX_NO_ARRAY_LONG_LENGTH</DefineConstants>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp