[System.Threading.Tasks.Dataflow] Replace implementation with CoreFx version
[mono.git] / mcs / class / System.Threading.Tasks.Dataflow / SR.cs
1 //
2 // Resource strings referenced by the code.
3 //
4 // Copyright 2015 Xamarin Inc
5 //
6 // Use the following script to extract strings from CoreFxSources/Resources/Strings.resx
7 //
8 // var d = XDocument.Load ("Strings.resx");
9 // foreach (var j in d.XPathSelectElements ("/root/data")){ var v = j.XPathSelectElement ("value"); Console.WriteLine ("\tpublic const string {0}=\"{1}\";", j.Attribute ("name").Value, v.Value); }
10 //
11 partial class SR
12 {
13         public const string ArgumentOutOfRange_BatchSizeMustBeNoGreaterThanBoundedCapacity="Number must be no greater than the value specified in BoundedCapacity.";
14         public const string ArgumentOutOfRange_GenericPositive="Number must be positive.";
15         public const string ArgumentOutOfRange_NeedNonNegOrNegative1="Number must be either non-negative and less than or equal to Int32.MaxValue or -1";
16         public const string Argument_BoundedCapacityNotSupported="BoundedCapacity must be Unbounded or -1 for this dataflow block.";
17         public const string Argument_CantConsumeFromANullSource="The argument must be false if no source from which to consume is specified.";
18         public const string Argument_InvalidMessageHeader="The DataflowMessageHeader instance does not represent a valid message header.";
19         public const string Argument_InvalidMessageId="To construct a DataflowMessageHeader instance, either pass a non-zero value or use the parameterless constructor.";
20         public const string Argument_InvalidSourceForFilteredLink="This block must only be used with the source from which it was created.";
21         public const string Argument_NonGreedyNotSupported="Greedy must be true for this dataflow block.";
22         public const string InvalidOperation_DataNotAvailableForReceive="The source completed without providing data to receive.";
23         public const string InvalidOperation_FailedToConsumeReservedMessage="The target block failed to consume a message it had successfully reserved.";
24         public const string InvalidOperation_MessageNotReservedByTarget="The target does not have the message reserved.";
25         public const string NotSupported_MemberNotNeeded="This member is not supported on this dataflow block. The block is intended for a specific purpose that does not utilize this member.";
26         public const string ConcurrentCollection_SyncRoot_NotSupported="The SyncRoot property may not be used for the synchronization of concurrent collections.";
27 }