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

Commitfb3e551

Browse files
committed
FX_NO_IOBSERVABLE --- Dead code removal
1 parent81612fb commitfb3e551

File tree

2 files changed

+0
-48
lines changed

2 files changed

+0
-48
lines changed

‎src/fsharp/FSharp.Core/prim-types.fs‎

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5819,27 +5819,6 @@ namespace Microsoft.FSharp.Control
58195819
type'T``lazy``= Lazy<'T>
58205820

58215821

5822-
5823-
//============================================================================
5824-
//============================================================================
5825-
5826-
#if FX_NO_IOBSERVABLE
5827-
namespaceSystem
5828-
5829-
openMicrosoft.FSharp.Core
5830-
5831-
[<AllowNullLiteral>]
5832-
typeIObserver<'T>=
5833-
abstractOnNext : value:'T->unit
5834-
abstractOnError : error:exn->unit
5835-
abstractOnCompleted :unit->unit
5836-
5837-
[<AllowNullLiteral>]
5838-
typeIObservable<'T>=
5839-
abstractSubscribe : observer:IObserver<'T>->System.IDisposable;
5840-
#else
5841-
#endif
5842-
58435822
namespaceMicrosoft.FSharp.Control
58445823

58455824
openSystem

‎src/fsharp/FSharp.Core/prim-types.fsi‎

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3243,33 +3243,6 @@ namespace Microsoft.FSharp.Control
32433243
and
32443244
[<System.Obsolete("This type is obsolete. Please use System.Lazy instead.",true)>]
32453245
'T ``lazy``=System.Lazy<'T>
3246-
3247-
#if FX_NO_IOBSERVABLE
3248-
namespace System
3249-
3250-
open Microsoft.FSharp.Core
3251-
3252-
///<summary>A client that may be subscribed to observe the results from an IObservable.</summary>
3253-
[<AllowNullLiteral>]
3254-
type IObserver<'T>=
3255-
///<summary>Notify an observer of a new result</summary>
3256-
///<param name="value">The value to notify observers.</param>
3257-
abstract OnNext:value: 'T->unit
3258-
///<summary>Notify an observer of an error </summary>
3259-
///<param name="error">The exception to notify observers.</param>
3260-
abstract OnError:error:exn->unit
3261-
///<summary>Notify an observer that no more results will be produced.</summary>
3262-
abstract OnCompleted:unit->unit
3263-
3264-
///<summary>A source of observable results</summary>
3265-
[<AllowNullLiteral>]
3266-
type IObservable<'T>=
3267-
///<summary>Subscribe an observer to the source of results</summary>
3268-
///<param name="observer">The observer to be added to those that are notified.</param>
3269-
///<returns>An IDisposable to allow for unsubscription.</returns>
3270-
abstract Subscribe:observer:IObserver<'T>->System.IDisposable;
3271-
#else
3272-
#endif
32733246

32743247
namespace Microsoft.FSharp.Control
32753248

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp