You've already forked linux-packaging-mono
Imported Upstream version 5.0.0.42
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
This commit is contained in:
parent
1190d13a04
commit
6bdd276d05
@@ -1,62 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace System.Linq
|
||||
{
|
||||
static class Error
|
||||
{
|
||||
public static ArgumentNullException ArgumentNull (string parameter)
|
||||
{
|
||||
return new ArgumentNullException (parameter);
|
||||
}
|
||||
|
||||
public static ArgumentOutOfRangeException ArgumentOutOfRange (string parameter)
|
||||
{
|
||||
return new ArgumentOutOfRangeException (parameter);
|
||||
}
|
||||
|
||||
public static ArgumentException ArgumentNotValid (string parameter)
|
||||
{
|
||||
return new ArgumentException (parameter);
|
||||
}
|
||||
|
||||
public static NotSupportedException NotSupported ()
|
||||
{
|
||||
return new NotSupportedException ();
|
||||
}
|
||||
|
||||
public static InvalidOperationException NoElements ()
|
||||
{
|
||||
return new InvalidOperationException (Strings.NoElements);
|
||||
}
|
||||
|
||||
public static InvalidOperationException NoMatch ()
|
||||
{
|
||||
return new InvalidOperationException (Strings.NoMatch);
|
||||
}
|
||||
|
||||
public static InvalidOperationException MoreThanOneElement ()
|
||||
{
|
||||
return new InvalidOperationException (Strings.MoreThanOneElement);
|
||||
}
|
||||
|
||||
public static InvalidOperationException MoreThanOneMatch ()
|
||||
{
|
||||
return new InvalidOperationException (Strings.MoreThanOneMatch);
|
||||
}
|
||||
|
||||
public static ArgumentException ArgumentNotIEnumerableGeneric (object message)
|
||||
{
|
||||
return new ArgumentException (String.Format ("{0} is not IEnumerable<>", message));
|
||||
}
|
||||
|
||||
public static InvalidOperationException NoMethodOnTypeMatchingArguments (object p0, object p1)
|
||||
{
|
||||
return new InvalidOperationException (Strings.NoMethodOnTypeMatchingArguments (p0, p1));
|
||||
}
|
||||
|
||||
public static InvalidOperationException NoMethodOnType (object p0, object p1)
|
||||
{
|
||||
return new InvalidOperationException (Strings.NoMethodOnType (p0, p1));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -28,30 +28,6 @@
|
||||
|
||||
partial class SR
|
||||
{
|
||||
public const string MoreThanOneMatch = "MoreThanOneMatch";
|
||||
public const string NoElements = "NoElements";
|
||||
public const string PLINQ_CommonEnumerator_Current_NotStarted = "PLINQ_CommonEnumerator_Current_NotStarted";
|
||||
public const string PLINQ_DisposeRequested = "PLINQ_DisposeRequested";
|
||||
public const string PLINQ_EnumerationPreviouslyFailed = "PLINQ_EnumerationPreviouslyFailed";
|
||||
public const string PLINQ_ExternalCancellationRequested = "PLINQ_ExternalCancellationRequested";
|
||||
public const string ParallelEnumerable_BinaryOpMustUseAsParallel = "ParallelEnumerable_BinaryOpMustUseAsParallel";
|
||||
public const string ParallelEnumerable_WithCancellation_TokenSourceDisposed = "ParallelEnumerable_WithCancellation_TokenSourceDisposed";
|
||||
public const string ParallelEnumerable_WithMergeOptions_InvalidOptions = "ParallelEnumerable_WithMergeOptions_InvalidOptions";
|
||||
public const string ParallelEnumerable_WithQueryExecutionMode_InvalidMode = "ParallelEnumerable_WithQueryExecutionMode_InvalidMode";
|
||||
public const string ParallelPartitionable_IncorretElementCount = "ParallelPartitionable_IncorretElementCount";
|
||||
public const string ParallelPartitionable_NullElement = "ParallelPartitionable_NullElement";
|
||||
public const string ParallelPartitionable_NullReturn = "ParallelPartitionable_NullReturn";
|
||||
public const string ParallelQuery_DuplicateDOP = "ParallelQuery_DuplicateDOP";
|
||||
public const string ParallelQuery_DuplicateExecutionMode = "The WithExecutionMode operator may be used at most once in a query.";
|
||||
public const string ParallelQuery_DuplicateMergeOptions = "ParallelQuery_DuplicateMergeOptions";
|
||||
public const string ParallelQuery_DuplicateTaskScheduler = "ParallelQuery_DuplicateTaskScheduler";
|
||||
public const string ParallelQuery_DuplicateWithCancellation = "ParallelQuery_DuplicateWithCancellation";
|
||||
public const string ParallelQuery_InvalidAsOrderedCall = "AsOrdered may only be called on the result of AsParallel, ParallelEnumerable.Range, or ParallelEnumerable.Repeat.";
|
||||
public const string ParallelQuery_InvalidNonGenericAsOrderedCall = "ParallelQuery_InvalidNonGenericAsOrderedCall";
|
||||
public const string ParallelQuery_PartitionerNotOrderable = "ParallelQuery_PartitionerNotOrderable";
|
||||
public const string PartitionerQueryOperator_NullPartition = "PartitionerQueryOperator_NullPartition";
|
||||
public const string PartitionerQueryOperator_NullPartitionList = "PartitionerQueryOperator_NullPartitionList";
|
||||
public const string PartitionerQueryOperator_WrongNumberOfPartitions = "PartitionerQueryOperator_WrongNumberOfPartitions";
|
||||
public const string Cryptography_HashAlgorithmNameNullOrEmpty = "Cryptography_HashAlgorithmNameNullOrEmpty";
|
||||
public const string NotSupported_SubclassOverride = "NotSupported_SubclassOverride";
|
||||
}
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace System.Linq
|
||||
{
|
||||
static class Strings
|
||||
{
|
||||
public static string EmptyEnumerable
|
||||
{
|
||||
get { return "EmptyEnumerable"; }
|
||||
}
|
||||
|
||||
public static string NoElements
|
||||
{
|
||||
get { return Locale.GetText ("Sequence contains no elements"); }
|
||||
}
|
||||
|
||||
public static string NoMatch
|
||||
{
|
||||
get { return Locale.GetText ("Sequence contains no matching element"); }
|
||||
}
|
||||
|
||||
public static string MoreThanOneElement
|
||||
{
|
||||
get { return Locale.GetText ("Sequence contains more than one element"); }
|
||||
}
|
||||
|
||||
public static string MoreThanOneMatch
|
||||
{
|
||||
get { return Locale.GetText ("Sequence contains more than one matching element"); }
|
||||
}
|
||||
|
||||
public static string NoMethodOnTypeMatchingArguments (object p0, object p1)
|
||||
{
|
||||
return String.Format (Locale.GetText ("No method '{0}' on type '{1}' is compatible with the supplied arguments"), p0, p1);
|
||||
}
|
||||
|
||||
public static string NoMethodOnType (object p0, object p1)
|
||||
{
|
||||
return String.Format (Locale.GetText ("No method '{0}' on type '{1}'"), p0, p1);;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user