// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#if !NET_4_6
namespace System.Linq.Expressions.Reimplement
{
///
/// Strongly-typed and parameterized string resources.
///
internal static class Strings
{
///
/// A string like "reducible nodes must override Expression.Reduce()"
///
internal static string ReducibleMustOverrideReduce
{
get { return SR.ReducibleMustOverrideReduce; }
}
///
/// A string like "node cannot reduce to itself or null"
///
internal static string MustReduceToDifferent
{
get { return SR.MustReduceToDifferent; }
}
///
/// A string like "cannot assign from the reduced node type to the original node type"
///
internal static string ReducedNotCompatible
{
get { return SR.ReducedNotCompatible; }
}
///
/// A string like "Setter must have parameters."
///
internal static string SetterHasNoParams
{
get { return SR.SetterHasNoParams; }
}
///
/// A string like "Property cannot have a managed pointer type."
///
internal static string PropertyCannotHaveRefType
{
get { return SR.PropertyCannotHaveRefType; }
}
///
/// A string like "Indexing parameters of getter and setter must match."
///
internal static string IndexesOfSetGetMustMatch
{
get { return SR.IndexesOfSetGetMustMatch; }
}
///
/// A string like "Accessor method should not have VarArgs."
///
internal static string AccessorsCannotHaveVarArgs
{
get { return SR.AccessorsCannotHaveVarArgs; }
}
///
/// A string like "Accessor indexes cannot be passed ByRef."
///
internal static string AccessorsCannotHaveByRefArgs
{
get { return SR.AccessorsCannotHaveByRefArgs; }
}
///
/// A string like "Bounds count cannot be less than 1"
///
internal static string BoundsCannotBeLessThanOne
{
get { return SR.BoundsCannotBeLessThanOne; }
}
///
/// A string like "type must not be ByRef"
///
internal static string TypeMustNotBeByRef
{
get { return SR.TypeMustNotBeByRef; }
}
///
/// A string like "Type doesn't have constructor with a given signature"
///
internal static string TypeDoesNotHaveConstructorForTheSignature
{
get { return SR.TypeDoesNotHaveConstructorForTheSignature; }
}
///
/// A string like "Count must be non-negative."
///
internal static string CountCannotBeNegative
{
get { return SR.CountCannotBeNegative; }
}
///
/// A string like "arrayType must be an array type"
///
internal static string ArrayTypeMustBeArray
{
get { return SR.ArrayTypeMustBeArray; }
}
///
/// A string like "Setter should have void type."
///
internal static string SetterMustBeVoid
{
get { return SR.SetterMustBeVoid; }
}
///
/// A string like "Property type must match the value type of setter"
///
internal static string PropertyTyepMustMatchSetter
{
get { return SR.PropertyTyepMustMatchSetter; }
}
///
/// A string like "Both accessors must be static."
///
internal static string BothAccessorsMustBeStatic
{
get { return SR.BothAccessorsMustBeStatic; }
}
///
/// A string like "Static field requires null instance, non-static field requires non-null instance."
///
internal static string OnlyStaticFieldsHaveNullInstance
{
get { return SR.OnlyStaticFieldsHaveNullInstance; }
}
///
/// A string like "Static property requires null instance, non-static property requires non-null instance."
///
internal static string OnlyStaticPropertiesHaveNullInstance
{
get { return SR.OnlyStaticPropertiesHaveNullInstance; }
}
///
/// A string like "Static method requires null instance, non-static method requires non-null instance."
///
internal static string OnlyStaticMethodsHaveNullInstance
{
get { return SR.OnlyStaticMethodsHaveNullInstance; }
}
///
/// A string like "Property cannot have a void type."
///
internal static string PropertyTypeCannotBeVoid
{
get { return SR.PropertyTypeCannotBeVoid; }
}
///
/// A string like "Can only unbox from an object or interface type to a value type."
///
internal static string InvalidUnboxType
{
get { return SR.InvalidUnboxType; }
}
///
/// A string like "Expression must be writeable"
///
internal static string ExpressionMustBeWriteable
{
get { return SR.ExpressionMustBeWriteable; }
}
///
/// A string like "Argument must not have a value type."
///
internal static string ArgumentMustNotHaveValueType
{
get { return SR.ArgumentMustNotHaveValueType; }
}
///
/// A string like "must be reducible node"
///
internal static string MustBeReducible
{
get { return SR.MustBeReducible; }
}
///
/// A string like "All test values must have the same type."
///
internal static string AllTestValuesMustHaveSameType
{
get { return SR.AllTestValuesMustHaveSameType; }
}
///
/// A string like "All case bodies and the default body must have the same type."
///
internal static string AllCaseBodiesMustHaveSameType
{
get { return SR.AllCaseBodiesMustHaveSameType; }
}
///
/// A string like "Default body must be supplied if case bodies are not System.Void."
///
internal static string DefaultBodyMustBeSupplied
{
get { return SR.DefaultBodyMustBeSupplied; }
}
///
/// A string like "MethodBuilder does not have a valid TypeBuilder"
///
internal static string MethodBuilderDoesNotHaveTypeBuilder
{
get { return SR.MethodBuilderDoesNotHaveTypeBuilder; }
}
///
/// A string like "Label type must be System.Void if an expression is not supplied"
///
internal static string LabelMustBeVoidOrHaveExpression
{
get { return SR.LabelMustBeVoidOrHaveExpression; }
}
///
/// A string like "Type must be System.Void for this label argument"
///
internal static string LabelTypeMustBeVoid
{
get { return SR.LabelTypeMustBeVoid; }
}
///
/// A string like "Quoted expression must be a lambda"
///
internal static string QuotedExpressionMustBeLambda
{
get { return SR.QuotedExpressionMustBeLambda; }
}
///
/// A string like "Variable '{0}' uses unsupported type '{1}'. Reference types are not supported for variables."
///
internal static string VariableMustNotBeByRef(object p0, object p1)
{
return SR.Format(SR.VariableMustNotBeByRef, p0, p1);
}
///
/// A string like "Found duplicate parameter '{0}'. Each ParameterExpression in the list must be a unique object."
///
internal static string DuplicateVariable(object p0)
{
return SR.Format(SR.DuplicateVariable, p0);
}
///
/// A string like "Start and End must be well ordered"
///
internal static string StartEndMustBeOrdered
{
get { return SR.StartEndMustBeOrdered; }
}
///
/// A string like "fault cannot be used with catch or finally clauses"
///
internal static string FaultCannotHaveCatchOrFinally
{
get { return SR.FaultCannotHaveCatchOrFinally; }
}
///
/// A string like "try must have at least one catch, finally, or fault clause"
///
internal static string TryMustHaveCatchFinallyOrFault
{
get { return SR.TryMustHaveCatchFinallyOrFault; }
}
///
/// A string like "Body of catch must have the same type as body of try."
///
internal static string BodyOfCatchMustHaveSameTypeAsBodyOfTry
{
get { return SR.BodyOfCatchMustHaveSameTypeAsBodyOfTry; }
}
///
/// A string like "Extension node must override the property {0}."
///
internal static string ExtensionNodeMustOverrideProperty(object p0)
{
return SR.Format(SR.ExtensionNodeMustOverrideProperty, p0);
}
///
/// A string like "User-defined operator method '{0}' must be static."
///
internal static string UserDefinedOperatorMustBeStatic(object p0)
{
return SR.Format(SR.UserDefinedOperatorMustBeStatic, p0);
}
///
/// A string like "User-defined operator method '{0}' must not be void."
///
internal static string UserDefinedOperatorMustNotBeVoid(object p0)
{
return SR.Format(SR.UserDefinedOperatorMustNotBeVoid, p0);
}
///
/// A string like "No coercion operator is defined between types '{0}' and '{1}'."
///
internal static string CoercionOperatorNotDefined(object p0, object p1)
{
return SR.Format(SR.CoercionOperatorNotDefined, p0, p1);
}
///
/// A string like "The unary operator {0} is not defined for the type '{1}'."
///
internal static string UnaryOperatorNotDefined(object p0, object p1)
{
return SR.Format(SR.UnaryOperatorNotDefined, p0, p1);
}
///
/// A string like "The binary operator {0} is not defined for the types '{1}' and '{2}'."
///
internal static string BinaryOperatorNotDefined(object p0, object p1, object p2)
{
return SR.Format(SR.BinaryOperatorNotDefined, p0, p1, p2);
}
///
/// A string like "Reference equality is not defined for the types '{0}' and '{1}'."
///
internal static string ReferenceEqualityNotDefined(object p0, object p1)
{
return SR.Format(SR.ReferenceEqualityNotDefined, p0, p1);
}
///
/// A string like "The operands for operator '{0}' do not match the parameters of method '{1}'."
///
internal static string OperandTypesDoNotMatchParameters(object p0, object p1)
{
return SR.Format(SR.OperandTypesDoNotMatchParameters, p0, p1);
}
///
/// A string like "The return type of overload method for operator '{0}' does not match the parameter type of conversion method '{1}'."
///
internal static string OverloadOperatorTypeDoesNotMatchConversionType(object p0, object p1)
{
return SR.Format(SR.OverloadOperatorTypeDoesNotMatchConversionType, p0, p1);
}
///
/// A string like "Conversion is not supported for arithmetic types without operator overloading."
///
internal static string ConversionIsNotSupportedForArithmeticTypes
{
get { return SR.ConversionIsNotSupportedForArithmeticTypes; }
}
///
/// A string like "Argument must be array"
///
internal static string ArgumentMustBeArray
{
get { return SR.ArgumentMustBeArray; }
}
///
/// A string like "Argument must be boolean"
///
internal static string ArgumentMustBeBoolean
{
get { return SR.ArgumentMustBeBoolean; }
}
///
/// A string like "The user-defined equality method '{0}' must return a boolean value."
///
internal static string EqualityMustReturnBoolean(object p0)
{
return SR.Format(SR.EqualityMustReturnBoolean, p0);
}
///
/// A string like "Argument must be either a FieldInfo or PropertyInfo"
///
internal static string ArgumentMustBeFieldInfoOrPropertInfo
{
get { return SR.ArgumentMustBeFieldInfoOrPropertInfo; }
}
///
/// A string like "Argument must be either a FieldInfo, PropertyInfo or MethodInfo"
///
internal static string ArgumentMustBeFieldInfoOrPropertInfoOrMethod
{
get { return SR.ArgumentMustBeFieldInfoOrPropertInfoOrMethod; }
}
///
/// A string like "Argument must be an instance member"
///
internal static string ArgumentMustBeInstanceMember
{
get { return SR.ArgumentMustBeInstanceMember; }
}
///
/// A string like "Argument must be of an integer type"
///
internal static string ArgumentMustBeInteger
{
get { return SR.ArgumentMustBeInteger; }
}
///
/// A string like "Argument for array index must be of type Int32"
///
internal static string ArgumentMustBeArrayIndexType
{
get { return SR.ArgumentMustBeArrayIndexType; }
}
///
/// A string like "Argument must be single dimensional array type"
///
internal static string ArgumentMustBeSingleDimensionalArrayType
{
get { return SR.ArgumentMustBeSingleDimensionalArrayType; }
}
///
/// A string like "Argument types do not match"
///
internal static string ArgumentTypesMustMatch
{
get { return SR.ArgumentTypesMustMatch; }
}
///
/// A string like "Cannot auto initialize elements of value type through property '{0}', use assignment instead"
///
internal static string CannotAutoInitializeValueTypeElementThroughProperty(object p0)
{
return SR.Format(SR.CannotAutoInitializeValueTypeElementThroughProperty, p0);
}
///
/// A string like "Cannot auto initialize members of value type through property '{0}', use assignment instead"
///
internal static string CannotAutoInitializeValueTypeMemberThroughProperty(object p0)
{
return SR.Format(SR.CannotAutoInitializeValueTypeMemberThroughProperty, p0);
}
///
/// A string like "The type used in TypeAs Expression must be of reference or nullable type, {0} is neither"
///
internal static string IncorrectTypeForTypeAs(object p0)
{
return SR.Format(SR.IncorrectTypeForTypeAs, p0);
}
///
/// A string like "Coalesce used with type that cannot be null"
///
internal static string CoalesceUsedOnNonNullType
{
get { return SR.CoalesceUsedOnNonNullType; }
}
///
/// A string like "An expression of type '{0}' cannot be used to initialize an array of type '{1}'"
///
internal static string ExpressionTypeCannotInitializeArrayType(object p0, object p1)
{
return SR.Format(SR.ExpressionTypeCannotInitializeArrayType, p0, p1);
}
///
/// A string like " Argument type '{0}' does not match the corresponding member type '{1}'"
///
internal static string ArgumentTypeDoesNotMatchMember(object p0, object p1)
{
return SR.Format(SR.ArgumentTypeDoesNotMatchMember, p0, p1);
}
///
/// A string like " The member '{0}' is not declared on type '{1}' being created"
///
internal static string ArgumentMemberNotDeclOnType(object p0, object p1)
{
return SR.Format(SR.ArgumentMemberNotDeclOnType, p0, p1);
}
///
/// A string like "Expression of type '{0}' cannot be used for return type '{1}'"
///
internal static string ExpressionTypeDoesNotMatchReturn(object p0, object p1)
{
return SR.Format(SR.ExpressionTypeDoesNotMatchReturn, p0, p1);
}
///
/// A string like "Expression of type '{0}' cannot be used for assignment to type '{1}'"
///
internal static string ExpressionTypeDoesNotMatchAssignment(object p0, object p1)
{
return SR.Format(SR.ExpressionTypeDoesNotMatchAssignment, p0, p1);
}
///
/// A string like "Expression of type '{0}' cannot be used for label of type '{1}'"
///
internal static string ExpressionTypeDoesNotMatchLabel(object p0, object p1)
{
return SR.Format(SR.ExpressionTypeDoesNotMatchLabel, p0, p1);
}
///
/// A string like "Expression of type '{0}' cannot be invoked"
///
internal static string ExpressionTypeNotInvocable(object p0)
{
return SR.Format(SR.ExpressionTypeNotInvocable, p0);
}
///
/// A string like "Field '{0}' is not defined for type '{1}'"
///
internal static string FieldNotDefinedForType(object p0, object p1)
{
return SR.Format(SR.FieldNotDefinedForType, p0, p1);
}
///
/// A string like "Instance field '{0}' is not defined for type '{1}'"
///
internal static string InstanceFieldNotDefinedForType(object p0, object p1)
{
return SR.Format(SR.InstanceFieldNotDefinedForType, p0, p1);
}
///
/// A string like "Field '{0}.{1}' is not defined for type '{2}'"
///
internal static string FieldInfoNotDefinedForType(object p0, object p1, object p2)
{
return SR.Format(SR.FieldInfoNotDefinedForType, p0, p1, p2);
}
///
/// A string like "Incorrect number of indexes"
///
internal static string IncorrectNumberOfIndexes
{
get { return SR.IncorrectNumberOfIndexes; }
}
///
/// A string like "Incorrect number of parameters supplied for lambda declaration"
///
internal static string IncorrectNumberOfLambdaDeclarationParameters
{
get { return SR.IncorrectNumberOfLambdaDeclarationParameters; }
}
///
/// A string like " Incorrect number of members for constructor"
///
internal static string IncorrectNumberOfMembersForGivenConstructor
{
get { return SR.IncorrectNumberOfMembersForGivenConstructor; }
}
///
/// A string like "Incorrect number of arguments for the given members "
///
internal static string IncorrectNumberOfArgumentsForMembers
{
get { return SR.IncorrectNumberOfArgumentsForMembers; }
}
///
/// A string like "Lambda type parameter must be derived from System.Delegate"
///
internal static string LambdaTypeMustBeDerivedFromSystemDelegate
{
get { return SR.LambdaTypeMustBeDerivedFromSystemDelegate; }
}
///
/// A string like "Member '{0}' not field or property"
///
internal static string MemberNotFieldOrProperty(object p0)
{
return SR.Format(SR.MemberNotFieldOrProperty, p0);
}
///
/// A string like "Method {0} contains generic parameters"
///
internal static string MethodContainsGenericParameters(object p0)
{
return SR.Format(SR.MethodContainsGenericParameters, p0);
}
///
/// A string like "Method {0} is a generic method definition"
///
internal static string MethodIsGeneric(object p0)
{
return SR.Format(SR.MethodIsGeneric, p0);
}
///
/// A string like "The method '{0}.{1}' is not a property accessor"
///
internal static string MethodNotPropertyAccessor(object p0, object p1)
{
return SR.Format(SR.MethodNotPropertyAccessor, p0, p1);
}
///
/// A string like "The property '{0}' has no 'get' accessor"
///
internal static string PropertyDoesNotHaveGetter(object p0)
{
return SR.Format(SR.PropertyDoesNotHaveGetter, p0);
}
///
/// A string like "The property '{0}' has no 'set' accessor"
///
internal static string PropertyDoesNotHaveSetter(object p0)
{
return SR.Format(SR.PropertyDoesNotHaveSetter, p0);
}
///
/// A string like "The property '{0}' has no 'get' or 'set' accessors"
///
internal static string PropertyDoesNotHaveAccessor(object p0)
{
return SR.Format(SR.PropertyDoesNotHaveAccessor, p0);
}
///
/// A string like "'{0}' is not a member of type '{1}'"
///
internal static string NotAMemberOfType(object p0, object p1)
{
return SR.Format(SR.NotAMemberOfType, p0, p1);
}
///
/// A string like "The expression '{0}' is not supported for type '{1}'"
///
internal static string ExpressionNotSupportedForType(object p0, object p1)
{
return SR.Format(SR.ExpressionNotSupportedForType, p0, p1);
}
///
/// A string like "The expression '{0}' is not supported for nullable type '{1}'"
///
internal static string ExpressionNotSupportedForNullableType(object p0, object p1)
{
return SR.Format(SR.ExpressionNotSupportedForNullableType, p0, p1);
}
///
/// A string like "ParameterExpression of type '{0}' cannot be used for delegate parameter of type '{1}'"
///
internal static string ParameterExpressionNotValidAsDelegate(object p0, object p1)
{
return SR.Format(SR.ParameterExpressionNotValidAsDelegate, p0, p1);
}
///
/// A string like "Property '{0}' is not defined for type '{1}'"
///
internal static string PropertyNotDefinedForType(object p0, object p1)
{
return SR.Format(SR.PropertyNotDefinedForType, p0, p1);
}
///
/// A string like "Instance property '{0}' is not defined for type '{1}'"
///
internal static string InstancePropertyNotDefinedForType(object p0, object p1)
{
return SR.Format(SR.InstancePropertyNotDefinedForType, p0, p1);
}
///
/// A string like "Instance property '{0}' that takes no argument is not defined for type '{1}'"
///
internal static string InstancePropertyWithoutParameterNotDefinedForType(object p0, object p1)
{
return SR.Format(SR.InstancePropertyWithoutParameterNotDefinedForType, p0, p1);
}
///
/// A string like "Instance property '{0}{1}' is not defined for type '{2}'"
///
internal static string InstancePropertyWithSpecifiedParametersNotDefinedForType(object p0, object p1, object p2)
{
return SR.Format(SR.InstancePropertyWithSpecifiedParametersNotDefinedForType, p0, p1, p2);
}
///
/// A string like "Method '{0}' declared on type '{1}' cannot be called with instance of type '{2}'"
///
internal static string InstanceAndMethodTypeMismatch(object p0, object p1, object p2)
{
return SR.Format(SR.InstanceAndMethodTypeMismatch, p0, p1, p2);
}
///
/// A string like "Type '{0}' does not have a default constructor"
///
internal static string TypeMissingDefaultConstructor(object p0)
{
return SR.Format(SR.TypeMissingDefaultConstructor, p0);
}
///
/// A string like "List initializers must contain at least one initializer"
///
internal static string ListInitializerWithZeroMembers
{
get { return SR.ListInitializerWithZeroMembers; }
}
///
/// A string like "Element initializer method must be named 'Add'"
///
internal static string ElementInitializerMethodNotAdd
{
get { return SR.ElementInitializerMethodNotAdd; }
}
///
/// A string like "Parameter '{0}' of element initializer method '{1}' must not be a pass by reference parameter"
///
internal static string ElementInitializerMethodNoRefOutParam(object p0, object p1)
{
return SR.Format(SR.ElementInitializerMethodNoRefOutParam, p0, p1);
}
///
/// A string like "Element initializer method must have at least 1 parameter"
///
internal static string ElementInitializerMethodWithZeroArgs
{
get { return SR.ElementInitializerMethodWithZeroArgs; }
}
///
/// A string like "Element initializer method must be an instance method"
///
internal static string ElementInitializerMethodStatic
{
get { return SR.ElementInitializerMethodStatic; }
}
///
/// A string like "Type '{0}' is not IEnumerable"
///
internal static string TypeNotIEnumerable(object p0)
{
return SR.Format(SR.TypeNotIEnumerable, p0);
}
///
/// A string like "Unexpected coalesce operator."
///
internal static string UnexpectedCoalesceOperator
{
get { return SR.UnexpectedCoalesceOperator; }
}
///
/// A string like "Cannot cast from type '{0}' to type '{1}"
///
internal static string InvalidCast(object p0, object p1)
{
return SR.Format(SR.InvalidCast, p0, p1);
}
///
/// A string like "Unhandled binary: {0}"
///
internal static string UnhandledBinary(object p0)
{
return SR.Format(SR.UnhandledBinary, p0);
}
///
/// A string like "Unhandled binding "
///
internal static string UnhandledBinding
{
get { return SR.UnhandledBinding; }
}
///
/// A string like "Unhandled Binding Type: {0}"
///
internal static string UnhandledBindingType(object p0)
{
return SR.Format(SR.UnhandledBindingType, p0);
}
///
/// A string like "Unhandled convert: {0}"
///
internal static string UnhandledConvert(object p0)
{
return SR.Format(SR.UnhandledConvert, p0);
}
///
/// A string like "Unhandled Expression Type: {0}"
///
internal static string UnhandledExpressionType(object p0)
{
return SR.Format(SR.UnhandledExpressionType, p0);
}
///
/// A string like "Unhandled unary: {0}"
///
internal static string UnhandledUnary(object p0)
{
return SR.Format(SR.UnhandledUnary, p0);
}
///
/// A string like "Unknown binding type"
///
internal static string UnknownBindingType
{
get { return SR.UnknownBindingType; }
}
///
/// A string like "The user-defined operator method '{1}' for operator '{0}' must have identical parameter and return types."
///
internal static string UserDefinedOpMustHaveConsistentTypes(object p0, object p1)
{
return SR.Format(SR.UserDefinedOpMustHaveConsistentTypes, p0, p1);
}
///
/// A string like "The user-defined operator method '{1}' for operator '{0}' must return the same type as its parameter or a derived type."
///
internal static string UserDefinedOpMustHaveValidReturnType(object p0, object p1)
{
return SR.Format(SR.UserDefinedOpMustHaveValidReturnType, p0, p1);
}
///
/// A string like "The user-defined operator method '{1}' for operator '{0}' must have associated boolean True and False operators."
///
internal static string LogicalOperatorMustHaveBooleanOperators(object p0, object p1)
{
return SR.Format(SR.LogicalOperatorMustHaveBooleanOperators, p0, p1);
}
///
/// A string like "No method '{0}' exists on type '{1}'."
///
internal static string MethodDoesNotExistOnType(object p0, object p1)
{
return SR.Format(SR.MethodDoesNotExistOnType, p0, p1);
}
///
/// A string like "No method '{0}' on type '{1}' is compatible with the supplied arguments."
///
internal static string MethodWithArgsDoesNotExistOnType(object p0, object p1)
{
return SR.Format(SR.MethodWithArgsDoesNotExistOnType, p0, p1);
}
///
/// A string like "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. "
///
internal static string GenericMethodWithArgsDoesNotExistOnType(object p0, object p1)
{
return SR.Format(SR.GenericMethodWithArgsDoesNotExistOnType, p0, p1);
}
///
/// A string like "More than one method '{0}' on type '{1}' is compatible with the supplied arguments."
///
internal static string MethodWithMoreThanOneMatch(object p0, object p1)
{
return SR.Format(SR.MethodWithMoreThanOneMatch, p0, p1);
}
///
/// A string like "More than one property '{0}' on type '{1}' is compatible with the supplied arguments."
///
internal static string PropertyWithMoreThanOneMatch(object p0, object p1)
{
return SR.Format(SR.PropertyWithMoreThanOneMatch, p0, p1);
}
///
/// A string like "An incorrect number of type args were specified for the declaration of a Func type."
///
internal static string IncorrectNumberOfTypeArgsForFunc
{
get { return SR.IncorrectNumberOfTypeArgsForFunc; }
}
///
/// A string like "An incorrect number of type args were specified for the declaration of an Action type."
///
internal static string IncorrectNumberOfTypeArgsForAction
{
get { return SR.IncorrectNumberOfTypeArgsForAction; }
}
///
/// A string like "Argument type cannot be System.Void."
///
internal static string ArgumentCannotBeOfTypeVoid
{
get { return SR.ArgumentCannotBeOfTypeVoid; }
}
///
/// A string like "Invalid operation: '{0}'"
///
internal static string InvalidOperation(object p0)
{
return SR.Format(SR.InvalidOperation, p0);
}
///
/// A string like "{0} must be greater than or equal to {1}"
///
internal static string OutOfRange(object p0, object p1)
{
return SR.Format(SR.OutOfRange, p0, p1);
}
///
/// A string like "Queue empty."
///
internal static string QueueEmpty
{
get { return SR.QueueEmpty; }
}
///
/// A string like "Cannot redefine label '{0}' in an inner block."
///
internal static string LabelTargetAlreadyDefined(object p0)
{
return SR.Format(SR.LabelTargetAlreadyDefined, p0);
}
///
/// A string like "Cannot jump to undefined label '{0}'."
///
internal static string LabelTargetUndefined(object p0)
{
return SR.Format(SR.LabelTargetUndefined, p0);
}
///
/// A string like "Control cannot leave a finally block."
///
internal static string ControlCannotLeaveFinally
{
get { return SR.ControlCannotLeaveFinally; }
}
///
/// A string like "Control cannot leave a filter test."
///
internal static string ControlCannotLeaveFilterTest
{
get { return SR.ControlCannotLeaveFilterTest; }
}
///
/// A string like "Cannot jump to ambiguous label '{0}'."
///
internal static string AmbiguousJump(object p0)
{
return SR.Format(SR.AmbiguousJump, p0);
}
///
/// A string like "Control cannot enter a try block."
///
internal static string ControlCannotEnterTry
{
get { return SR.ControlCannotEnterTry; }
}
///
/// A string like "Control cannot enter an expression--only statements can be jumped into."
///
internal static string ControlCannotEnterExpression
{
get { return SR.ControlCannotEnterExpression; }
}
///
/// A string like "Cannot jump to non-local label '{0}' with a value. Only jumps to labels defined in outer blocks can pass values."
///
internal static string NonLocalJumpWithValue(object p0)
{
return SR.Format(SR.NonLocalJumpWithValue, p0);
}
///
/// A string like "Extension should have been reduced."
///
internal static string ExtensionNotReduced
{
get { return SR.ExtensionNotReduced; }
}
///
/// A string like "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."
///
internal static string CannotCompileConstant(object p0)
{
return SR.Format(SR.CannotCompileConstant, p0);
}
///
/// A string like "Dynamic expressions are not supported by CompileToMethod. Instead, create an expression tree that uses System.Runtime.CompilerServices.CallSite."
///
internal static string CannotCompileDynamic
{
get { return SR.CannotCompileDynamic; }
}
///
/// A string like "Invalid lvalue for assignment: {0}."
///
internal static string InvalidLvalue(object p0)
{
return SR.Format(SR.InvalidLvalue, p0);
}
///
/// A string like "Invalid member type: {0}."
///
internal static string InvalidMemberType(object p0)
{
return SR.Format(SR.InvalidMemberType, p0);
}
///
/// A string like "unknown lift type: '{0}'."
///
internal static string UnknownLiftType(object p0)
{
return SR.Format(SR.UnknownLiftType, p0);
}
///
/// A string like "Invalid output directory."
///
internal static string InvalidOutputDir
{
get { return SR.InvalidOutputDir; }
}
///
/// A string like "Invalid assembly name or file extension."
///
internal static string InvalidAsmNameOrExtension
{
get { return SR.InvalidAsmNameOrExtension; }
}
///
/// A string like "Cannot create instance of {0} because it contains generic parameters"
///
internal static string IllegalNewGenericParams(object p0)
{
return SR.Format(SR.IllegalNewGenericParams, p0);
}
///
/// A string like "variable '{0}' of type '{1}' referenced from scope '{2}', but it is not defined"
///
internal static string UndefinedVariable(object p0, object p1, object p2)
{
return SR.Format(SR.UndefinedVariable, p0, p1, p2);
}
///
/// A string like "Cannot close over byref parameter '{0}' referenced in lambda '{1}'"
///
internal static string CannotCloseOverByRef(object p0, object p1)
{
return SR.Format(SR.CannotCloseOverByRef, p0, p1);
}
///
/// A string like "Unexpected VarArgs call to method '{0}'"
///
internal static string UnexpectedVarArgsCall(object p0)
{
return SR.Format(SR.UnexpectedVarArgsCall, p0);
}
///
/// A string like "Rethrow statement is valid only inside a Catch block."
///
internal static string RethrowRequiresCatch
{
get { return SR.RethrowRequiresCatch; }
}
///
/// A string like "Try expression is not allowed inside a filter body."
///
internal static string TryNotAllowedInFilter
{
get { return SR.TryNotAllowedInFilter; }
}
///
/// A string like "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."
///
internal static string MustRewriteToSameNode(object p0, object p1, object p2)
{
return SR.Format(SR.MustRewriteToSameNode, p0, p1, p2);
}
///
/// A string like "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."
///
internal static string MustRewriteChildToSameType(object p0, object p1, object p2)
{
return SR.Format(SR.MustRewriteChildToSameType, p0, p1, p2);
}
///
/// A string like "Rewritten expression calls operator method '{0}', but the original node had no operator method. If this is is intentional, override '{1}' and change it to allow this rewrite."
///
internal static string MustRewriteWithoutMethod(object p0, object p1)
{
return SR.Format(SR.MustRewriteWithoutMethod, p0, p1);
}
///
/// A string like "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."
///
internal static string TryNotSupportedForMethodsWithRefArgs(object p0)
{
return SR.Format(SR.TryNotSupportedForMethodsWithRefArgs, p0);
}
///
/// A string like "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."
///
internal static string TryNotSupportedForValueTypeInstances(object p0)
{
return SR.Format(SR.TryNotSupportedForValueTypeInstances, p0);
}
///
/// A string like "Dynamic operations can only be performed in homogenous AppDomain."
///
internal static string HomogenousAppDomainRequired
{
get { return SR.HomogenousAppDomainRequired; }
}
///
/// A string like "Test value of type '{0}' cannot be used for the comparison method parameter of type '{1}'"
///
internal static string TestValueTypeDoesNotMatchComparisonMethodParameter(object p0, object p1)
{
return SR.Format(SR.TestValueTypeDoesNotMatchComparisonMethodParameter, p0, p1);
}
///
/// A string like "Switch value of type '{0}' cannot be used for the comparison method parameter of type '{1}'"
///
internal static string SwitchValueTypeDoesNotMatchComparisonMethodParameter(object p0, object p1)
{
return SR.Format(SR.SwitchValueTypeDoesNotMatchComparisonMethodParameter, p0, p1);
}
///
/// A string like "DebugInfoGenerator created by CreatePdbGenerator can only be used with LambdaExpression.CompileToMethod."
///
internal static string PdbGeneratorNeedsExpressionCompiler
{
get { return SR.PdbGeneratorNeedsExpressionCompiler; }
}
///
/// A string like "The operator '{0}' is not implemented for type '{1}'"
///
internal static string OperatorNotImplementedForType(object p0, object p1)
{
return SR.Format(SR.OperatorNotImplementedForType, p0, p1);
}
}
}
#endif