2 // This file was generated by resx2sr tool
7 public const string InternalCompilerError = "An unexpected exception occurred while binding a dynamic operation";
8 public const string BindRequireArguments = "Cannot bind call with no calling object";
9 public const string BindCallFailedOverloadResolution = "Overload resolution failed";
10 public const string BindBinaryOperatorRequireTwoArguments = "Binary operators must be invoked with two arguments";
11 public const string BindUnaryOperatorRequireOneArgument = "Unary operators must be invoked with one argument";
12 public const string BindPropertyFailedMethodGroup = "The name '{0}' is bound to a method and cannot be used like a property";
13 public const string BindPropertyFailedEvent = "The event '{0}' can only appear on the left hand side of +";
14 public const string BindInvokeFailedNonDelegate = "Cannot invoke a non-delegate type";
15 public const string BindImplicitConversionRequireOneArgument = "Implicit conversion takes exactly one argument";
16 public const string BindExplicitConversionRequireOneArgument = "Explicit conversion takes exactly one argument";
17 public const string BindBinaryAssignmentRequireTwoArguments = "Binary operators cannot be invoked with one argument";
18 public const string BindBinaryAssignmentFailedNullReference = "Cannot perform member assignment on a null reference";
19 public const string NullReferenceOnMemberException = "Cannot perform runtime binding on a null reference";
20 public const string BindCallToConditionalMethod = "Cannot dynamically invoke method '{0}' because it has a Conditional attribute";
21 public const string BindToVoidMethodButExpectResult = "Cannot implicitly convert type 'void' to 'object'";
22 public const string BadBinaryOps = "Operator '{0}' cannot be applied to operands of type '{1}' and '{2}'";
23 public const string IntDivByZero = "Division by constant zero";
24 public const string BadIndexLHS = "Cannot apply indexing with [] to an expression of type '{0}'";
25 public const string BadIndexCount = "Wrong number of indices inside []; expected '{0}'";
26 public const string BadUnaryOp = "Operator '{0}' cannot be applied to operand of type '{1}'";
27 public const string NoImplicitConv = "Cannot implicitly convert type '{0}' to '{1}'";
28 public const string NoExplicitConv = "Cannot convert type '{0}' to '{1}'";
29 public const string ConstOutOfRange = "Constant value '{0}' cannot be converted to a '{1}'";
30 public const string AmbigBinaryOps = "Operator '{0}' is ambiguous on operands of type '{1}' and '{2}'";
31 public const string AmbigUnaryOp = "Operator '{0}' is ambiguous on an operand of type '{1}'";
32 public const string ValueCantBeNull = "Cannot convert null to '{0}' because it is a non-nullable value type";
33 public const string WrongNestedThis = "Cannot access a non-static member of outer type '{0}' via nested type '{1}'";
34 public const string NoSuchMember = "'{0}' does not contain a definition for '{1}'";
35 public const string ObjectRequired = "An object reference is required for the non-static field, method, or property '{0}'";
36 public const string AmbigCall = "The call is ambiguous between the following methods or properties: '{0}' and '{1}'";
37 public const string BadAccess = "'{0}' is inaccessible due to its protection level";
38 public const string MethDelegateMismatch = "No overload for '{0}' matches delegate '{1}'";
39 public const string AssgLvalueExpected = "The left-hand side of an assignment must be a variable, property or indexer";
40 public const string NoConstructors = "The type '{0}' has no constructors defined";
41 public const string BadDelegateConstructor = "The delegate '{0}' does not have a valid constructor";
42 public const string PropertyLacksGet = "The property or indexer '{0}' cannot be used in this context because it lacks the get accessor";
43 public const string ObjectProhibited = "Member '{0}' cannot be accessed with an instance reference; qualify it with a type name instead";
44 public const string AssgReadonly = "A readonly field cannot be assigned to (except in a constructor or a variable initializer)";
45 public const string RefReadonly = "A readonly field cannot be passed ref or out (except in a constructor)";
46 public const string AssgReadonlyStatic = "A static readonly field cannot be assigned to (except in a static constructor or a variable initializer)";
47 public const string RefReadonlyStatic = "A static readonly field cannot be passed ref or out (except in a static constructor)";
48 public const string AssgReadonlyProp = "Property or indexer '{0}' cannot be assigned to -- it is read only";
49 public const string AbstractBaseCall = "Cannot call an abstract base member: '{0}'";
50 public const string RefProperty = "A property or indexer may not be passed as an out or ref parameter";
51 public const string ManagedAddr = "Cannot take the address of, get the size of, or declare a pointer to a managed type ('{0}')";
52 public const string FixedNotNeeded = "You cannot use the fixed statement to take the address of an already fixed expression";
53 public const string UnsafeNeeded = "Dynamic calls cannot be used in conjunction with pointers";
54 public const string BadBoolOp = "In order to be applicable as a short circuit operator a user-defined logical operator ('{0}') must have the same return type as the type of its 2 parameters";
55 public const string MustHaveOpTF = "The type ('{0}') must contain declarations of operator true and operator false";
56 public const string CheckedOverflow = "The operation overflows at compile time in checked mode";
57 public const string ConstOutOfRangeChecked = "Constant value '{0}' cannot be converted to a '{1}' (use 'unchecked' syntax to override)";
58 public const string AmbigMember = "Ambiguity between '{0}' and '{1}'";
59 public const string SizeofUnsafe = "'{0}' does not have a predefined size, therefore sizeof can only be used in an unsafe context (consider using System.Runtime.InteropServices.Marshal.SizeOf)";
60 public const string FieldInitRefNonstatic = "A field initializer cannot reference the non-static field, method, or property '{0}'";
61 public const string CallingFinalizeDepracated = "Destructors and object.Finalize cannot be called directly. Consider calling IDisposable.Dispose if available.";
62 public const string CallingBaseFinalizeDeprecated = "Do not directly call your base class Finalize method. It is called automatically from your destructor.";
63 public const string BadCastInFixed = "The right hand side of a fixed statement assignment may not be a cast expression";
64 public const string NoImplicitConvCast = "Cannot implicitly convert type '{0}' to '{1}'. An explicit conversion exists (are you missing a cast?)";
65 public const string InaccessibleGetter = "The property or indexer '{0}' cannot be used in this context because the get accessor is inaccessible";
66 public const string InaccessibleSetter = "The property or indexer '{0}' cannot be used in this context because the set accessor is inaccessible";
67 public const string BadArity = "Using the generic {1} '{0}' requires '{2}' type arguments";
68 public const string BadTypeArgument = "The type '{0}' may not be used as a type argument";
69 public const string TypeArgsNotAllowed = "The {1} '{0}' cannot be used with type arguments";
70 public const string HasNoTypeVars = "The non-generic {1} '{0}' cannot be used with type arguments";
71 public const string NewConstraintNotSatisfied = "'{2}' must be a non-abstract type with a public parameterless constructor in order to use it as parameter '{1}' in the generic type or method '{0}'";
72 public const string GenericConstraintNotSatisfiedRefType = "The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. There is no implicit reference conversion from '{3}' to '{1}'.";
73 public const string GenericConstraintNotSatisfiedNullableEnum = "The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. The nullable type '{3}' does not satisfy the constraint of '{1}'.";
74 public const string GenericConstraintNotSatisfiedNullableInterface = "The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. The nullable type '{3}' does not satisfy the constraint of '{1}'. Nullable types can not satisfy any interface constraints.";
75 public const string GenericConstraintNotSatisfiedTyVar = "The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. There is no boxing conversion or type parameter conversion from '{3}' to '{1}'.";
76 public const string GenericConstraintNotSatisfiedValType = "The type '{3}' cannot be used as type parameter '{2}' in the generic type or method '{0}'. There is no boxing conversion from '{3}' to '{1}'.";
77 public const string TypeVarCantBeNull = "Cannot convert null to type parameter '{0}' because it could be a non-nullable value type. Consider using 'default({0})' instead.";
78 public const string BadRetType = "'{1} {0}' has the wrong return type";
79 public const string CantInferMethTypeArgs = "The type arguments for method '{0}' cannot be inferred from the usage. Try specifying the type arguments explicitly.";
80 public const string MethGrpToNonDel = "Cannot convert method group '{0}' to non-delegate type '{1}'. Did you intend to invoke the method?";
81 public const string RefConstraintNotSatisfied = "The type '{2}' must be a reference type in order to use it as parameter '{1}' in the generic type or method '{0}'";
82 public const string ValConstraintNotSatisfied = "The type '{2}' must be a non-nullable value type in order to use it as parameter '{1}' in the generic type or method '{0}'";
83 public const string CircularConstraint = "Circular constraint dependency involving '{0}' and '{1}'";
84 public const string BaseConstraintConflict = "Type parameter '{0}' inherits conflicting constraints '{1}' and '{2}'";
85 public const string ConWithValCon = "Type parameter '{1}' has the 'struct' constraint so '{1}' cannot be used as a constraint for '{0}'";
86 public const string AmbigUDConv = "Ambiguous user defined conversions '{0}' and '{1}' when converting from '{2}' to '{3}'";
87 public const string PredefinedTypeNotFound = "Predefined type '{0}' is not defined or imported";
88 public const string PredefinedTypeBadType = "Predefined type '{0}' is declared incorrectly";
89 public const string BindToBogus = "'{0}' is not supported by the language";
90 public const string CantCallSpecialMethod = "'{0}': cannot explicitly call operator or accessor";
91 public const string BogusType = "'{0}' is a type not supported by the language";
92 public const string MissingPredefinedMember = "Missing compiler required member '{0}.{1}'";
93 public const string LiteralDoubleCast = "Literal of type double cannot be implicitly converted to type '{1}'; use an '{0}' suffix to create a literal of this type";
94 public const string UnifyingInterfaceInstantiations = "'{0}' cannot implement both '{1}' and '{2}' because they may unify for some type parameter substitutions";
95 public const string ConvertToStaticClass = "Cannot convert to static type '{0}'";
96 public const string GenericArgIsStaticClass = "'{0}': static types cannot be used as type arguments";
97 public const string PartialMethodToDelegate = "Cannot create delegate from method '{0}' because it is a partial method without an implementing declaration";
98 public const string IncrementLvalueExpected = "The operand of an increment or decrement operator must be a variable, property or indexer";
99 public const string NoSuchMemberOrExtension = "'{0}' does not contain a definition for '{1}' and no extension method '{1}' accepting a first argument of type '{0}' could be found (are you missing a using directive or an assembly reference?)";
100 public const string ValueTypeExtDelegate = "Extension methods '{0}' defined on value type '{1}' cannot be used to create delegates";
101 public const string BadArgCount = "No overload for method '{0}' takes '{1}' arguments";
102 public const string BadArgTypes = "The best overloaded method match for '{0}' has some invalid arguments";
103 public const string BadArgType = "Argument '{0}': cannot convert from '{1}' to '{2}'";
104 public const string RefLvalueExpected = "A ref or out argument must be an assignable variable";
105 public const string BadProtectedAccess = "Cannot access protected member '{0}' via a qualifier of type '{1}'; the qualifier must be of type '{2}' (or derived from it)";
106 public const string BindToBogusProp2 = "Property, indexer, or event '{0}' is not supported by the language; try directly calling accessor methods '{1}' or '{2}'";
107 public const string BindToBogusProp1 = "Property, indexer, or event '{0}' is not supported by the language; try directly calling accessor method '{1}'";
108 public const string BadDelArgCount = "Delegate '{0}' does not take '{1}' arguments";
109 public const string BadDelArgTypes = "Delegate '{0}' has some invalid arguments";
110 public const string AssgReadonlyLocal = "Cannot assign to '{0}' because it is read-only";
111 public const string RefReadonlyLocal = "Cannot pass '{0}' as a ref or out argument because it is read-only";
112 public const string ReturnNotLValue = "Cannot modify the return value of '{0}' because it is not a variable";
113 public const string BadArgExtraRef = "Argument '{0}' should not be passed with the '{1}' keyword";
114 public const string BadArgRef = "Argument '{0}' must be passed with the '{1}' keyword";
115 public const string AssgReadonly2 = "Members of readonly field '{0}' cannot be modified (except in a constructor or a variable initializer)";
116 public const string RefReadonly2 = "Members of readonly field '{0}' cannot be passed ref or out (except in a constructor)";
117 public const string AssgReadonlyStatic2 = "Fields of static readonly field '{0}' cannot be assigned to (except in a static constructor or a variable initializer)";
118 public const string RefReadonlyStatic2 = "Fields of static readonly field '{0}' cannot be passed ref or out (except in a static constructor)";
119 public const string AssgReadonlyLocalCause = "Cannot assign to '{0}' because it is a '{1}'";
120 public const string RefReadonlyLocalCause = "Cannot pass '{0}' as a ref or out argument because it is a '{1}'";
121 public const string ThisStructNotInAnonMeth = "Anonymous methods, lambda expressions, and query expressions inside structs cannot access instance members of 'this'. Consider copying 'this' to a local variable outside the anonymous method, lambda expression or query expression and using the local instead.";
122 public const string DelegateOnNullable = "Cannot bind delegate to '{0}' because it is a member of 'System.Nullable<T>'";
123 public const string BadCtorArgCount = "'{0}' does not contain a constructor that takes '{1}' arguments";
124 public const string BadExtensionArgTypes = "'{0}' does not contain a definition for '{1}' and the best extension method overload '{2}' has some invalid arguments";
125 public const string BadInstanceArgType = "Instance argument: cannot convert from '{0}' to '{1}'";
126 public const string BadArgTypesForCollectionAdd = "The best overloaded Add method '{0}' for the collection initializer has some invalid arguments";
127 public const string InitializerAddHasParamModifiers = "The best overloaded method match '{0}' for the collection initializer element cannot be used. Collection initializer 'Add' methods cannot have ref or out parameters.";
128 public const string NonInvocableMemberCalled = "Non-invocable member '{0}' cannot be used like a method.";
129 public const string NamedArgumentSpecificationBeforeFixedArgument = "Named argument specifications must appear after all fixed arguments have been specified";
130 public const string BadNamedArgument = "The best overload for '{0}' does not have a parameter named '{1}'";
131 public const string BadNamedArgumentForDelegateInvoke = "The delegate '{0}' does not have a parameter named '{1}'";
132 public const string DuplicateNamedArgument = "Named argument '{0}' cannot be specified multiple times";
133 public const string NamedArgumentUsedInPositional = "Named argument '{0}' specifies a parameter for which a positional argument has already been given";