Merge pull request #4248 from Unity-Technologies/boehm-gc-alloc-fixed
[mono.git] / mcs / class / System.Core / corefx / SR.cs
1 //
2 // This file was generated by resx2sr tool
3 //
4
5 partial class SR
6 {
7         public const string ReducibleMustOverrideReduce = "reducible nodes must override Expression.Reduce()";
8         public const string MustReduceToDifferent = "node cannot reduce to itself or null";
9         public const string ReducedNotCompatible = "cannot assign from the reduced node type to the original node type";
10         public const string SetterHasNoParams = "Setter must have parameters.";
11         public const string PropertyCannotHaveRefType = "Property cannot have a managed pointer type.";
12         public const string IndexesOfSetGetMustMatch = "Indexing parameters of getter and setter must match.";
13         public const string AccessorsCannotHaveVarArgs = "Accessor method should not have VarArgs.";
14         public const string AccessorsCannotHaveByRefArgs = "Accessor indexes cannot be passed ByRef.";
15         public const string BoundsCannotBeLessThanOne = "Bounds count cannot be less than 1";
16         public const string TypeMustNotBeByRef = "Type must not be ByRef";
17         public const string TypeMustNotBePointer = "Type must not be a pointer type";
18         public const string TypeDoesNotHaveConstructorForTheSignature = "Type doesn't have constructor with a given signature";
19         public const string SetterMustBeVoid = "Setter should have void type.";
20         public const string PropertyTypeMustMatchGetter = "Property type must match the value type of getter";
21         public const string PropertyTypeMustMatchSetter = "Property type must match the value type of setter";
22         public const string BothAccessorsMustBeStatic = "Both accessors must be static.";
23         public const string OnlyStaticFieldsHaveNullInstance = "Static field requires null instance, non-static field requires non-null instance.";
24         public const string OnlyStaticPropertiesHaveNullInstance = "Static property requires null instance, non-static property requires non-null instance.";
25         public const string OnlyStaticMethodsHaveNullInstance = "Static method requires null instance, non-static method requires non-null instance.";
26         public const string PropertyTypeCannotBeVoid = "Property cannot have a void type.";
27         public const string InvalidUnboxType = "Can only unbox from an object or interface type to a value type.";
28         public const string ExpressionMustBeWriteable = "Expression must be writeable";
29         public const string ArgumentMustNotHaveValueType = "Argument must not have a value type.";
30         public const string MustBeReducible = "must be reducible node";
31         public const string AllTestValuesMustHaveSameType = "All test values must have the same type.";
32         public const string AllCaseBodiesMustHaveSameType = "All case bodies and the default body must have the same type.";
33         public const string DefaultBodyMustBeSupplied = "Default body must be supplied if case bodies are not System.Void.";
34         public const string LabelMustBeVoidOrHaveExpression = "Label type must be System.Void if an expression is not supplied";
35         public const string LabelTypeMustBeVoid = "Type must be System.Void for this label argument";
36         public const string QuotedExpressionMustBeLambda = "Quoted expression must be a lambda";
37         public const string VariableMustNotBeByRef = "Variable '{0}' uses unsupported type '{1}'. Reference types are not supported for variables.";
38         public const string DuplicateVariable = "Found duplicate parameter '{0}'. Each ParameterExpression in the list must be a unique object.";
39         public const string StartEndMustBeOrdered = "Start and End must be well ordered";
40         public const string FaultCannotHaveCatchOrFinally = "fault cannot be used with catch or finally clauses";
41         public const string TryMustHaveCatchFinallyOrFault = "try must have at least one catch, finally, or fault clause";
42         public const string BodyOfCatchMustHaveSameTypeAsBodyOfTry = "Body of catch must have the same type as body of try.";
43         public const string ExtensionNodeMustOverrideProperty = "Extension node must override the property {0}.";
44         public const string UserDefinedOperatorMustBeStatic = "User-defined operator method '{0}' must be static.";
45         public const string UserDefinedOperatorMustNotBeVoid = "User-defined operator method '{0}' must not be void.";
46         public const string CoercionOperatorNotDefined = "No coercion operator is defined between types '{0}' and '{1}'.";
47         public const string UnaryOperatorNotDefined = "The unary operator {0} is not defined for the type '{1}'.";
48         public const string BinaryOperatorNotDefined = "The binary operator {0} is not defined for the types '{1}' and '{2}'.";
49         public const string ReferenceEqualityNotDefined = "Reference equality is not defined for the types '{0}' and '{1}'.";
50         public const string OperandTypesDoNotMatchParameters = "The operands for operator '{0}' do not match the parameters of method '{1}'.";
51         public const string OverloadOperatorTypeDoesNotMatchConversionType = "The return type of overload method for operator '{0}' does not match the parameter type of conversion method '{1}'.";
52         public const string ConversionIsNotSupportedForArithmeticTypes = "Conversion is not supported for arithmetic types without operator overloading.";
53         public const string ArgumentMustBeArray = "Argument must be array";
54         public const string ArgumentMustBeBoolean = "Argument must be boolean";
55         public const string EqualityMustReturnBoolean = "The user-defined equality method '{0}' must return a boolean value.";
56         public const string ArgumentMustBeFieldInfoOrPropertyInfo = "Argument must be either a FieldInfo or PropertyInfo";
57         public const string ArgumentMustBeFieldInfoOrPropertyInfoOrMethod = "Argument must be either a FieldInfo, PropertyInfo or MethodInfo";
58         public const string ArgumentMustBeInstanceMember = "Argument must be an instance member";
59         public const string ArgumentMustBeInteger = "Argument must be of an integer type";
60         public const string ArgumentMustBeArrayIndexType = "Argument for array index must be of type Int32";
61         public const string ArgumentMustBeSingleDimensionalArrayType = "Argument must be single-dimensional, zero-based array type";
62         public const string ArgumentTypesMustMatch = "Argument types do not match";
63         public const string CannotAutoInitializeValueTypeElementThroughProperty = "Cannot auto initialize elements of value type through property '{0}', use assignment instead";
64         public const string CannotAutoInitializeValueTypeMemberThroughProperty = "Cannot auto initialize members of value type through property '{0}', use assignment instead";
65         public const string IncorrectTypeForTypeAs = "The type used in TypeAs Expression must be of reference or nullable type, {0} is neither";
66         public const string CoalesceUsedOnNonNullType = "Coalesce used with type that cannot be null";
67         public const string ExpressionTypeCannotInitializeArrayType = "An expression of type '{0}' cannot be used to initialize an array of type '{1}'";
68         public const string ArgumentTypeDoesNotMatchMember = " Argument type '{0}' does not match the corresponding member type '{1}'";
69         public const string ArgumentMemberNotDeclOnType = " The member '{0}' is not declared on type '{1}' being created";
70         public const string ExpressionTypeDoesNotMatchReturn = "Expression of type '{0}' cannot be used for return type '{1}'";
71         public const string ExpressionTypeDoesNotMatchAssignment = "Expression of type '{0}' cannot be used for assignment to type '{1}'";
72         public const string ExpressionTypeDoesNotMatchLabel = "Expression of type '{0}' cannot be used for label of type '{1}'";
73         public const string ExpressionTypeNotInvocable = "Expression of type '{0}' cannot be invoked";
74         public const string FieldNotDefinedForType = "Field '{0}' is not defined for type '{1}'";
75         public const string InstanceFieldNotDefinedForType = "Instance field '{0}' is not defined for type '{1}'";
76         public const string FieldInfoNotDefinedForType = "Field '{0}.{1}' is not defined for type '{2}'";
77         public const string IncorrectNumberOfIndexes = "Incorrect number of indexes";
78         public const string IncorrectNumberOfLambdaDeclarationParameters = "Incorrect number of parameters supplied for lambda declaration";
79         public const string IncorrectNumberOfMembersForGivenConstructor = " Incorrect number of members for constructor";
80         public const string IncorrectNumberOfArgumentsForMembers = "Incorrect number of arguments for the given members ";
81         public const string LambdaTypeMustBeDerivedFromSystemDelegate = "Lambda type parameter must be derived from System.MulticastDelegate";
82         public const string MemberNotFieldOrProperty = "Member '{0}' not field or property";
83         public const string MethodContainsGenericParameters = "Method {0} contains generic parameters";
84         public const string MethodIsGeneric = "Method {0} is a generic method definition";
85         public const string MethodNotPropertyAccessor = "The method '{0}.{1}' is not a property accessor";
86         public const string PropertyDoesNotHaveGetter = "The property '{0}' has no 'get' accessor";
87         public const string PropertyDoesNotHaveSetter = "The property '{0}' has no 'set' accessor";
88         public const string PropertyDoesNotHaveAccessor = "The property '{0}' has no 'get' or 'set' accessors";
89         public const string NotAMemberOfType = "'{0}' is not a member of type '{1}'";
90         public const string NotAMemberOfAnyType = "'{0}' is not a member of any type";
91         public const string ExpressionNotSupportedForType = "The expression '{0}' is not supported for type '{1}'";
92         public const string UnsupportedExpressionType = "The expression type '{0}' is not supported";
93         public const string ParameterExpressionNotValidAsDelegate = "ParameterExpression of type '{0}' cannot be used for delegate parameter of type '{1}'";
94         public const string PropertyNotDefinedForType = "Property '{0}' is not defined for type '{1}'";
95         public const string InstancePropertyNotDefinedForType = "Instance property '{0}' is not defined for type '{1}'";
96         public const string InstancePropertyWithoutParameterNotDefinedForType = "Instance property '{0}' that takes no argument is not defined for type '{1}'";
97         public const string InstancePropertyWithSpecifiedParametersNotDefinedForType = "Instance property '{0}{1}' is not defined for type '{2}'";
98         public const string InstanceAndMethodTypeMismatch = "Method '{0}' declared on type '{1}' cannot be called with instance of type '{2}'";
99         public const string TypeContainsGenericParameters = "Type {0} contains generic parameters";
100         public const string TypeIsGeneric = "Type {0} is a generic type definition";
101         public const string TypeMissingDefaultConstructor = "Type '{0}' does not have a default constructor";
102         public const string ElementInitializerMethodNotAdd = "Element initializer method must be named 'Add'";
103         public const string ElementInitializerMethodNoRefOutParam = "Parameter '{0}' of element initializer method '{1}' must not be a pass by reference parameter";
104         public const string ElementInitializerMethodWithZeroArgs = "Element initializer method must have at least 1 parameter";
105         public const string ElementInitializerMethodStatic = "Element initializer method must be an instance method";
106         public const string TypeNotIEnumerable = "Type '{0}' is not IEnumerable";
107         public const string UnexpectedCoalesceOperator = "Unexpected coalesce operator.";
108         public const string InvalidCast = "Cannot cast from type '{0}' to type '{1}";
109         public const string UnhandledBinary = "Unhandled binary: {0}";
110         public const string UnhandledBinding = "Unhandled binding ";
111         public const string UnhandledBindingType = "Unhandled Binding Type: {0}";
112         public const string UnhandledConvert = "Unhandled convert: {0}";
113         public const string UnhandledUnary = "Unhandled unary: {0}";
114         public const string UnknownBindingType = "Unknown binding type";
115         public const string UserDefinedOpMustHaveConsistentTypes = "The user-defined operator method '{1}' for operator '{0}' must have identical parameter and return types.";
116         public const string UserDefinedOpMustHaveValidReturnType = "The user-defined operator method '{1}' for operator '{0}' must return the same type as its parameter or a derived type.";
117         public const string LogicalOperatorMustHaveBooleanOperators = "The user-defined operator method '{1}' for operator '{0}' must have associated boolean True and False operators.";
118         public const string MethodWithArgsDoesNotExistOnType = "No method '{0}' on type '{1}' is compatible with the supplied arguments.";
119         public const string GenericMethodWithArgsDoesNotExistOnType = "No generic method '{0}' on type '{1}' is compatible with the supplied type arguments and arguments. No type arguments should be provided if the method is non-generic. ";
120         public const string MethodWithMoreThanOneMatch = "More than one method '{0}' on type '{1}' is compatible with the supplied arguments.";
121         public const string PropertyWithMoreThanOneMatch = "More than one property '{0}' on type '{1}' is compatible with the supplied arguments.";
122         public const string IncorrectNumberOfTypeArgsForFunc = "An incorrect number of type arguments were specified for the declaration of a Func type.";
123         public const string IncorrectNumberOfTypeArgsForAction = "An incorrect number of type arguments were specified for the declaration of an Action type.";
124         public const string ArgumentCannotBeOfTypeVoid = "Argument type cannot be System.Void.";
125         public const string OutOfRange = "{0} must be greater than or equal to {1}";
126         public const string LabelTargetAlreadyDefined = "Cannot redefine label '{0}' in an inner block.";
127         public const string LabelTargetUndefined = "Cannot jump to undefined label '{0}'.";
128         public const string ControlCannotLeaveFinally = "Control cannot leave a finally block.";
129         public const string ControlCannotLeaveFilterTest = "Control cannot leave a filter test.";
130         public const string AmbiguousJump = "Cannot jump to ambiguous label '{0}'.";
131         public const string ControlCannotEnterTry = "Control cannot enter a try block.";
132         public const string ControlCannotEnterExpression = "Control cannot enter an expression--only statements can be jumped into.";
133         public const string NonLocalJumpWithValue = "Cannot jump to non-local label '{0}' with a value. Only jumps to labels defined in outer blocks can pass values.";
134         public const string ExtensionNotReduced = "Extension should have been reduced.";
135         public const string CannotCompileConstant = "CompileToMethod cannot compile constant '{0}' because it is a non-trivial value, such as a live object. Instead, create an expression tree that can construct this value.";
136         public const string CannotCompileDynamic = "Dynamic expressions are not supported by CompileToMethod. Instead, create an expression tree that uses System.Runtime.CompilerServices.CallSite.";
137         public const string InvalidLvalue = "Invalid lvalue for assignment: {0}.";
138         public const string UnknownLiftType = "unknown lift type: '{0}'.";
139         public const string UndefinedVariable = "variable '{0}' of type '{1}' referenced from scope '{2}', but it is not defined";
140         public const string CannotCloseOverByRef = "Cannot close over byref parameter '{0}' referenced in lambda '{1}'";
141         public const string UnexpectedVarArgsCall = "Unexpected VarArgs call to method '{0}'";
142         public const string RethrowRequiresCatch = "Rethrow statement is valid only inside a Catch block.";
143         public const string TryNotAllowedInFilter = "Try expression is not allowed inside a filter body.";
144         public const string MustRewriteToSameNode = "When called from '{0}', rewriting a node of type '{1}' must return a non-null value of the same type. Alternatively, override '{2}' and change it to not visit children of this type.";
145         public const string MustRewriteChildToSameType = "Rewriting child expression from type '{0}' to type '{1}' is not allowed, because it would change the meaning of the operation. If this is intentional, override '{2}' and change it to allow this rewrite.";
146         public const string MustRewriteWithoutMethod = "Rewritten expression calls operator method '{0}', but the original node had no operator method. If this is intentional, override '{1}' and change it to allow this rewrite.";
147         public const string InvalidNullValue = "The value null is not of type '{0}' and cannot be used in this collection.";
148         public const string InvalidObjectType = "The value '{0}' is not of type '{1}' and cannot be used in this collection.";
149         public const string TryNotSupportedForMethodsWithRefArgs = "TryExpression is not supported as an argument to method '{0}' because it has an argument with by-ref type. Construct the tree so the TryExpression is not nested inside of this expression.";
150         public const string TryNotSupportedForValueTypeInstances = "TryExpression is not supported as a child expression when accessing a member on type '{0}' because it is a value type. Construct the tree so the TryExpression is not nested inside of this expression.";
151         public const string EnumerationIsDone = "Enumeration has either not started or has already finished.";
152         public const string TestValueTypeDoesNotMatchComparisonMethodParameter = "Test value of type '{0}' cannot be used for the comparison method parameter of type '{1}'";
153         public const string SwitchValueTypeDoesNotMatchComparisonMethodParameter = "Switch value of type '{0}' cannot be used for the comparison method parameter of type '{1}'";
154         public const string PdbGeneratorNeedsExpressionCompiler = "DebugInfoGenerator created by CreatePdbGenerator can only be used with LambdaExpression.CompileToMethod.";
155         public const string InvalidArgumentValue = "Invalid argument value";
156         public const string NonEmptyCollectionRequired = "Non-empty collection required";
157         public const string CollectionModifiedWhileEnumerating = "Collection was modified; enumeration operation may not execute.";
158         public const string ExpressionMustBeReadable = "Expression must be readable";
159         public const string ExpressionTypeDoesNotMatchMethodParameter = "Expression of type '{0}' cannot be used for parameter of type '{1}' of method '{2}'";
160         public const string ExpressionTypeDoesNotMatchParameter = "Expression of type '{0}' cannot be used for parameter of type '{1}'";
161         public const string ExpressionTypeDoesNotMatchConstructorParameter = "Expression of type '{0}' cannot be used for constructor parameter of type '{1}'";
162         public const string IncorrectNumberOfMethodCallArguments = "Incorrect number of arguments supplied for call to method '{0}'";
163         public const string IncorrectNumberOfLambdaArguments = "Incorrect number of arguments supplied for lambda invocation";
164         public const string IncorrectNumberOfConstructorArguments = "Incorrect number of arguments for constructor";
165         public const string OperatorNotImplementedForType = "The operator '{0}' is not implemented for type '{1}'";
166         public const string NonStaticConstructorRequired = "The constructor should not be static";
167         public const string NonAbstractConstructorRequired = "Can't compile a NewExpression with a constructor declared on an abstract class";
168         public const string FirstArgumentMustBeCallSite = "First argument of delegate must be CallSite";
169         public const string NoOrInvalidRuleProduced = "No or Invalid rule produced";
170         public const string TypeMustBeDerivedFromSystemDelegate = "Type must be derived from System.Delegate";
171         public const string TypeParameterIsNotDelegate = "Type parameter is {0}. Expected a delegate.";
172         public const string ArgumentTypeCannotBeVoid = "Argument type cannot be void";
173         public const string ArgCntMustBeGreaterThanNameCnt = "Argument count must be greater than number of named arguments.";
174         public const string BinderNotCompatibleWithCallSite = "The result type '{0}' of the binder '{1}' is not compatible with the result type '{2}' expected by the call site.";
175         public const string BindingCannotBeNull = "Bind cannot return null.";
176         public const string DynamicBinderResultNotAssignable = "The result type '{0}' of the dynamic binding produced by binder '{1}' is not compatible with the result type '{2}' expected by the call site.";
177         public const string DynamicBindingNeedsRestrictions = "The result of the dynamic binding produced by the object with type '{0}' for the binder '{1}' needs at least one restriction.";
178         public const string DynamicObjectResultNotAssignable = "The result type '{0}' of the dynamic binding produced by the object with type '{1}' for the binder '{2}' is not compatible with the result type '{3}' expected by the call site.";
179         public const string InvalidMetaObjectCreated = "An IDynamicMetaObjectProvider {0} created an invalid DynamicMetaObject instance.";
180         public const string AmbiguousMatchInExpandoObject = "More than one key matching '{0}' was found in the ExpandoObject.";
181         public const string CollectionReadOnly = "Collection is read-only.";
182         public const string KeyDoesNotExistInExpando = "The specified key '{0}' does not exist in the ExpandoObject.";
183         public const string SameKeyExistsInExpando = "An element with the same key '{0}' already exists in the ExpandoObject.";
184         public const string EmptyEnumerable = "Enumeration yielded no results";
185         public const string MoreThanOneElement = "Sequence contains more than one element";
186         public const string MoreThanOneMatch = "Sequence contains more than one matching element";
187         public const string NoElements = "Sequence contains no elements";
188         public const string NoMatch = "Sequence contains no matching element";
189         public const string ParallelPartitionable_NullReturn = "The return value must not be null.";
190         public const string ParallelPartitionable_IncorretElementCount = "The returned array's length must equal the number of partitions requested.";
191         public const string ParallelPartitionable_NullElement = "Elements returned must not be null.";
192         public const string PLINQ_CommonEnumerator_Current_NotStarted = "Enumeration has not started. MoveNext must be called to initiate enumeration.";
193         public const string PLINQ_ExternalCancellationRequested = "The query has been canceled via the token supplied to WithCancellation.";
194         public const string PLINQ_DisposeRequested = "The query enumerator has been disposed.";
195         public const string ParallelQuery_DuplicateTaskScheduler = "The WithTaskScheduler operator may be used at most once in a query.";
196         public const string ParallelQuery_DuplicateDOP = "The WithDegreeOfParallelism operator may be used at most once in a query.";
197         public const string ParallelQuery_DuplicateExecutionMode = "The WithExecutionMode operator may be used at most once in a query.";
198         public const string PartitionerQueryOperator_NullPartitionList = "Partitioner returned null instead of a list of partitions.";
199         public const string PartitionerQueryOperator_WrongNumberOfPartitions = "Partitioner returned a wrong number of partitions.";
200         public const string PartitionerQueryOperator_NullPartition = "Partitioner returned a null partition.";
201         public const string ParallelQuery_DuplicateWithCancellation = "The WithCancellation operator may by used at most once in a query.";
202         public const string ParallelQuery_DuplicateMergeOptions = "The WithMergeOptions operator may be used at most once in a query.";
203         public const string PLINQ_EnumerationPreviouslyFailed = "The query enumerator previously threw an exception.";
204         public const string ParallelQuery_PartitionerNotOrderable = "AsOrdered may not be used with a partitioner that is not orderable.";
205         public const string ParallelQuery_InvalidAsOrderedCall = "AsOrdered may only be called on the result of AsParallel, ParallelEnumerable.Range, or ParallelEnumerable.Repeat.";
206         public const string ParallelQuery_InvalidNonGenericAsOrderedCall = "Non-generic AsOrdered may only be called on the result of the non-generic AsParallel.";
207         public const string ParallelEnumerable_BinaryOpMustUseAsParallel = "The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.";
208         public const string ParallelEnumerable_WithQueryExecutionMode_InvalidMode = "The executionMode argument contains an invalid value.";
209         public const string ParallelEnumerable_WithMergeOptions_InvalidOptions = "The mergeOptions argument contains an invalid value.";
210         public const string ArgumentNotIEnumerableGeneric = "{0} is not IEnumerable<>";
211         public const string ArgumentNotValid = "Argument {0} is not valid";
212         public const string NoMethodOnType = "There is no method '{0}' on type '{1}'";
213         public const string NoMethodOnTypeMatchingArguments = "There is no method '{0}' on type '{1}' that matches the specified arguments";
214         public const string EnumeratingNullEnumerableExpression = "Cannot enumerate a query created from a null IEnumerable<>";
215 }