Imported Upstream version 5.10.0.47

Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-01-24 17:04:36 +00:00
parent 88ff76fe28
commit e46a49ecf1
5927 changed files with 226314 additions and 129848 deletions

View File

@@ -49,7 +49,7 @@ namespace System.Transactions.Distributed
/// <summary>
/// A Transaction object represents a single transaction. It is created by TransactionManager
/// objects through CreateTransaction or through deserialization. Alternatively, the static Create
/// methodis provided, which creates a "default" TransactionManager and requests that it create
/// methods provided, which creates a "default" TransactionManager and requests that it create
/// a new transaction with default values. A transaction can only be committed by
/// the client application that created the transaction. If a client application wishes to allow
/// access to the transaction by multiple threads, but wants to prevent those other threads from

View File

@@ -5,7 +5,7 @@
namespace System.Transactions
{
/// <summary>
/// This identifier is used in tracing to distiguish transaction
/// This identifier is used in tracing to distinguish transaction
/// enlistments. This identifier is only unique within
/// a given AppDomain.
/// </summary>
@@ -40,7 +40,7 @@ namespace System.Transactions
private readonly int _enlistmentIdentifier;
/// <summary>
/// A value that distiguishes between multiple enlistments on the same
/// A value that distinguishes between multiple enlistments on the same
/// transaction instance by the same resource manager.
/// </summary>
public int EnlistmentIdentifier => _enlistmentIdentifier;

View File

@@ -453,7 +453,7 @@ namespace System.Transactions
///
/// If the transaction has not already been promoted, retrieving this value will cause promotion. Before retrieving the
/// PromotedToken, the Transaction.PromoterType value should be checked to see if it is a promoter type (Guid) that the
/// caller understands. If the caller does not recognize the PromoterType value, retreiving the PromotedToken doesn't
/// caller understands. If the caller does not recognize the PromoterType value, retrieving the PromotedToken doesn't
/// have much value because the caller doesn't know how to utilize it. But if the PromoterType is recognized, the
/// caller should know how to utilize the PromotedToken to communicate with the promoting distributed transaction
/// coordinator to enlist on the distributed transaction.
@@ -952,7 +952,7 @@ namespace System.Transactions
///
/// False if the transaction already has a durable enlistment or promotable single phase enlistment or
/// if the transaction has already promoted. In this case, the caller will need to enlist in the transaction through other
/// means, such as Transaction.EnlistDurable or retreive the MSDTC export cookie or propagation token to enlist with MSDTC.
/// means, such as Transaction.EnlistDurable or retrieve the MSDTC export cookie or propagation token to enlist with MSDTC.
/// </returns>
// We apparently didn't spell Promotable like FXCop thinks it should be spelled.
public bool EnlistPromotableSinglePhase(IPromotableSinglePhaseNotification promotableSinglePhaseNotification)

View File

@@ -5,7 +5,7 @@
namespace System.Transactions
{
/// <summary>
/// This identifier is used in tracing to distiguish instances
/// This identifier is used in tracing to distinguish instances
/// of transaction objects. This identifier is only unique within
/// a given AppDomain.
/// </summary>
@@ -28,7 +28,7 @@ namespace System.Transactions
private readonly int _cloneIdentifier;
/// <summary>
/// An integer value that allows different clones of the same
/// transaction to be distiguished in the tracing.
/// transaction to be distinguished in the tracing.
/// </summary>
public int CloneIdentifier => _cloneIdentifier;

View File

@@ -761,7 +761,7 @@ namespace System.Transactions.Tests
irm.Value = 2;
ct.Commit();
/* Using a already committed transaction in a new
/* Using an already committed transaction in a new
* TransactionScope
*/
TransactionScope scope = new TransactionScope(ct);