external/rx/Rx/NET/Source/System.Reactive.PlatformServices/Reactive/Internal/Stubs.cs
raw| 1 | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. |
| 2 | |
| 3 | namespace System.Reactive.Concurrency |
| 4 | { |
| 5 | #if !NO_THREAD |
| 6 | internal static class TimerStubs |
| 7 | { |
| 8 | public static readonly System.Threading.Timer Never = new System.Threading.Timer(_ => { }); |
| 9 | } |
| 10 | #endif |
| 11 | } |