1 # SOME DESCRIPTIVE TITLE.
2 # Copyright (C) YEAR Novell, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
9 "Project-Id-Version: mono 2.9\n"
10 "Report-Msgid-Bugs-To: http://www.mono-project.com/Bugs\n"
11 "POT-Creation-Date: 2010-12-16 13:01+0000\n"
12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14 "Language-Team: LANGUAGE <LL@li.org>\n"
17 "Content-Type: text/plain; charset=CHARSET\n"
18 "Content-Transfer-Encoding: 8bit\n"
20 #: mcs/mcs/anonymous.cs:880
22 msgid "Cannot convert `{0}' to an expression tree of non-delegate type `{1}'"
25 #: mcs/mcs/anonymous.cs:885
27 msgid "Cannot convert `{0}' to non-delegate type `{1}'"
30 #: mcs/mcs/anonymous.cs:897
33 "Cannot convert `{0}' to delegate type `{1}' since there is a parameter "
37 #: mcs/mcs/anonymous.cs:909 mcs/mcs/ecore.cs:4469
39 msgid "Delegate `{0}' does not take `{1}' arguments"
42 #: mcs/mcs/anonymous.cs:924
44 msgid "Parameter `{0}' should not be declared with the `{1}' keyword"
47 #: mcs/mcs/anonymous.cs:927
49 msgid "Parameter `{0}' must be declared with the `{1}' keyword"
52 #: mcs/mcs/anonymous.cs:948
54 msgid "Parameter `{0}' is declared as type `{1}' but should be `{2}'"
57 #: mcs/mcs/anonymous.cs:1103
58 msgid "An anonymous method cannot be converted to an expression tree"
61 #: mcs/mcs/anonymous.cs:1122
64 "Cannot convert anonymous method block without a parameter list to delegate "
65 "type `{0}' because it has one or more `out' parameters"
68 #: mcs/mcs/anonymous.cs:1146
70 "Anonymous methods and lambda expressions cannot be used in the current "
74 #: mcs/mcs/anonymous.cs:1188
77 "Local variable or parameter `{0}' cannot have their address taken and be "
78 "used inside an anonymous method or lambda expression"
81 #: mcs/mcs/anonymous.cs:1438
82 msgid "An expression tree cannot contain an anonymous method expression"
85 #: mcs/mcs/argument.cs:101
87 "An expression tree cannot contain an invocation which uses optional parameter"
90 #: mcs/mcs/argument.cs:184
91 msgid "An expression tree cannot contain named argument"
94 #: mcs/mcs/argument.cs:303
97 "The method group `{0}' cannot be used as an argument of dynamic operation. "
98 "Consider using parentheses to invoke the method"
101 #: mcs/mcs/argument.cs:307
103 "An anonymous method or lambda expression cannot be used as an argument of "
104 "dynamic operation. Consider using a cast"
107 #: mcs/mcs/argument.cs:310
110 "An expression of type `{0}' cannot be used as an argument of dynamic "
114 #: mcs/mcs/assign.cs:299
115 msgid "An expression tree cannot contain an assignment operator"
118 #: mcs/mcs/assign.cs:627
120 msgid "Cannot assign to `{0}' because it is a `{1}'"
123 #: mcs/mcs/attribute.cs:196
126 "`{0}' is not a valid named attribute argument. Named attribute arguments "
127 "must be fields which are not readonly, static, const or read-write "
128 "properties which are public and not static"
131 #: mcs/mcs/attribute.cs:205
134 "`{0}' is not a valid named attribute argument because it is not a valid "
135 "attribute parameter type"
138 #: mcs/mcs/attribute.cs:211
139 msgid "An attribute argument cannot be dynamic expression"
142 #: mcs/mcs/attribute.cs:216
143 msgid "The Guid attribute must be specified with the ComImport attribute"
146 #: mcs/mcs/attribute.cs:221
148 msgid "Do not use `{0}' directly. Use parameter modifier `this' instead"
151 #: mcs/mcs/attribute.cs:226
153 msgid "Do not use `{0}' directly. Use `dynamic' keyword instead"
156 #: mcs/mcs/attribute.cs:235
158 msgid "Error during emitting `{0}' attribute. The reason is `{1}'"
161 #: mcs/mcs/attribute.cs:266
163 msgid "`{0}': is not an attribute class"
166 #: mcs/mcs/attribute.cs:302
169 "`{0}' is ambiguous between `{1}' and `{2}'. Use either `@{0}' or `{0}"
173 #: mcs/mcs/attribute.cs:385
175 msgid "Cannot apply attribute class `{0}' because it is abstract"
178 #: mcs/mcs/attribute.cs:453
180 msgid "Duplicate named attribute `{0}' argument"
183 #: mcs/mcs/attribute.cs:730
186 "`{0}' is not a valid attribute location for this declaration. Valid "
187 "attribute locations for this declaration are `{1}'"
190 #: mcs/mcs/attribute.cs:1004
193 "The attribute `{0}' is not valid on this declaration type. It is valid on `"
194 "{1}' declarations only"
197 #: mcs/mcs/attribute.cs:1022
199 msgid "The argument to the `{0}' attribute must be a valid identifier"
202 #: mcs/mcs/attribute.cs:1035
204 msgid "Invalid value for argument to `{0}' attribute"
207 #: mcs/mcs/attribute.cs:1341
209 msgid "The attribute `{0}' cannot be applied multiple times"
212 #: mcs/mcs/attribute.cs:1603
214 msgid "`{0}' is obsolete: `{1}'"
217 #: mcs/mcs/cs-parser.cs:1646
219 "A fixed size buffer field must have the array size specifier after the field "
223 #: mcs/mcs/cs-parser.cs:1940 mcs/mcs/cs-parser.cs:1946
224 msgid "Interfaces cannot contain fields or constants"
227 #: mcs/mcs/cs-parser.cs:1952
228 msgid "Interfaces cannot contain operators"
231 #: mcs/mcs/cs-parser.cs:1958
232 msgid "Interfaces cannot contain contructors"
235 #: mcs/mcs/cs-parser.cs:1964
237 "Interfaces cannot declare classes, structs, interfaces, delegates, or "
241 #: mcs/mcs/cs-parser.cs:3341 mcs/mcs/cs-parser.cs:4257
242 msgid "A const field requires a value to be provided"
245 #: mcs/mcs/cs-parser.cs:3602
247 "You must provide an initializer in a fixed or using statement declaration"
250 #: mcs/mcs/cs-parser.cs:3884
251 msgid "A namespace declaration cannot have modifiers or attributes"
254 #: mcs/mcs/cs-parser.cs:3948
256 "Namespace elements cannot be explicitly declared as private, protected or "
260 #: mcs/mcs/cs-parser.cs:3963
262 "Assembly and module attributes must precede all other elements except using "
263 "clauses and extern alias declarations"
266 #: mcs/mcs/cs-parser.cs:4080
267 msgid "'<' unexpected: attributes cannot be generic"
270 #: mcs/mcs/cs-parser.cs:4117
271 msgid "Named attribute arguments must appear after the positional arguments"
274 #: mcs/mcs/cs-parser.cs:4163
277 "Unexpected symbol `{0}' in class, struct, or interface member declaration"
280 #: mcs/mcs/cs-parser.cs:4220
282 msgid "The constant `{0}' cannot be marked static"
285 #: mcs/mcs/cs-parser.cs:4268
286 msgid "Fields cannot have void type"
289 #: mcs/mcs/cs-parser.cs:4369
290 msgid "Value or constant expected"
293 #: mcs/mcs/cs-parser.cs:4396 mcs/mcs/cs-parser.cs:4898
294 #: mcs/mcs/cs-parser.cs:4947 mcs/mcs/cs-parser.cs:5398
295 #: mcs/mcs/cs-parser.cs:5427
297 msgid "`{0}': interface members cannot have a definition"
300 #: mcs/mcs/cs-parser.cs:4421 mcs/mcs/cs-parser.cs:4451 mcs/mcs/decl.cs:1373
301 msgid "Constraints are not allowed on non-generic declarations"
304 #: mcs/mcs/cs-parser.cs:4429
307 "`{0}': Cannot specify constraints for overrides and explicit interface "
308 "implementation methods"
311 #: mcs/mcs/cs-parser.cs:4470
313 "A partial method cannot define access modifier or any of abstract, extern, "
314 "new, override, sealed, or virtual modifiers"
317 #: mcs/mcs/cs-parser.cs:4476
319 "A partial method must be declared within a partial class or partial struct"
322 #: mcs/mcs/cs-parser.cs:4499
324 msgid "Member modifier `{0}' must precede the member type and name"
327 #: mcs/mcs/cs-parser.cs:4540 mcs/mcs/cs-parser.cs:4549
329 "A params parameter must be the last parameter in a formal parameter list"
332 #: mcs/mcs/cs-parser.cs:4560 mcs/mcs/cs-parser.cs:4568
334 "An __arglist parameter must be the last parameter in a formal parameter list"
337 #: mcs/mcs/cs-parser.cs:4601
338 msgid "The parameter modifier `this' can only be used on the first parameter"
341 #: mcs/mcs/cs-parser.cs:4603
342 msgid "Optional parameter cannot precede required parameters"
345 #: mcs/mcs/cs-parser.cs:4625
346 msgid "Array type specifier, [], must appear before parameter name"
349 #: mcs/mcs/cs-parser.cs:4650 mcs/mcs/cs-parser.cs:4655
351 msgid "Cannot specify a default value for the `{0}' parameter"
354 #: mcs/mcs/cs-parser.cs:4666
355 msgid "Optional parameter is not valid in this context"
358 #: mcs/mcs/cs-parser.cs:4686
359 msgid "The parameter modifiers `this' and `ref' cannot be used altogether"
362 #: mcs/mcs/cs-parser.cs:4689
363 msgid "The parameter modifiers `this' and `out' cannot be used altogether"
366 #: mcs/mcs/cs-parser.cs:4692
367 msgid "A parameter cannot have specified more than one modifier"
370 #: mcs/mcs/cs-parser.cs:4739
371 msgid "Cannot specify a default value for a parameter array"
374 #: mcs/mcs/cs-parser.cs:4756
375 msgid "The `params' modifier is not allowed in current context"
378 #: mcs/mcs/cs-parser.cs:4764
379 msgid "The parameter modifiers `this' and `params' cannot be used altogether"
382 #: mcs/mcs/cs-parser.cs:4766
383 msgid "The params parameter cannot be declared as ref or out"
386 #: mcs/mcs/cs-parser.cs:4774
387 msgid "__arglist is not valid in this context"
390 #: mcs/mcs/cs-parser.cs:4791
392 msgid "`{0}': property or indexer cannot have void type"
395 #: mcs/mcs/cs-parser.cs:4829
397 msgid "`{0}': indexer return type cannot be `void'"
400 #: mcs/mcs/cs-parser.cs:4832
401 msgid "Indexers must have at least one parameter"
404 #: mcs/mcs/cs-parser.cs:4857
406 msgid "`{0}': property or indexer must have at least one accessor"
409 #: mcs/mcs/cs-parser.cs:4860
410 msgid "Semicolon after method or accessor block is not valid"
413 #: mcs/mcs/cs-parser.cs:4862
414 msgid "A get or set accessor expected"
417 #: mcs/mcs/cs-parser.cs:4874 mcs/mcs/cs-parser.cs:4918
418 msgid "Property accessor already defined"
421 #: mcs/mcs/cs-parser.cs:5036
422 msgid "User-defined operators cannot return void"
425 #: mcs/mcs/cs-parser.cs:5059
426 msgid "Overloadable binary operator expected"
429 #: mcs/mcs/cs-parser.cs:5061
431 msgid "Overloaded unary operator `{0}' takes one parameter"
434 #: mcs/mcs/cs-parser.cs:5066
436 msgid "Overloaded binary operator `{0}' takes two parameters"
439 #: mcs/mcs/cs-parser.cs:5069
440 msgid "Overloadable unary operator expected"
443 #: mcs/mcs/cs-parser.cs:5183
444 msgid "Class, struct, or interface method must have a return type"
447 #: mcs/mcs/cs-parser.cs:5187
449 msgid "`{0}': static constructor cannot have an access modifier"
452 #: mcs/mcs/cs-parser.cs:5192
455 "`{0}': static constructor cannot have an explicit `this' or `base' "
459 #: mcs/mcs/cs-parser.cs:5241
460 msgid "Name of destructor must match name of class"
463 #: mcs/mcs/cs-parser.cs:5243
464 msgid "Only class types can contain destructor"
467 #: mcs/mcs/cs-parser.cs:5265
470 "`{0}': An explicit interface implementation of an event must use property "
474 #: mcs/mcs/cs-parser.cs:5298
475 msgid "Event in interface cannot have add or remove accessors"
478 #: mcs/mcs/cs-parser.cs:5344
480 msgid "`{0}': event in interface cannot have an initializer"
483 #: mcs/mcs/cs-parser.cs:5349
485 msgid "`{0}': abstract event cannot have an initializer"
488 #: mcs/mcs/cs-parser.cs:5357 mcs/mcs/cs-parser.cs:5364
490 msgid "`{0}': event property must have both add and remove accessors"
493 #: mcs/mcs/cs-parser.cs:5371
494 msgid "An add or remove accessor expected"
497 #: mcs/mcs/cs-parser.cs:5379 mcs/mcs/cs-parser.cs:5408
498 msgid "Modifiers cannot be placed on event accessor declarations"
501 #: mcs/mcs/cs-parser.cs:5436
502 msgid "An add or remove accessor must have a body"
505 #: mcs/mcs/cs-parser.cs:5455
506 msgid "Enums cannot have type parameters"
509 #: mcs/mcs/cs-parser.cs:5755
510 msgid "Type parameter declaration must be an identifier not a type"
513 #: mcs/mcs/cs-parser.cs:5779
514 msgid "Invalid parameter type `void'"
517 #: mcs/mcs/cs-parser.cs:5825
519 msgid "Invalid base type `{0}'"
522 #: mcs/mcs/cs-parser.cs:5984
523 msgid "An element initializer cannot be empty"
526 #: mcs/mcs/cs-parser.cs:6015
528 msgid "Named argument `{0}' specified multiple times"
531 #: mcs/mcs/cs-parser.cs:6026 mcs/mcs/cs-parser.cs:6033
532 msgid "An argument is missing"
535 #: mcs/mcs/cs-parser.cs:6166
536 msgid "Array creation must have array size or array initializer"
539 #: mcs/mcs/cs-parser.cs:6183
540 msgid "Invalid rank specifier, expecting `,' or `]'"
543 #: mcs/mcs/cs-parser.cs:6256
545 "Invalid anonymous type member declarator. Anonymous type members must be a "
546 "member assignment, simple name or member access expression"
549 #: mcs/mcs/cs-parser.cs:6658
550 msgid "All lambda parameters must be typed either explicitly or implicitly"
553 #: mcs/mcs/cs-parser.cs:6799
555 msgid "Duplicate `{0}' modifier"
558 #: mcs/mcs/cs-parser.cs:6803
559 msgid "More than one protection modifier specified"
562 #: mcs/mcs/cs-parser.cs:6816
563 msgid "Keyword `new' is not allowed on namespace elements"
566 #: mcs/mcs/cs-parser.cs:6936
568 msgid "A constraint clause has already been specified for type parameter `{0}'"
571 #: mcs/mcs/cs-parser.cs:6966
572 msgid "The `new()' constraint must be the last constraint specified"
575 #: mcs/mcs/cs-parser.cs:6972
577 "The `class' or `struct' constraint must be the first constraint specified"
580 #: mcs/mcs/cs-parser.cs:6976
581 msgid "The `new()' constraint cannot be used with the `struct' constraint"
584 #: mcs/mcs/cs-parser.cs:6989
586 msgid "Invalid constraint type `{0}'"
589 #: mcs/mcs/cs-parser.cs:7055 mcs/mcs/cs-parser.cs:7062
590 msgid "An embedded statement may not be a declaration or labeled statement"
593 #: mcs/mcs/cs-parser.cs:7213
595 "Syntax error, bad array declarator. To declare a managed array the rank "
596 "specifier precedes the variable's identifier. To declare a fixed size buffer "
597 "field, use the fixed keyword before the field type"
600 #: mcs/mcs/cs-parser.cs:7262
601 msgid "A stackalloc expression requires [] after type"
604 #: mcs/mcs/cs-parser.cs:7468
605 msgid "Type and identifier are both required in a foreach statement"
608 #: mcs/mcs/cs-parser.cs:7553 mcs/mcs/cs-parser.cs:7571
612 #: mcs/mcs/cs-parser.cs:7555
613 msgid "Expression expected after yield return"
616 #: mcs/mcs/cs-parser.cs:7598
617 msgid "Expected catch or finally"
620 #: mcs/mcs/cs-parser.cs:7618
621 msgid "Try statement already has an empty catch block"
624 #: mcs/mcs/cs-parser.cs:7651
626 "A type that derives from `System.Exception', `object', or `string' expected"
629 #: mcs/mcs/cs-parser.cs:11367
630 msgid "Expecting `;'"
633 #: mcs/mcs/cs-parser.cs:11375
635 msgid "The parameter modifier `{0}' is not valid in this context"
638 #: mcs/mcs/cs-parser.cs:11381
640 msgid "Duplicate parameter modifier `{0}'"
643 #: mcs/mcs/cs-parser.cs:11387
644 msgid "Type expected"
647 #: mcs/mcs/cs-parser.cs:11392
648 msgid "Unsafe code requires the `unsafe' command line option to be specified"
651 #: mcs/mcs/cs-parser.cs:11402
652 msgid "Named arguments must appear after the positional arguments"
655 #: mcs/mcs/cs-parser.cs:11493
656 msgid "Syntax error, "
659 #: mcs/mcs/cs-parser.cs:11547
660 msgid "Parsing error"
663 #: mcs/mcs/cs-parser.cs:11553
664 msgid "Internal compiler error during parsing"
667 #: mcs/mcs/cs-parser.cs:11564
669 msgid "{0}: `{1}' is a keyword"
672 #: mcs/mcs/cs-parser.cs:11690
674 msgid "Identifier expected, `{0}' is a keyword"
677 #: mcs/mcs/cs-parser.cs:11704
682 #: mcs/mcs/cs-parser.cs:11706
684 msgid "{2} `{0}', expecting {1}"
687 #: mcs/mcs/cs-tokenizer.cs:760
689 "The `partial' modifier can be used only immediately before `class', "
690 "`struct', `interface', or `void' keyword"
693 #: mcs/mcs/cs-tokenizer.cs:1395 mcs/mcs/cs-tokenizer.cs:1462
694 msgid "Invalid number"
697 #: mcs/mcs/cs-tokenizer.cs:1647
699 msgid "Unrecognized escape sequence `\\{0}'"
702 #: mcs/mcs/cs-tokenizer.cs:1666
703 msgid "Unrecognized escape sequence"
706 #: mcs/mcs/cs-tokenizer.cs:1887
707 msgid "Missing identifier to pre-processor directive"
710 #: mcs/mcs/cs-tokenizer.cs:1897 mcs/mcs/cs-tokenizer.cs:1901
712 msgid "Identifier expected: {0}"
715 #: mcs/mcs/cs-tokenizer.cs:2373
716 msgid "Integral constant is too large"
719 #: mcs/mcs/cs-tokenizer.cs:2378
720 msgid "Invalid preprocessor directive"
723 #: mcs/mcs/cs-tokenizer.cs:2385
725 msgid "Unexpected processor directive ({0})"
728 #: mcs/mcs/cs-tokenizer.cs:2391
730 "Cannot define or undefine preprocessor symbols after first token in file"
733 #: mcs/mcs/cs-tokenizer.cs:2397
735 "Preprocessor directives must appear as the first non-whitespace character on "
739 #: mcs/mcs/cs-tokenizer.cs:2402
740 msgid "Single-line comment or end-of-line expected"
743 #: mcs/mcs/cs-tokenizer.cs:2435 mcs/mcs/cs-tokenizer.cs:3431
744 msgid "Expected `#endif' directive"
747 #: mcs/mcs/cs-tokenizer.cs:2468 mcs/mcs/cs-tokenizer.cs:2489
748 #: mcs/mcs/cs-tokenizer.cs:2520 mcs/mcs/cs-tokenizer.cs:3429
749 msgid "#endregion directive expected"
752 #: mcs/mcs/cs-tokenizer.cs:2567
753 msgid "Wrong preprocessor directive"
756 #: mcs/mcs/cs-tokenizer.cs:2579
758 msgid "#error: '{0}'"
761 #: mcs/mcs/cs-tokenizer.cs:2598
762 msgid "The line number specified for #line directive is missing or invalid"
765 #: mcs/mcs/cs-tokenizer.cs:2625 mcs/mcs/cs-tokenizer.cs:3243
766 msgid "Newline in constant"
769 #: mcs/mcs/cs-tokenizer.cs:2636
770 msgid "Unterminated string literal"
773 #: mcs/mcs/cs-tokenizer.cs:2705
774 msgid "Identifier too long (limit is 512 chars)"
777 #: mcs/mcs/cs-tokenizer.cs:3092
778 msgid "End-of-file found, '*/' expected"
781 #: mcs/mcs/cs-tokenizer.cs:3201
782 msgid "Keyword, identifier, or string expected after verbatim specifier: @"
785 #: mcs/mcs/cs-tokenizer.cs:3217
787 msgid "Unexpected character `{0}'"
790 #: mcs/mcs/cs-tokenizer.cs:3238
791 msgid "Empty character literal"
794 #: mcs/mcs/cs-tokenizer.cs:3258
795 msgid "Too many characters in character literal"
798 #: mcs/mcs/cfold.cs:84
799 msgid "The operation overflows at compile time in checked mode"
802 #: mcs/mcs/cfold.cs:764 mcs/mcs/cfold.cs:849
803 msgid "Division by constant zero"
806 #: mcs/mcs/class.cs:371
809 "Partial declarations of `{0}' must be all classes, all structs or all "
813 #: mcs/mcs/class.cs:380
815 msgid "Partial declarations of `{0}' have conflicting accessibility modifiers"
818 #: mcs/mcs/class.cs:433
821 "`{0}': explicit interface declaration can only be declared in a class or "
825 #: mcs/mcs/class.cs:470 mcs/mcs/membercache.cs:1347
828 "A member `{0}' is already defined. Rename this member or use different "
832 #: mcs/mcs/class.cs:578
834 "Cannot specify the `DefaultMember' attribute on type containing an indexer"
837 #: mcs/mcs/class.cs:584
838 msgid "The RequiredAttribute attribute is not permitted on C# types"
841 #: mcs/mcs/class.cs:855
843 msgid "Class `{0}' cannot derive from the dynamic type"
846 #: mcs/mcs/class.cs:872
848 msgid "`{0}' is already listed in interface list"
851 #: mcs/mcs/class.cs:880
854 "Inconsistent accessibility: base interface `{0}' is less accessible than "
858 #: mcs/mcs/class.cs:886
860 msgid "Type `{0}' in interface list is not an interface"
863 #: mcs/mcs/class.cs:888
865 msgid "`{0}': Classes cannot have multiple base classes (`{1}' and `{2}')"
868 #: mcs/mcs/class.cs:891
870 msgid "`{0}': Base class `{1}' must be specified as first"
873 #: mcs/mcs/class.cs:915
875 msgid "Partial declarations of `{0}' must not specify different base classes"
878 #: mcs/mcs/class.cs:996
881 "The operator `{0}' requires a matching operator `{1}' to also be defined"
884 #: mcs/mcs/class.cs:1021
886 msgid "`{0}' clashes with a predefined namespace"
889 #: mcs/mcs/class.cs:1150
892 "Inherited interface `{0}' causes a cycle in the interface hierarchy of `{1}'"
895 #: mcs/mcs/class.cs:1156
897 msgid "Circular base class dependency involving `{0}' and `{1}'"
900 #: mcs/mcs/class.cs:1183
903 "`{0}' cannot implement both `{1}' and `{2}' because they may unify for some "
904 "type parameter substitutions"
907 #: mcs/mcs/class.cs:1223
910 "The type `{0}' is defined in an assembly that is not referenced. Consider "
911 "adding a reference to assembly `{1}'"
914 #: mcs/mcs/class.cs:1339
917 "Partial declarations of `{0}' must have the same type parameter names in the "
921 #: mcs/mcs/class.cs:1346
924 "Partial declarations of `{0}' must have the same type parameter variance "
928 #: mcs/mcs/class.cs:1371
931 "Partial declarations of `{0}' have inconsistent constraints for type "
935 #: mcs/mcs/class.cs:1510
937 msgid "`{0}': cannot implement a dynamic interface `{1}'"
940 #: mcs/mcs/class.cs:1623
942 "Two indexers have different names; the IndexerName attribute must be used "
943 "with the same name on every indexer within a type"
946 #: mcs/mcs/class.cs:1957
948 msgid "A static member `{0}' cannot be marked as override, virtual or abstract"
951 #: mcs/mcs/class.cs:1964
953 msgid "A member `{0}' marked as override cannot be marked as new or virtual"
956 #: mcs/mcs/class.cs:1976
958 msgid "`{0}' cannot be both extern and abstract"
961 #: mcs/mcs/class.cs:1981
963 msgid "`{0}' cannot be both abstract and sealed"
966 #: mcs/mcs/class.cs:1986
968 msgid "The abstract method `{0}' cannot be marked virtual"
971 #: mcs/mcs/class.cs:1992
973 msgid "`{0}' is abstract but it is declared in the non-abstract class `{1}'"
976 #: mcs/mcs/class.cs:2000
978 msgid "`{0}': virtual or abstract members cannot be private"
981 #: mcs/mcs/class.cs:2007
983 msgid "`{0}' cannot be sealed because it is not an override"
986 #: mcs/mcs/class.cs:2054
988 msgid "`{0}': containing type does not implement interface `{1}'"
991 #: mcs/mcs/class.cs:2230
993 msgid "Type parameter `{0}' has same name as containing type, or method"
996 #: mcs/mcs/class.cs:2238
998 msgid "`{0}': member names cannot be the same as their enclosing type"
1001 #: mcs/mcs/class.cs:2404
1003 "The class System.Object cannot have a base class or implement an interface."
1006 #: mcs/mcs/class.cs:2412
1008 msgid "Attribute `{0}' is only valid on classes derived from System.Attribute"
1011 #: mcs/mcs/class.cs:2417
1013 "Attribute `System.Diagnostics.ConditionalAttribute' is only valid on methods "
1014 "or attribute classes"
1017 #: mcs/mcs/class.cs:2455
1019 msgid "`{0}': Static classes cannot contain user-defined operators"
1022 #: mcs/mcs/class.cs:2460
1024 msgid "`{0}': Static classes cannot contain destructor"
1027 #: mcs/mcs/class.cs:2465
1029 msgid "`{0}': cannot declare indexers in a static class"
1032 #: mcs/mcs/class.cs:2473
1034 msgid "`{0}': Static classes cannot have instance constructors"
1037 #: mcs/mcs/class.cs:2479
1039 msgid "`{0}': Extension methods must be declared static"
1042 #: mcs/mcs/class.cs:2483
1044 msgid "`{0}': cannot declare instance members in a static class"
1047 #: mcs/mcs/class.cs:2492
1049 msgid "`{0}': an abstract class cannot be sealed or static"
1052 #: mcs/mcs/class.cs:2496
1054 msgid "`{0}': a class cannot be both static and sealed"
1057 #: mcs/mcs/class.cs:2526
1059 msgid "`{0}': Cannot derive from type parameter `{1}'"
1062 #: mcs/mcs/class.cs:2530
1065 "A generic type cannot derive from `{0}' because it is an attribute class"
1068 #: mcs/mcs/class.cs:2534
1070 msgid "`{0}': Cannot derive from static class `{1}'"
1073 #: mcs/mcs/class.cs:2538
1075 msgid "`{0}': cannot derive from sealed type `{1}'"
1078 #: mcs/mcs/class.cs:2541
1081 "Static class `{0}' cannot derive from type `{1}'. Static classes must derive "
1085 #: mcs/mcs/class.cs:2548
1087 msgid "`{0}' cannot derive from special class `{1}'"
1090 #: mcs/mcs/class.cs:2556
1093 "Inconsistent accessibility: base class `{0}' is less accessible than class `"
1097 #: mcs/mcs/class.cs:2564
1099 msgid "Static class `{0}' cannot implement interfaces"
1102 #: mcs/mcs/class.cs:2683 mcs/mcs/class.cs:2694
1104 msgid "Struct member `{0}' of type `{1}' causes a cycle in the struct layout"
1107 #: mcs/mcs/class.cs:2784
1109 msgid "`{0}': Structs cannot have instance field initializers"
1112 #: mcs/mcs/class.cs:2965
1114 msgid "Do not override `{0}'. Use destructor syntax instead"
1117 #: mcs/mcs/class.cs:2968
1119 msgid "`{0}' is marked as an override but no suitable {1} found to override"
1122 #: mcs/mcs/class.cs:2974
1124 msgid "`{0}': cannot override because `{1}' is not an event"
1127 #: mcs/mcs/class.cs:2977
1129 msgid "`{0}': cannot override because `{1}' is not a property"
1132 #: mcs/mcs/class.cs:2980
1134 msgid "`{0}': cannot override because `{1}' is not a method"
1137 #: mcs/mcs/class.cs:3036 mcs/mcs/field.cs:187
1139 msgid "`{0}' hides inherited abstract member `{1}'"
1142 #: mcs/mcs/class.cs:3060
1145 "`{0}': cannot override inherited member `{1}' because it is not marked "
1146 "virtual, abstract or override"
1149 #: mcs/mcs/class.cs:3068
1151 msgid "`{0}': cannot override inherited member `{1}' because it is sealed"
1154 #: mcs/mcs/class.cs:3077
1156 msgid "`{0}': type must be `{1}' to match overridden member `{2}'"
1159 #: mcs/mcs/class.cs:3080
1161 msgid "`{0}': return type must be `{1}' to match overridden member `{2}'"
1164 #: mcs/mcs/class.cs:3152
1166 msgid "A partial method `{0}' cannot explicitly implement an interface"
1169 #: mcs/mcs/class.cs:3160
1171 msgid "The type `{0}' in explicit interface declaration is not an interface"
1174 #: mcs/mcs/class.cs:3191
1177 "Inconsistent accessibility: parameter type `{0}' is less accessible than "
1181 #: mcs/mcs/class.cs:3195
1184 "Inconsistent accessibility: parameter type `{0}' is less accessible than "
1188 #: mcs/mcs/class.cs:3199
1191 "Inconsistent accessibility: parameter type `{0}' is less accessible than "
1195 #: mcs/mcs/class.cs:3213
1198 "Constructor `{0}' is marked `external' but has no external implementation "
1202 #: mcs/mcs/class.cs:3216
1205 "`{0}' is marked as an external but has no DllImport attribute. Consider "
1206 "adding a DllImport attribute to specify the external implementation"
1209 #: mcs/mcs/class.cs:3245
1212 "`{0}': cannot change access modifiers when overriding `{1}' inherited member "
1216 #: mcs/mcs/class.cs:3254
1218 msgid "`{0}': static types cannot be used as return types"
1221 #: mcs/mcs/class.cs:3379
1223 msgid "New virtual member `{0}' is declared in a sealed class `{1}'"
1226 #: mcs/mcs/class.cs:3394
1227 msgid "Inconsistent accessibility: property type `"
1230 #: mcs/mcs/class.cs:3399
1231 msgid "Inconsistent accessibility: indexer return type `"
1234 #: mcs/mcs/class.cs:3405 mcs/mcs/class.cs:3410 mcs/mcs/delegate.cs:159
1235 msgid "Inconsistent accessibility: return type `"
1238 #: mcs/mcs/class.cs:3415
1239 msgid "Inconsistent accessibility: field type `"
1242 #: mcs/mcs/class.cs:3428
1244 msgid "Field or property cannot be of type `{0}'"
1247 #: mcs/mcs/const.cs:103
1249 msgid "Type parameter `{0}' cannot be declared const"
1252 #: mcs/mcs/const.cs:106
1254 msgid "The type `{0}' cannot be declared const"
1257 #: mcs/mcs/const.cs:181
1260 "The evaluation of the constant value for `{0}' involves a circular definition"
1263 #: mcs/mcs/constant.cs:68 mcs/mcs/constant.cs:319
1265 msgid "Constant value `{0}' cannot be converted to a `{1}'"
1268 #: mcs/mcs/constant.cs:187
1271 "Constant value `{0}' cannot be converted to a `{1}' (use `unchecked' syntax "
1275 #: mcs/mcs/convert.cs:1158
1278 "Ambiguous user defined operators `{0}' and `{1}' when converting from `{2}' "
1282 #: mcs/mcs/decl.cs:376
1284 msgid "`{0}' cannot declare a body because it is marked extern"
1287 #: mcs/mcs/decl.cs:382
1289 msgid "`{0}' cannot declare a body because it is marked abstract"
1292 #: mcs/mcs/decl.cs:395
1295 "`{0}' must have a body because it is not marked abstract or extern. The "
1296 "property can be automatically implemented when you define both accessors"
1299 #: mcs/mcs/decl.cs:401
1302 "`{0}' must have a body because it is not marked abstract, extern, or partial"
1305 #: mcs/mcs/decl.cs:416
1307 msgid "`{0}': Structs cannot contain protected members"
1310 #: mcs/mcs/decl.cs:422
1312 msgid "`{0}': Static classes cannot contain protected members"
1315 #: mcs/mcs/decl.cs:1264
1317 msgid "The namespace `{0}' already contains a definition for `{1}'"
1320 #: mcs/mcs/decl.cs:1268
1322 msgid "Duplicate type parameter `{0}'"
1325 #: mcs/mcs/decl.cs:1271
1327 msgid "The type `{0}' already contains a definition for `{1}'"
1330 #: mcs/mcs/decl.cs:1321
1333 "Missing partial modifier on declaration of type `{0}'. Another partial "
1334 "declaration of this type exists"
1337 #: mcs/mcs/decl.cs:1410
1338 msgid "Variant type parameters can only be used with interfaces and delegates"
1341 #: mcs/mcs/decl.cs:1422
1343 msgid "`{0}': A constraint references nonexistent type parameter `{1}'"
1346 #: mcs/mcs/delegate.cs:141
1349 "Inconsistent accessibility: parameter type `{0}' is less accessible than "
1353 #: mcs/mcs/delegate.cs:487
1356 "Cannot create delegate from method `{0}' because it is a member of System."
1360 #: mcs/mcs/delegate.cs:499
1363 "Extension method `{0}' of value type `{1}' cannot be used to create delegates"
1366 #: mcs/mcs/delegate.cs:514
1368 msgid "Cannot create delegate from partial method declaration `{0}'"
1371 #: mcs/mcs/delegate.cs:517
1374 "Cannot create delegate with `{0}' because it has a Conditional attribute"
1377 #: mcs/mcs/delegate.cs:560
1380 "A method or delegate `{0} {1}' parameters and return type must be same as "
1381 "delegate `{2} {3}' parameters and return type"
1384 #: mcs/mcs/delegate.cs:567
1387 "A method or delegate `{0}' parameters do not match delegate `{1}' parameters"
1390 #: mcs/mcs/delegate.cs:572
1393 "A method or delegate `{0} {1}' return type does not match delegate `{2} {3}' "
1397 #: mcs/mcs/delegate.cs:655
1398 msgid "Method name expected"
1401 #: mcs/mcs/doc.cs:914
1403 msgid "Error generating XML documentation file `{0}' (`{1}')"
1406 #: mcs/mcs/driver.cs:96 mcs/mcs/driver.cs:465 mcs/mcs/driver.cs:468
1407 msgid "Source file `"
1410 #: mcs/mcs/driver.cs:123
1412 msgid "Source file `{0}' could not be found"
1415 #: mcs/mcs/driver.cs:129
1417 msgid "Source file `{0}' is a binary file and not a text file"
1420 #: mcs/mcs/driver.cs:214
1422 "Invalid target type for -target. Valid options are `exe', `winexe', "
1423 "`library' or `module'"
1426 #: mcs/mcs/driver.cs:361
1427 msgid "Response file `"
1430 #: mcs/mcs/driver.cs:370
1431 msgid "Unable to open response file: "
1434 #: mcs/mcs/driver.cs:420 mcs/mcs/driver.cs:430
1435 msgid "No files to compile were specified"
1438 #: mcs/mcs/driver.cs:502
1439 msgid "Warning level must be in the range 0-4"
1442 #: mcs/mcs/driver.cs:536
1443 msgid "Compatibility: Use -main:CLASS instead of --main CLASS or -m CLASS"
1446 #: mcs/mcs/driver.cs:545
1447 msgid "Compatibility: Use -unsafe instead of --unsafe"
1450 #: mcs/mcs/driver.cs:556
1451 msgid "Compatibility: Use -d:SYMBOL instead of --define SYMBOL"
1454 #: mcs/mcs/driver.cs:570
1455 msgid "Compatibility: Use -out:FILE instead of --output FILE or -o FILE"
1458 #: mcs/mcs/driver.cs:579
1459 msgid "Compatibility: Use -checked instead of --checked"
1462 #: mcs/mcs/driver.cs:589
1463 msgid "Compatibility: Use -linkres:VALUE instead of --linkres VALUE"
1466 #: mcs/mcs/driver.cs:592
1467 msgid "Missing argument to --linkres"
1470 #: mcs/mcs/driver.cs:601
1471 msgid "Compatibility: Use -res:VALUE instead of --res VALUE"
1474 #: mcs/mcs/driver.cs:604
1475 msgid "Missing argument to --resource"
1478 #: mcs/mcs/driver.cs:612
1479 msgid "Compatibility: Use -target:KIND instead of --target KIND"
1482 #: mcs/mcs/driver.cs:644
1483 msgid "Compatibility: Use -r:LIBRARY instead of -r library"
1486 #: mcs/mcs/driver.cs:663
1487 msgid "Compatibility: Use -lib:ARG instead of --L arg"
1490 #: mcs/mcs/driver.cs:676
1491 msgid "Compatibility: Use -nostdlib instead of --nostdlib"
1494 #: mcs/mcs/driver.cs:681
1495 msgid "Compatibility: Use -nowarn instead of --nowarn"
1498 #: mcs/mcs/driver.cs:698
1499 msgid "Compatibility: Use -warn:LEVEL instead of --wlevel LEVEL"
1502 #: mcs/mcs/driver.cs:702
1503 msgid "--wlevel requires a value from 0 to 4"
1506 #: mcs/mcs/driver.cs:711
1507 msgid "--mcs-debug requires an argument"
1510 #: mcs/mcs/driver.cs:718
1511 msgid "Invalid argument to --mcs-debug"
1514 #: mcs/mcs/driver.cs:728
1515 msgid "Compatibility: Use -recurse:PATTERN option instead --recurse PATTERN"
1518 #: mcs/mcs/driver.cs:730
1519 msgid "--recurse requires an argument"
1522 #: mcs/mcs/driver.cs:741
1523 msgid "Compatibility: Use -debug option instead of -g or --debug"
1526 #: mcs/mcs/driver.cs:746
1527 msgid "Compatibility: Use -noconfig option instead of --noconfig"
1530 #: mcs/mcs/driver.cs:910
1532 msgid "Invalid conditional define symbol `{0}'"
1535 #: mcs/mcs/driver.cs:961
1538 "Invalid resource visibility option `{0}'. Use either `public' or `private' "
1542 #: mcs/mcs/driver.cs:967
1544 msgid "Wrong number of arguments for option `{0}'"
1547 #: mcs/mcs/driver.cs:1005
1548 msgid "Cannot specify multiple aliases using single /reference option"
1551 #: mcs/mcs/driver.cs:1033 mcs/mcs/driver.cs:1045
1553 "Cannot specify the `win32res' and the `win32ico' compiler option at the same "
1557 #: mcs/mcs/driver.cs:1160
1559 msgid "`{0}' is not a valid warning number"
1562 #: mcs/mcs/driver.cs:1190
1564 "Invalid platform type for -platform. Valid options are `anycpu', `x86', "
1565 "`x64' or `itanium'"
1568 #: mcs/mcs/driver.cs:1288
1571 "Invalid -langversion option `{0}'. It must be `ISO-1', `ISO-2', `3' or "
1575 #: mcs/mcs/driver.cs:1308
1577 msgid "Code page `{0}' is invalid or not installed"
1580 #: mcs/mcs/driver.cs:1323
1582 msgid "Unrecognized command-line option: `{0}'"
1585 #: mcs/mcs/driver.cs:1328
1587 msgid "Missing file specification for `{0}' option"
1590 #: mcs/mcs/driver.cs:1333
1592 msgid "Missing argument for `{0}' option"
1595 #: mcs/mcs/driver.cs:1368
1597 msgid "Invalid reference alias `{0}='. Missing filename"
1600 #: mcs/mcs/driver.cs:1373
1603 "Invalid extern alias for -reference. Alias `{0}' is not a valid identifier"
1606 #: mcs/mcs/driver.cs:1389
1608 msgid "The resource identifier `{0}' has already been used in this assembly"
1611 #: mcs/mcs/driver.cs:1450
1613 "If no source files are specified you must specify the output file with -out:"
1616 #: mcs/mcs/dynamic.cs:272
1617 msgid "An expression tree cannot contain a dynamic operation"
1620 #: mcs/mcs/dynamic.cs:302
1622 "Dynamic operation cannot be compiled without `Microsoft.CSharp.dll' assembly "
1626 #: mcs/mcs/ecore.cs:242
1628 msgid "`{0}' is inaccessible due to its protection level"
1631 #: mcs/mcs/ecore.cs:247
1633 msgid "The expression being assigned to `{0}' must be constant"
1636 #: mcs/mcs/ecore.cs:252
1639 "A constant `{0}' of reference type `{1}' can only be initialized with null"
1642 #: mcs/mcs/ecore.cs:258
1644 "Only assignment, call, increment, decrement, and new object expressions can "
1645 "be used as a statement"
1648 #: mcs/mcs/ecore.cs:269
1649 msgid "Keyword `void' cannot be used in this context"
1652 #: mcs/mcs/ecore.cs:303
1654 msgid "Cannot convert type `{0}' to `{1}'"
1657 #: mcs/mcs/ecore.cs:313
1660 "Cannot implicitly convert type `{0}' to `{1}'. An explicit conversion exists "
1661 "(are you missing a cast?)"
1664 #: mcs/mcs/ecore.cs:319
1666 msgid "Cannot implicitly convert type `{0}' to `{1}'"
1669 #: mcs/mcs/ecore.cs:360
1671 msgid "`{0}' does not contain a definition for `{1}'"
1674 #: mcs/mcs/ecore.cs:366
1676 "The left-hand side of an assignment must be a variable, a property or an "
1680 #: mcs/mcs/ecore.cs:371
1681 msgid "The operation in question is undefined on void pointers"
1684 #: mcs/mcs/ecore.cs:433 mcs/mcs/statement.cs:2558 mcs/mcs/statement.cs:2560
1686 msgid "Internal compiler error: {0}"
1689 #: mcs/mcs/ecore.cs:473
1690 msgid "A ref or out argument must be an assignable variable"
1693 #: mcs/mcs/ecore.cs:492
1695 "An attribute argument must be a constant expression, typeof expression or "
1696 "array creation expression"
1699 #: mcs/mcs/ecore.cs:563
1701 msgid "The class `{0}' has no constructors defined"
1704 #: mcs/mcs/ecore.cs:648
1706 msgid "Ambiguity between `{0}' and `{1}'"
1709 #: mcs/mcs/ecore.cs:675
1710 msgid "An expression tree cannot contain an unsafe pointer operation"
1713 #: mcs/mcs/ecore.cs:796
1715 msgid "Expression denotes a `{0}', where a `{1}' was expected"
1718 #: mcs/mcs/ecore.cs:806
1719 msgid "Pointers and fixed size buffers may only be used in an unsafe context"
1722 #: mcs/mcs/ecore.cs:841
1725 "Members of value type `{0}' cannot be assigned using a property `{1}' object "
1729 #: mcs/mcs/ecore.cs:844
1732 "Cannot modify a value type return value of `{0}'. Consider storing the value "
1733 "in a temporary variable"
1736 #: mcs/mcs/ecore.cs:2270
1739 "Dynamic keyword requires `{0}' to be defined. Are you missing System.Core."
1740 "dll assembly reference?"
1743 #: mcs/mcs/ecore.cs:2344
1746 "A local variable `{0}' cannot be used before it is declared. Consider "
1747 "renaming the local variable when it hides the member `{1}'"
1750 #: mcs/mcs/ecore.cs:2359 mcs/mcs/ecore.cs:2403
1752 msgid "`{0}' conflicts with a declaration in a child block"
1755 #: mcs/mcs/ecore.cs:2412
1757 msgid "A local variable `{0}' cannot be used before it is declared"
1760 #: mcs/mcs/ecore.cs:2414
1762 msgid "The name `{0}' does not exist in the current context"
1765 #: mcs/mcs/ecore.cs:2664
1768 "Cannot access protected member `{0}' via a qualifier of type `{1}'. The "
1769 "qualifier must be of type `{2}' or derived from it"
1772 #: mcs/mcs/ecore.cs:2708
1774 msgid "Cannot call an abstract base member `{0}'"
1777 #: mcs/mcs/ecore.cs:2747
1780 "Static member `{0}' cannot be accessed with an instance reference, qualify "
1781 "it with a type name instead"
1784 #: mcs/mcs/ecore.cs:2762
1787 "A field initializer cannot reference the nonstatic field, method, or "
1791 #: mcs/mcs/ecore.cs:2766
1793 msgid "An object reference is required to access non-static member `{0}'"
1796 #: mcs/mcs/ecore.cs:2774
1799 "Cannot access a nonstatic member of outer type `{0}' via nested type `{1}'"
1802 #: mcs/mcs/ecore.cs:2822
1803 msgid "Cannot modify the result of an unboxing conversion"
1806 #: mcs/mcs/ecore.cs:2943
1809 "Type `{0}' does not contain a member `{1}' and the best extension method "
1810 "overload `{2}' has some invalid arguments"
1813 #: mcs/mcs/ecore.cs:2948
1815 msgid "Extension method instance type `{0}' cannot be converted to `{1}'"
1818 #: mcs/mcs/ecore.cs:3072
1819 msgid "An expression tree cannot contain an expression with method group"
1822 #: mcs/mcs/ecore.cs:3078
1824 "Partial methods with only a defining declaration or removed conditional "
1825 "methods cannot be used in an expression tree"
1828 #: mcs/mcs/ecore.cs:3108
1831 "Cannot convert method group `{0}' to non-delegate type `{1}'. Consider using "
1832 "parentheses to invoke the method"
1835 #: mcs/mcs/ecore.cs:3676
1838 "The type `{0}' does not contain a constructor that takes `{1}' arguments"
1841 #: mcs/mcs/ecore.cs:4284
1844 "Type `{0}' does not contain a member `{1}' and the best extension method "
1845 "overload `{2}' cannot be dynamically dispatched. Consider calling the method "
1846 "without the extension method syntax"
1849 #: mcs/mcs/ecore.cs:4305
1852 "The call is ambiguous between the following methods or properties: `{0}' and "
1856 #: mcs/mcs/ecore.cs:4360
1859 "The best overloaded collection initalizer method `{0}' cannot have 'ref', or "
1863 #: mcs/mcs/ecore.cs:4364
1866 "The best overloaded collection initalizer method `{0}' has some invalid "
1870 #: mcs/mcs/ecore.cs:4367
1872 msgid "Delegate `{0}' has some invalid arguments"
1875 #: mcs/mcs/ecore.cs:4371
1877 msgid "The best overloaded method match for `{0}' has some invalid arguments"
1880 #: mcs/mcs/ecore.cs:4381
1883 "Argument `#{0}' does not require `{1}' modifier. Consider removing `{1}' "
1887 #: mcs/mcs/ecore.cs:4384
1889 msgid "Argument `#{0}' is missing `{1}' modifier"
1892 #: mcs/mcs/ecore.cs:4397
1894 msgid "Argument `#{0}' cannot convert `{1}' expression to type `{2}'"
1897 #: mcs/mcs/ecore.cs:4445
1900 "The type arguments for method `{0}' cannot be inferred from the usage. Try "
1901 "specifying the type arguments explicitly"
1904 #: mcs/mcs/ecore.cs:4474
1906 msgid "No overload for method `{0}' takes `{1}' arguments"
1909 #: mcs/mcs/ecore.cs:4527
1911 msgid "The delegate `{0}' does not contain a parameter named `{1}'"
1914 #: mcs/mcs/ecore.cs:4532
1917 "The best overloaded method match for `{0}' does not contain a parameter "
1921 #: mcs/mcs/ecore.cs:4542
1924 "Named argument `{0}' cannot be used for a parameter which has positional "
1925 "argument specified"
1928 #: mcs/mcs/ecore.cs:4855
1930 "You cannot use fixed size buffers contained in unfixed expressions. Try "
1931 "using the fixed statement"
1934 #: mcs/mcs/ecore.cs:4860
1936 msgid "`{0}': Fixed size buffers can only be accessed through locals or fields"
1939 #: mcs/mcs/ecore.cs:5255
1941 msgid "Property or event `{0}' is not supported by the C# language"
1944 #: mcs/mcs/ecore.cs:5416
1946 msgid "A range variable `{0}' may not be passes as `ref' or `out' parameter"
1949 #: mcs/mcs/ecore.cs:5464
1952 "The property or indexer `{0}' cannot be used in this context because it "
1953 "lacks the `get' accessor"
1956 #: mcs/mcs/ecore.cs:5471
1959 "The property or indexer `{0}' cannot be used in this context because the get "
1960 "accessor is inaccessible"
1963 #: mcs/mcs/ecore.cs:5490
1965 msgid "Property or indexer `{0}' cannot be assigned to (it is read-only)"
1968 #: mcs/mcs/ecore.cs:5498
1971 "The property or indexer `{0}' cannot be used in this context because the set "
1972 "accessor is inaccessible"
1975 #: mcs/mcs/ecore.cs:5659
1978 "The event `{0}' can only appear on the left hand side of `+=' or `-=' "
1982 #: mcs/mcs/ecore.cs:5663
1985 "The event `{0}' can only appear on the left hand side of += or -= when used "
1986 "outside of the type `{1}'"
1989 #: mcs/mcs/ecore.cs:5827
1992 "An implicitly typed local variable declaration cannot be initialized with `"
1996 #: mcs/mcs/ecore.cs:5841
1998 "The contextual keyword `var' may only appear within a local variable "
2002 #: mcs/mcs/enum.cs:125
2005 "The enumerator value `{0}' is outside the range of enumerator underlying "
2009 #: mcs/mcs/enum.cs:189
2011 msgid "An item in an enumeration cannot have an identifier `{0}'"
2014 #: mcs/mcs/enum.cs:200
2015 msgid "Type byte, sbyte, short, ushort, int, uint, long or ulong expected"
2018 #: mcs/mcs/eval.cs:625
2019 msgid "Detection Parsing Error"
2022 #: mcs/mcs/expression.cs:542
2024 msgid "The `{0}' operator cannot be applied to operand of type `{1}'"
2027 #: mcs/mcs/expression.cs:622
2028 msgid "Cannot take the address of the given expression"
2031 #: mcs/mcs/expression.cs:656
2033 "You can only take the address of unfixed expression inside of a fixed "
2034 "statement initializer"
2037 #: mcs/mcs/expression.cs:745
2039 msgid "Operator `{0}' is ambiguous on an operand of type `{1}'"
2042 #: mcs/mcs/expression.cs:868
2043 msgid "The * or -> operator must be applied to a pointer"
2046 #: mcs/mcs/expression.cs:1070
2048 "The operand of an increment or decrement operator must be a variable, "
2049 "property or indexer"
2052 #: mcs/mcs/expression.cs:1260
2054 msgid "The `{0}' operator cannot be applied to an operand of a static type"
2057 #: mcs/mcs/expression.cs:1265
2059 msgid "The `{0}' operator cannot be applied to an operand of pointer type"
2062 #: mcs/mcs/expression.cs:1271
2065 "The `{0}' operator cannot be applied to a lambda expression or anonymous "
2069 #: mcs/mcs/expression.cs:1507
2072 "The `as' operator cannot be used with a non-reference type parameter `{0}'. "
2073 "Consider adding `class' or a reference type constraint"
2076 #: mcs/mcs/expression.cs:1511
2078 msgid "The `as' operator cannot be used with a non-nullable value type `{0}'"
2081 #: mcs/mcs/expression.cs:1548
2083 msgid "Cannot convert type `{0}' to `{1}' via a built-in conversion"
2086 #: mcs/mcs/expression.cs:1589
2088 msgid "Cannot convert to static type `{0}'"
2091 #: mcs/mcs/expression.cs:1679
2093 "The `default value' operator cannot be applied to an operand of a static type"
2096 #: mcs/mcs/expression.cs:2184
2098 msgid "Operator `{0}' cannot be applied to operands of type `{1}' and `{2}'"
2101 #: mcs/mcs/expression.cs:2747
2102 msgid "To cast a negative value, you must enclose the value in parentheses"
2105 #: mcs/mcs/expression.cs:3400
2107 msgid "Operator `{0}' is ambiguous on operands of type `{1}' and `{2}'"
2110 #: mcs/mcs/expression.cs:4152
2113 "A user-defined operator `{0}' must have parameters and return values of the "
2114 "same type in order to be applicable as a short circuit operator"
2117 #: mcs/mcs/expression.cs:4162
2120 "The type `{0}' must have operator `true' and operator `false' defined when `"
2121 "{1}' is used as a short circuit operator"
2124 #: mcs/mcs/expression.cs:4472
2127 "Type of conditional expression cannot be determined as `{0}' and `{1}' "
2128 "convert implicitly to each other"
2131 #: mcs/mcs/expression.cs:4482
2134 "Type of conditional expression cannot be determined because there is no "
2135 "implicit conversion between `{0}' and `{1}'"
2138 #: mcs/mcs/expression.cs:4934
2140 msgid "Use of unassigned out parameter `{0}'"
2143 #: mcs/mcs/expression.cs:4964
2146 "Parameter `{0}' cannot be used inside `{1}' when using `ref' or `out' "
2150 #: mcs/mcs/expression.cs:5165
2152 msgid "Cannot invoke a non-delegate type `{0}'"
2155 #: mcs/mcs/expression.cs:5176
2157 msgid "The member `{0}' cannot be used as method or delegate"
2160 #: mcs/mcs/expression.cs:5196
2162 "Do not directly call your base class Finalize method. It is called "
2163 "automatically from your destructor"
2166 #: mcs/mcs/expression.cs:5198
2168 "Destructors and object.Finalize cannot be called directly. Consider calling "
2169 "IDisposable.Dispose if available"
2172 #: mcs/mcs/expression.cs:5227
2175 "The base call to method `{0}' cannot be dynamically dispatched. Consider "
2176 "casting the dynamic arguments or eliminating the base access"
2179 #: mcs/mcs/expression.cs:5304
2181 msgid "`{0}': cannot explicitly call operator or accessor"
2184 #: mcs/mcs/expression.cs:5631
2186 msgid "Unsafe type `{0}' cannot be used in an object creation expression"
2189 #: mcs/mcs/expression.cs:5654
2192 "Cannot create an instance of the variable type `{0}' because it does not "
2193 "have the new() constraint"
2196 #: mcs/mcs/expression.cs:5660
2199 "`{0}': cannot provide arguments when creating an instance of a variable type"
2202 #: mcs/mcs/expression.cs:5669
2204 msgid "Cannot create an instance of the static class `{0}'"
2207 #: mcs/mcs/expression.cs:5681
2209 msgid "Cannot create an instance of the abstract class or interface `{0}'"
2212 #: mcs/mcs/expression.cs:5977
2214 "An implicitly typed local variable declarator cannot use an array initializer"
2217 #: mcs/mcs/expression.cs:6070
2218 msgid "Cannot create an array with a negative size"
2221 #: mcs/mcs/expression.cs:6102 mcs/mcs/expression.cs:6110
2222 #: mcs/mcs/statement.cs:1009 mcs/mcs/statement.cs:3055
2223 msgid "A constant value is expected"
2226 #: mcs/mcs/expression.cs:6116
2228 msgid "An array initializer of length `{0}' was expected"
2231 #: mcs/mcs/expression.cs:6132
2233 "Array initializers can only be used in a variable or field initializer. Try "
2234 "using a new expression instead"
2237 #: mcs/mcs/expression.cs:6140
2238 msgid "A nested array initializer was expected"
2241 #: mcs/mcs/expression.cs:6177
2242 msgid "An expression tree cannot contain a multidimensional array initializer"
2245 #: mcs/mcs/expression.cs:6279
2247 "Can only use array initializer expressions to assign to array types. Try "
2248 "using a new expression instead"
2251 #: mcs/mcs/expression.cs:6718
2253 "The type of an implicitly typed array cannot be inferred from the "
2254 "initializer. Try specifying array type explicitly"
2257 #: mcs/mcs/expression.cs:6855
2259 "The `this' object cannot be used before all of its fields are assigned to"
2262 #: mcs/mcs/expression.cs:6862
2264 "Keyword `this' is not valid in a static property, static method, or static "
2268 #: mcs/mcs/expression.cs:6865
2270 "Anonymous methods inside structs cannot access instance members of `this'. "
2271 "Consider copying `this' to a local variable outside the anonymous method and "
2272 "using the local instead"
2275 #: mcs/mcs/expression.cs:6868
2276 msgid "Keyword `this' is not available in the current context"
2279 #: mcs/mcs/expression.cs:6955
2280 msgid "Cannot take the address of `this' because it is read-only"
2283 #: mcs/mcs/expression.cs:6957
2284 msgid "Cannot pass `this' as a ref or out argument because it is read-only"
2287 #: mcs/mcs/expression.cs:6959
2288 msgid "Cannot assign to `this' because it is read-only"
2291 #: mcs/mcs/expression.cs:7012
2292 msgid "The __arglist construct is valid only within a variable argument method"
2295 #: mcs/mcs/expression.cs:7062
2296 msgid "An expression tree cannot contain a method with variable arguments"
2299 #: mcs/mcs/expression.cs:7146
2301 "System.Void cannot be used from C#. Use typeof (void) to get the void type "
2305 #: mcs/mcs/expression.cs:7149
2306 msgid "The typeof operator cannot be used on the dynamic type"
2309 #: mcs/mcs/expression.cs:7218
2311 msgid "`{0}': an attribute argument cannot use type parameters"
2314 #: mcs/mcs/expression.cs:7472
2317 "`{0}' does not have a predefined size, therefore sizeof can only be used in "
2318 "an unsafe context (consider using System.Runtime.InteropServices.Marshal."
2322 #: mcs/mcs/expression.cs:7528
2324 msgid "Alias `{0}' not found"
2327 #: mcs/mcs/expression.cs:7539
2330 "Alias `{0}' cannot be used with '::' since it denotes a type. Consider "
2331 "replacing '::' with '.'"
2334 #: mcs/mcs/expression.cs:7555
2337 "A namespace alias qualifier `{0}' did not resolve to a namespace or a type"
2340 #: mcs/mcs/expression.cs:7712
2341 msgid "Cannot perform member binding on `null' value"
2344 #: mcs/mcs/expression.cs:7779
2346 msgid "`{0}': cannot reference a type through an expression; try `{1}' instead"
2349 #: mcs/mcs/expression.cs:7855
2351 msgid "A nested type cannot be specified through a type parameter `{0}'"
2354 #: mcs/mcs/expression.cs:7914
2356 msgid "The nested type `{0}' does not exist in the type `{1}'"
2359 #: mcs/mcs/expression.cs:7923
2362 "Type `{0}' does not contain a definition for `{1}' and no extension method `"
2363 "{1}' of type `{0}' could be found (are you missing a using directive or an "
2364 "assembly reference?)"
2367 #: mcs/mcs/expression.cs:8103
2369 msgid "Cannot apply indexing with [] to an expression of type `{0}'"
2372 #: mcs/mcs/expression.cs:8119
2373 msgid "A pointer must be indexed by only one value"
2376 #: mcs/mcs/expression.cs:8168
2377 msgid "An element access expression cannot use named argument"
2380 #: mcs/mcs/expression.cs:8224
2382 msgid "Wrong number of indexes `{0}' inside [], expected `{1}'"
2385 #: mcs/mcs/expression.cs:8560
2387 "The indexer base access cannot be dynamically dispatched. Consider casting "
2388 "the dynamic arguments or eliminating the base access"
2391 #: mcs/mcs/expression.cs:8641
2392 msgid "An expression tree may not contain a base access"
2395 #: mcs/mcs/expression.cs:8658
2396 msgid "Keyword `base' is not available in a static method"
2399 #: mcs/mcs/expression.cs:8660
2400 msgid "Keyword `base' is not available in the current context"
2403 #: mcs/mcs/expression.cs:8691
2405 "A property, indexer or dynamic member access may not be passed as `ref' or "
2409 #: mcs/mcs/expression.cs:8968
2411 msgid "Array elements cannot be of type `{0}'"
2414 #: mcs/mcs/expression.cs:8971
2416 msgid "Array elements cannot be of static type `{0}'"
2419 #: mcs/mcs/expression.cs:9121
2420 msgid "Cannot use a negative size with stackalloc"
2423 #: mcs/mcs/expression.cs:9125
2424 msgid "Cannot use stackalloc in finally or catch"
2427 #: mcs/mcs/expression.cs:9230
2430 "Member `{0}' cannot be initialized. An object initializer may only be used "
2431 "for fields, or properties"
2434 #: mcs/mcs/expression.cs:9239
2437 "Static field or property `{0}' cannot be assigned in an object initializer"
2440 #: mcs/mcs/expression.cs:9414
2443 "A field or property `{0}' cannot be initialized with a collection object "
2444 "initializer because type `{1}' does not implement `{2}' interface"
2447 #: mcs/mcs/expression.cs:9425
2449 msgid "Inconsistent `{0}' member declaration"
2452 #: mcs/mcs/expression.cs:9433
2455 "An object initializer includes more than one member `{0}' initialization"
2458 #: mcs/mcs/expression.cs:9451
2460 msgid "Cannot initialize object of type `{0}' with a collection initializer"
2463 #: mcs/mcs/expression.cs:9688
2464 msgid "Anonymous types cannot be used in this expression"
2467 #: mcs/mcs/expression.cs:9776
2469 msgid "An anonymous type property `{0}' cannot be initialized with `{1}'"
2472 #: mcs/mcs/field.cs:70
2474 "The modifier 'abstract' is not valid on fields. Try using a property instead"
2477 #: mcs/mcs/field.cs:121
2479 "The FieldOffset attribute can only be placed on members of types marked with "
2480 "the StructLayout(LayoutKind.Explicit)"
2483 #: mcs/mcs/field.cs:126
2484 msgid "The FieldOffset attribute is not allowed on static or const fields"
2487 #: mcs/mcs/field.cs:132
2489 "Do not use 'System.Runtime.CompilerServices.FixedBuffer' attribute. Use the "
2490 "'fixed' field modifier instead"
2493 #: mcs/mcs/field.cs:237
2496 "`{0}': Instance field types marked with StructLayout(LayoutKind.Explicit) "
2497 "must have a FieldOffset attribute"
2500 #: mcs/mcs/field.cs:246
2502 msgid "`{0}': cannot declare variables of static types"
2505 #: mcs/mcs/field.cs:388
2508 "`{0}': Fixed size buffers type must be one of the following: bool, byte, "
2509 "short, int, long, char, sbyte, ushort, uint, ulong, float or double"
2512 #: mcs/mcs/field.cs:424
2514 msgid "`{0}': Fixed size buffer fields may only be members of structs"
2517 #: mcs/mcs/field.cs:439
2519 msgid "`{0}': Fixed size buffers must have a length greater than zero"
2522 #: mcs/mcs/field.cs:446
2525 "Fixed size buffer `{0}' of length `{1}' and type `{2}' exceeded 2^31 limit"
2528 #: mcs/mcs/field.cs:628
2530 msgid "`{0}': A volatile field cannot be of the type `{1}'"
2533 #: mcs/mcs/field.cs:633
2535 msgid "`{0}': A field cannot be both volatile and readonly"
2538 #: mcs/mcs/flowanalysis.cs:307
2539 msgid "Control cannot fall through from one case label to another"
2542 #: mcs/mcs/flowanalysis.cs:536
2545 "The label `{0}:' could not be found within the scope of the goto statement"
2548 #: mcs/mcs/flowanalysis.cs:664
2550 "A throw statement with no arguments is not allowed outside of a catch clause"
2553 #: mcs/mcs/flowanalysis.cs:675 mcs/mcs/flowanalysis.cs:681
2554 msgid "No enclosing loop out of which to break or continue"
2557 #: mcs/mcs/flowanalysis.cs:709
2558 msgid "Control cannot leave the body of an anonymous method"
2561 #: mcs/mcs/flowanalysis.cs:750
2562 msgid "Cannot yield a value in the body of a try block with a catch clause"
2565 #: mcs/mcs/flowanalysis.cs:752
2566 msgid "Cannot yield a value in the body of a catch clause"
2569 #: mcs/mcs/flowanalysis.cs:904
2571 "A throw statement with no arguments is not allowed inside of a finally "
2572 "clause nested inside of the innermost catch clause"
2575 #: mcs/mcs/flowanalysis.cs:916 mcs/mcs/iterators.cs:102
2576 msgid "Cannot yield in the body of a finally clause"
2579 #: mcs/mcs/flowanalysis.cs:927 mcs/mcs/flowanalysis.cs:943
2580 #: mcs/mcs/flowanalysis.cs:979 mcs/mcs/statement.cs:694
2581 msgid "Control cannot leave the body of a finally clause"
2584 #: mcs/mcs/flowanalysis.cs:1130
2587 "An automatically implemented property `{0}' must be fully assigned before "
2588 "control leaves the constructor. Consider calling the default struct "
2589 "contructor from a constructor initializer"
2592 #: mcs/mcs/flowanalysis.cs:1134
2595 "Field `{0}' must be fully assigned before control leaves the constructor"
2598 #: mcs/mcs/flowanalysis.cs:1376
2599 msgid "Use of unassigned local variable `"
2602 #: mcs/mcs/flowanalysis.cs:1446
2603 msgid "Use of possibly unassigned field `"
2606 #: mcs/mcs/generic.cs:102 mcs/mcs/generic.cs:120
2608 msgid "Type parameter `{0}' inherits conflicting constraints `{1}' and `{2}'"
2611 #: mcs/mcs/generic.cs:173
2613 msgid "A constraint cannot be the dynamic type `{0}'"
2616 #: mcs/mcs/generic.cs:182
2619 "Inconsistent accessibility: constraint type `{0}' is less accessible than `"
2623 #: mcs/mcs/generic.cs:189 mcs/mcs/generic.cs:203
2625 msgid "Duplicate constraint `{0}' for type parameter `{1}'"
2628 #: mcs/mcs/generic.cs:218
2630 msgid "Circular constraint dependency involving `{0}' and `{1}'"
2633 #: mcs/mcs/generic.cs:249
2636 "Type parameter `{0}' has the `struct' constraint, so it cannot be used as a "
2637 "constraint for `{1}'"
2640 #: mcs/mcs/generic.cs:260
2643 "The class type constraint `{0}' must be listed before any other constraints. "
2644 "Consider moving type constraint to the beginning of the constraint list"
2647 #: mcs/mcs/generic.cs:266
2650 "`{0}': cannot specify both a constraint class and the `class' or `struct' "
2654 #: mcs/mcs/generic.cs:271
2655 msgid "A constraint cannot be the dynamic type"
2658 #: mcs/mcs/generic.cs:277
2661 "`{0}' is not a valid constraint. A constraint must be an interface, a non-"
2662 "sealed class or a type parameter"
2665 #: mcs/mcs/generic.cs:284
2668 "`{0}' is not a valid constraint. Static classes cannot be used as constraints"
2671 #: mcs/mcs/generic.cs:290
2673 msgid "A constraint cannot be special class `{0}'"
2676 #: mcs/mcs/generic.cs:538
2678 msgid "The {2} type parameter `{0}' must be {3} valid on `{1}{4}'"
2681 #: mcs/mcs/generic.cs:1720
2683 msgid "`{0}': static classes cannot be used as generic arguments"
2686 #: mcs/mcs/generic.cs:1727
2688 msgid "The type `{0}' may not be used as a type argument"
2691 #: mcs/mcs/generic.cs:1982
2694 "The type `{0}' must be a reference type in order to use it as type parameter "
2695 "`{1}' in the generic type or method `{2}'"
2698 #: mcs/mcs/generic.cs:1992
2701 "The type `{0}' must be a non-nullable value type in order to use it as type "
2702 "parameter `{1}' in the generic type or method `{2}'"
2705 #: mcs/mcs/generic.cs:2022
2708 "The type `{0}' cannot be used as type parameter `{1}' in the generic type or "
2709 "method `{2}'. The nullable type `{0}' never satisfies interface constraint"
2712 #: mcs/mcs/generic.cs:2061
2715 "The type `{0}' must have a public parameterless constructor in order to use "
2716 "it as parameter `{1}' in the generic type or method `{2}'"
2719 #: mcs/mcs/generic.cs:2113
2722 "The type `{0}' cannot be used as type parameter `{1}' in the generic type or "
2723 "method `{2}'. There is no boxing conversion from `{0}' to `{3}'"
2726 #: mcs/mcs/generic.cs:2117
2729 "The type `{0}' cannot be used as type parameter `{1}' in the generic type or "
2730 "method `{2}'. There is no boxing or type parameter conversion from `{0}' to `"
2734 #: mcs/mcs/generic.cs:2121
2737 "The type `{0}' cannot be used as type parameter `{1}' in the generic type or "
2738 "method `{2}'. There is no implicit reference conversion from `{0}' to `{3}'"
2741 #: mcs/mcs/iterators.cs:44
2742 msgid "The yield statement cannot be used inside anonymous method blocks"
2745 #: mcs/mcs/iterators.cs:856
2748 "The body of `{0}' cannot be an iterator block because `{1}' is not an "
2749 "iterator interface type"
2752 #: mcs/mcs/iterators.cs:869
2753 msgid "Iterators cannot have ref or out parameters"
2756 #: mcs/mcs/iterators.cs:875
2757 msgid "__arglist is not allowed in parameter list of iterators"
2760 #: mcs/mcs/iterators.cs:881
2761 msgid "Iterators cannot have unsafe parameters or yield types"
2764 #: mcs/mcs/iterators.cs:888 mcs/mcs/statement.cs:4324
2765 msgid "Unsafe code may not appear in iterators"
2768 #: mcs/mcs/linq.cs:68
2771 "An implementation of `{0}' query expression pattern could not be found. Are "
2772 "you missing `System.Linq' using directive or `System.Core.dll' assembly "
2776 #: mcs/mcs/linq.cs:93
2779 "Ambiguous implementation of the query pattern `{0}' for source type `{1}'"
2782 #: mcs/mcs/linq.cs:124
2785 "An implementation of `{0}' query expression pattern for source type `{1}' "
2786 "could not be found"
2789 #: mcs/mcs/linq.cs:132
2792 "An expression type is incorrect in a subsequent `from' clause in a query "
2793 "expression with source type `{0}'"
2796 #: mcs/mcs/linq.cs:136
2799 "An expression type in `{0}' clause is incorrect. Type inference failed in "
2803 #: mcs/mcs/linq.cs:248
2805 msgid "A range variable `{0}' cannot be initialized with `{1}'"
2808 #: mcs/mcs/linq.cs:750
2810 msgid "A range variable `{0}' conflicts with a previous declaration of `{0}'"
2813 #: mcs/mcs/linq.cs:757
2815 msgid "A range variable `{0}' has already been declared in this scope"
2818 #: mcs/mcs/linq.cs:764
2820 msgid "A range variable `{0}' conflicts with a method type parameter"
2823 #: mcs/mcs/linq.cs:796
2826 "A range variable `{0}' cannot be assigned to. Consider using `let' clause to "
2830 #: mcs/mcs/literal.cs:49
2833 "Cannot convert null to the type parameter `{0}' because it could be a value "
2834 "type. Consider using `default ({0})' instead"
2837 #: mcs/mcs/literal.cs:55
2839 msgid "Cannot convert null to `{0}' because it is a value type"
2842 #: mcs/mcs/literal.cs:204
2845 "Literal of type double cannot be implicitly converted to type `{0}'. Add "
2846 "suffix `{1}' to create a literal of this type"
2849 #: mcs/mcs/membercache.cs:1261
2851 "A partial method declaration and partial method implementation cannot differ "
2852 "on use of `params' modifier"
2855 #: mcs/mcs/membercache.cs:1264
2857 "A partial method declaration and partial method implementation must be both "
2858 "an extension method or neither"
2861 #: mcs/mcs/membercache.cs:1268
2864 "Overloaded contructor `{0}' cannot differ on use of parameter modifiers only"
2867 #: mcs/mcs/membercache.cs:1272
2870 "Overloaded method `{0}' cannot differ on use of parameter modifiers only"
2873 #: mcs/mcs/membercache.cs:1304
2875 "A partial method declaration and partial method implementation must be both "
2876 "`static' or neither"
2879 #: mcs/mcs/membercache.cs:1309
2881 "A partial method declaration and partial method implementation must be both "
2882 "`unsafe' or neither"
2885 #: mcs/mcs/membercache.cs:1315
2887 msgid "A partial method `{0}' declaration is already defined"
2890 #: mcs/mcs/membercache.cs:1319
2892 msgid "A partial method `{0}' implementation is already defined"
2895 #: mcs/mcs/membercache.cs:1330 mcs/mcs/property.cs:81
2897 msgid "A member `{0}' is already reserved"
2900 #: mcs/mcs/membercache.cs:1341
2902 msgid "Duplicate user-defined conversion in type `{0}'"
2905 #: mcs/mcs/method.cs:484
2907 "The DllImport attribute must be specified on a method marked `static' and "
2911 #: mcs/mcs/method.cs:572
2913 msgid "`{0}': A partial method parameters cannot use `out' modifier"
2916 #: mcs/mcs/method.cs:631
2919 "Conditional not valid on `{0}' because it is a constructor, destructor, "
2920 "operator or explicit interface implementation"
2923 #: mcs/mcs/method.cs:844
2925 msgid "Program `{0}' has more than one entry point defined: `{1}'"
2928 #: mcs/mcs/method.cs:888
2930 msgid "Conditional not valid on `{0}' because it is an override method"
2933 #: mcs/mcs/method.cs:893
2935 msgid "Conditional not valid on `{0}' because its return type is not void"
2938 #: mcs/mcs/method.cs:898
2939 msgid "Conditional not valid on interface members"
2942 #: mcs/mcs/method.cs:904
2944 msgid "Conditional member `{0}' cannot implement interface member `{1}'"
2947 #: mcs/mcs/method.cs:911
2949 msgid "Conditional method `{0}' cannot have an out parameter"
2952 #: mcs/mcs/method.cs:1017
2955 "The constraints for type parameter `{0}' of method `{1}' must match the "
2956 "constraints for type parameter `{2}' of interface method `{3}'. Consider "
2957 "using an explicit interface implementation instead"
2960 #: mcs/mcs/method.cs:1071
2962 msgid "`{0}': Extension methods cannot be defined in a nested class"
2965 #: mcs/mcs/method.cs:1077
2968 "`{0}': Extension methods cannot be declared without a reference to System."
2969 "Core.dll assembly. Add the assembly reference or remove `this' modifer from "
2970 "the first parameter"
2973 #: mcs/mcs/method.cs:1086
2975 msgid "`{0}': Extension methods must be defined in a non-generic static class"
2978 #: mcs/mcs/method.cs:1139
2981 "A partial method `{0}' implementation is missing a partial method declaration"
2984 #: mcs/mcs/method.cs:1186
2986 msgid "Method or delegate cannot return type `{0}'"
2989 #: mcs/mcs/method.cs:1261
2991 "The constructor call cannot be dynamically dispatched within constructor "
2995 #: mcs/mcs/method.cs:1275
2997 msgid "`{0}': Struct constructors cannot call base constructors"
3000 #: mcs/mcs/method.cs:1294
3002 msgid "Constructor `{0}' cannot call itself"
3005 #: mcs/mcs/method.cs:1413
3007 msgid "`{0}': The static constructor must be parameterless"
3010 #: mcs/mcs/method.cs:1431
3011 msgid "Structs cannot contain explicit parameterless constructors"
3014 #: mcs/mcs/method.cs:1487
3017 "`{0}': A class with the ComImport attribute cannot have a user-defined "
3021 #: mcs/mcs/method.cs:1730
3023 msgid "`{0}' is an accessor not found in interface member `{1}{2}'"
3026 #: mcs/mcs/method.cs:1736
3029 "`{0}.{1}' in explicit interface declaration is not a member of interface"
3032 #: mcs/mcs/method.cs:1743
3035 "`{0}' explicit method implementation cannot implement `{1}' because it is an "
3039 #: mcs/mcs/method.cs:1753
3041 msgid "Method `{0}' cannot implement interface accessor `{1}'"
3044 #: mcs/mcs/method.cs:1759
3047 "Accessor `{0}' cannot implement interface member `{1}' for type `{2}'. Use "
3048 "an explicit interface implementation"
3051 #: mcs/mcs/method.cs:1765
3054 "Accessor `{0}' must be declared public to implement interface member `{1}'"
3057 #: mcs/mcs/method.cs:1789
3060 "`{0}': the explicit interface implementation cannot introduce the params "
3064 #: mcs/mcs/method.cs:2107
3067 "Attribute `{0}' is not valid on property or event accessors. It is valid on `"
3068 "{1}' declarations only"
3071 #: mcs/mcs/method.cs:2318
3073 msgid "User-defined operator `{0}' must be declared static and public"
3076 #: mcs/mcs/method.cs:2357
3078 "User-defined operator cannot take an object of the enclosing type and "
3079 "convert to an object of the enclosing type"
3082 #: mcs/mcs/method.cs:2368
3083 msgid "User-defined conversion must convert to or from the enclosing type"
3086 #: mcs/mcs/method.cs:2374
3089 "User-defined conversion `{0}' cannot convert to or from the dynamic type"
3092 #: mcs/mcs/method.cs:2381
3095 "User-defined conversion `{0}' cannot convert to or from an interface type"
3098 #: mcs/mcs/method.cs:2388
3100 msgid "User-defined conversion `{0}' cannot convert to or from a base class"
3103 #: mcs/mcs/method.cs:2394
3105 msgid "User-defined conversion `{0}' cannot convert to or from a derived class"
3108 #: mcs/mcs/method.cs:2401
3110 "Overloaded shift operator must have the type of the first operand be the "
3111 "containing type, and the type of the second operand must be int"
3114 #: mcs/mcs/method.cs:2410
3116 "The return type for ++ or -- operator must be the containing type or derived "
3117 "from the containing type"
3120 #: mcs/mcs/method.cs:2415
3121 msgid "The parameter type for ++ or -- operator must be the containing type"
3124 #: mcs/mcs/method.cs:2422
3125 msgid "The parameter type of a unary operator must be the containing type"
3128 #: mcs/mcs/method.cs:2430
3129 msgid "The return type of operator True or False must be bool"
3132 #: mcs/mcs/method.cs:2445
3133 msgid "One of the parameters of a binary operator must be the containing type"
3136 #: mcs/mcs/modifiers.cs:275
3138 msgid "The modifier `{0}' is not valid for this item"
3141 #: mcs/mcs/namespace.cs:70
3144 "The type or namespace name `{0}' could not be found in the global namespace "
3145 "(are you missing an assembly reference?)"
3148 #: mcs/mcs/namespace.cs:177
3151 "The type or namespace name `{0}' does not exist in the namespace `{1}'. Are "
3152 "you missing an assembly reference?"
3155 #: mcs/mcs/namespace.cs:256
3157 msgid "The imported type `{0}' is defined multiple times"
3160 #: mcs/mcs/namespace.cs:583
3163 "`{0}' is a type not a namespace. A using namespace directive can only be "
3164 "applied to namespaces"
3167 #: mcs/mcs/namespace.cs:610
3169 msgid "The extern alias `{0}' was not specified in -reference option"
3172 #: mcs/mcs/namespace.cs:820 mcs/mcs/namespace.cs:842
3174 "A using clause must precede all other namespace elements except extern alias "
3178 #: mcs/mcs/namespace.cs:866
3179 msgid "An extern alias declaration must precede all other elements"
3182 #: mcs/mcs/namespace.cs:884
3184 msgid "The using alias `{0}' appeared previously in this namespace"
3187 #: mcs/mcs/namespace.cs:1005
3189 msgid "Namespace `{0}' contains a definition with same name as alias `{1}'"
3192 #: mcs/mcs/namespace.cs:1059
3194 msgid "`{0}' is an ambiguous reference between `{1}' and `{2}'"
3197 #: mcs/mcs/namespace.cs:1127
3198 msgid "The global extern alias cannot be redefined"
3201 #: mcs/mcs/namespace.cs:1132
3204 "The type or namespace name `{0}' could not be found. Are you missing a using "
3205 "directive or an assembly reference?"
3208 #: mcs/mcs/nullable.cs:1036
3210 "An expression tree cannot contain a coalescing operator with null left side"
3213 #: mcs/mcs/parameter.cs:156
3214 msgid "The params parameter must be a single dimensional array"
3217 #: mcs/mcs/parameter.cs:288
3218 msgid "An out parameter cannot have the `In' attribute"
3221 #: mcs/mcs/parameter.cs:293
3223 "Do not use `System.ParamArrayAttribute'. Use the `params' keyword instead"
3226 #: mcs/mcs/parameter.cs:300
3228 "Cannot specify only `Out' attribute on a ref parameter. Use both `In' and "
3229 "`Out' attributes or neither"
3232 #: mcs/mcs/parameter.cs:310
3234 msgid "Cannot specify `{0}' attribute on optional parameter `{1}'"
3237 #: mcs/mcs/parameter.cs:320
3240 "Argument of type `{0}' is not applicable for the DefaultParameterValue "
3244 #: mcs/mcs/parameter.cs:323
3247 "The DefaultParameterValue attribute is not applicable on parameters of type `"
3251 #: mcs/mcs/parameter.cs:334
3252 msgid "The type of the default value should match the type of the parameter"
3255 #: mcs/mcs/parameter.cs:376
3257 msgid "Method or delegate parameter cannot be of type `{0}'"
3260 #: mcs/mcs/parameter.cs:386
3262 msgid "`{0}': static types cannot be used as parameters"
3265 #: mcs/mcs/parameter.cs:392
3267 msgid "The extension method cannot be of type `{0}'"
3270 #: mcs/mcs/parameter.cs:448
3273 "The expression being assigned to optional parameter `{0}' must be a constant "
3277 #: mcs/mcs/parameter.cs:464
3280 "The expression being assigned to nullable optional parameter `{0}' must be "
3284 #: mcs/mcs/parameter.cs:472
3287 "Optional parameter `{0}' of type `{1}' can only be initialized with `null'"
3290 #: mcs/mcs/parameter.cs:482
3293 "Optional parameter expression of type `{0}' cannot be converted to parameter "
3297 #: mcs/mcs/parameter.cs:624
3298 msgid "An expression tree parameter cannot use `ref' or `out' modifier"
3301 #: mcs/mcs/parameter.cs:1096
3303 msgid "The parameter name `{0}' conflicts with a compiler generated name"
3306 #: mcs/mcs/pending.cs:443
3309 "`{0}' does not implement interface member `{1}' and the best implementing "
3310 "candidate `{2}' is static"
3313 #: mcs/mcs/pending.cs:447
3316 "`{0}' does not implement interface member `{1}' and the best implementing "
3317 "candidate `{2}' in not public"
3320 #: mcs/mcs/pending.cs:451
3323 "`{0}' does not implement interface member `{1}' and the best implementing "
3324 "candidate `{2}' return type `{3}' does not match interface member return "
3328 #: mcs/mcs/pending.cs:456
3330 msgid "`{0}' does not implement interface member `{1}'"
3333 #: mcs/mcs/pending.cs:461
3335 msgid "`{0}' does not implement inherited abstract member `{1}'"
3338 #: mcs/mcs/property.cs:352
3341 "`{0}': accessibility modifiers may not be used on accessors in an interface"
3344 #: mcs/mcs/property.cs:356
3346 msgid "`{0}': abstract properties cannot have private accessors"
3349 #: mcs/mcs/property.cs:401
3352 "The accessibility modifier of the `{0}' accessor must be more restrictive "
3353 "than the modifier of the property or indexer `{1}'"
3356 #: mcs/mcs/property.cs:502
3358 msgid "Explicit interface implementation `{0}' is missing accessor `{1}'"
3361 #: mcs/mcs/property.cs:521
3364 "`{0}': cannot override because `{1}' does not have an overridable get "
3368 #: mcs/mcs/property.cs:538
3371 "`{0}': cannot override because `{1}' does not have an overridable set "
3375 #: mcs/mcs/property.cs:579
3378 "`{0}': Cannot specify accessibility modifiers for both accessors of the "
3379 "property or indexer"
3382 #: mcs/mcs/property.cs:586
3385 "`{0}': accessibility modifiers on accessors may only be used if the property "
3386 "or indexer has both a get and a set accessor"
3389 #: mcs/mcs/property.cs:783
3392 "Automatically implemented property `{0}' cannot be used inside a type with "
3393 "an explicit StructLayout attribute"
3396 #: mcs/mcs/property.cs:1274
3398 msgid "`{0}': event must be of a delegate type"
3401 #: mcs/mcs/property.cs:1482
3404 "The `{0}' attribute is valid only on an indexer that is not an explicit "
3405 "interface member declaration"
3408 #: mcs/mcs/property.cs:1516
3409 msgid "Cannot set the `IndexerName' attribute on an indexer marked override"
3412 #: mcs/mcs/reflection.cs:217
3413 msgid "Could not access the key inside the container `"
3416 #: mcs/mcs/roottypes.cs:363
3418 "The compilation may fail due to missing `System.Reflection.Emit."
3419 "AssemblyBuilder.SetCorlibTypeBuilders(...)' method"
3422 #: mcs/mcs/roottypes.cs:470
3424 msgid "Value specified for the argument to `{0}' is not valid"
3427 #: mcs/mcs/statement.cs:87
3429 "A lambda expression with statement body cannot be converted to an expresion "
3433 #: mcs/mcs/statement.cs:740
3436 "An object of a type convertible to `{0}' is required for the return statement"
3439 #: mcs/mcs/statement.cs:753
3442 "`{0}': A return keyword must not be followed by any expression when method "
3446 #: mcs/mcs/statement.cs:778
3449 "Cannot convert `{0}' to delegate type `{1}' because some of the return types "
3450 "in the block are not implicitly convertible to the delegate return type"
3453 #: mcs/mcs/statement.cs:806
3455 "Cannot return a value from iterators. Use the yield return statement to "
3456 "return a value, or yield break to end the iteration"
3459 #: mcs/mcs/statement.cs:963 mcs/mcs/statement.cs:997
3460 msgid "A goto case is only valid inside a switch statement"
3463 #: mcs/mcs/statement.cs:1076 mcs/mcs/statement.cs:4726
3464 msgid "The type caught or thrown must be derived from System.Exception"
3467 #: mcs/mcs/statement.cs:1298
3468 msgid "A fixed statement cannot use an implicitly typed local variable"
3471 #: mcs/mcs/statement.cs:1303
3472 msgid "An implicitly typed local variable cannot be a constant"
3475 #: mcs/mcs/statement.cs:1308
3477 "An implicitly typed local variable declarator must include an initializer"
3480 #: mcs/mcs/statement.cs:1313
3482 "An implicitly typed local variable declaration cannot include multiple "
3486 #: mcs/mcs/statement.cs:1883
3489 "A local variable named `{0}' cannot be declared in this scope because it "
3490 "would give a different meaning to `{0}', which is already used in a `{1}' "
3491 "scope to denote something else"
3494 #: mcs/mcs/statement.cs:1894
3497 "`{0}': An anonymous type cannot have multiple properties with the same name"
3500 #: mcs/mcs/statement.cs:1897
3502 msgid "The parameter name `{0}' is a duplicate"
3505 #: mcs/mcs/statement.cs:1904
3507 msgid "A local variable named `{0}' is already defined in this scope"
3510 #: mcs/mcs/statement.cs:1910
3513 "The type parameter name `{0}' is the same as local variable or parameter name"
3516 #: mcs/mcs/statement.cs:2482
3519 "The out parameter `{0}' must be assigned to before control leaves the "
3523 #: mcs/mcs/statement.cs:2573
3525 msgid "`{0}': not all code paths return a value"
3528 #: mcs/mcs/statement.cs:2577
3530 msgid "Not all code paths return a value in anonymous method of type `{0}'"
3533 #: mcs/mcs/statement.cs:2748
3535 msgid "The label `{0}' is a duplicate"
3538 #: mcs/mcs/statement.cs:2757 mcs/mcs/statement.cs:2768
3541 "The label `{0}' shadows another label by the same name in a contained scope"
3544 #: mcs/mcs/statement.cs:3088
3546 msgid "The label `case {0}:' already occurs in this switch statement"
3549 #: mcs/mcs/statement.cs:3629
3552 "A switch expression of type `{0}' cannot be converted to an integral type, "
3553 "bool, char, string, enum or nullable type"
3556 #: mcs/mcs/statement.cs:4114
3558 msgid "`{0}' is not a reference type as required by the lock statement"
3561 #: mcs/mcs/statement.cs:4455
3562 msgid "The type of locals declared in a fixed statement must be a pointer type"
3565 #: mcs/mcs/statement.cs:4471
3567 "The right hand side of a fixed statement assignment may not be a cast "
3571 #: mcs/mcs/statement.cs:4542
3573 "You cannot use the fixed statement to take the address of an already fixed "
3577 #: mcs/mcs/statement.cs:4856
3580 "A previous catch clause already catches all exceptions of this or a super "
3584 #: mcs/mcs/statement.cs:5029
3587 "`{0}': type used in a using statement must be implicitly convertible to "
3588 "`System.IDisposable'"
3591 #: mcs/mcs/statement.cs:5451
3594 "foreach statement requires that the return type `{0}' of `{1}' must have a "
3595 "suitable public MoveNext method and public Current property"
3598 #: mcs/mcs/statement.cs:5490
3601 "foreach statement cannot operate on variables of type `{0}' because it "
3602 "contains multiple implementation of `{1}'. Try casting to a specific "
3606 #: mcs/mcs/statement.cs:5509
3609 "foreach statement cannot operate on variables of type `{0}' because it does "
3610 "not contain a definition for `{1}' or is inaccessible"
3613 #: mcs/mcs/statement.cs:5715
3614 msgid "Use of null is not valid in this context"
3617 #: mcs/mcs/statement.cs:5725
3619 msgid "Foreach statement cannot operate on a `{0}'"
3622 #: mcs/mcs/typemanager.cs:389
3624 msgid "The predefined type `{0}.{1}' is not defined or imported"
3627 #: mcs/mcs/typemanager.cs:395
3629 msgid "The predefined type `{0}.{1}' is not declared correctly"
3632 #: mcs/mcs/typemanager.cs:574
3635 "The compiler required member `{0}.{1}{2}' could not be found or is "
3639 #: mcs/mcs/typemanager.cs:885
3642 "Cannot take the address of, get the size of, or declare a pointer to a "
3643 "managed type `{0}'"