Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2016-05-30 03:11:33 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2016-05-30 03:11:33 +0300
commit340f106a35b565218ac0808298be8c143bb1d60a (patch)
tree809fd103b0d4a60845369ea91e610edeb52c0a17 /mcs/class/System.Transactions
parentc6d3cc5fa7e759a8b36f1a4bd15a65312b7c7120 (diff)
[System.Transactions] Fix the build broken by https://github.com/mono/mono/pull/3061
Diffstat (limited to 'mcs/class/System.Transactions')
-rw-r--r--mcs/class/System.Transactions/System.Transactions/TransactionScope.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/mcs/class/System.Transactions/System.Transactions/TransactionScope.cs b/mcs/class/System.Transactions/System.Transactions/TransactionScope.cs
index 8ec40403b06..167d47e8d3a 100644
--- a/mcs/class/System.Transactions/System.Transactions/TransactionScope.cs
+++ b/mcs/class/System.Transactions/System.Transactions/TransactionScope.cs
@@ -69,6 +69,12 @@ namespace System.Transactions
{
}
+ public TransactionScope (TransactionScopeOption option,
+ TimeSpan timeout)
+ : this (option, timeout, TransactionScopeAsyncFlowOption.Suppress)
+ {
+ }
+
public TransactionScope(TransactionScopeOption option, TransactionScopeAsyncFlowOption asyncFlow)
: this(option, TransactionManager.DefaultTimeout, asyncFlow)
{