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 3.0.2\n"
10 "Report-Msgid-Bugs-To: http://www.mono-project.com/Bugs\n"
11 "POT-Creation-Date: 2012-12-05 09:29+0100\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:998
22 msgid "Cannot convert `{0}' to an expression tree of non-delegate type `{1}'"
25 #: mcs/mcs/anonymous.cs:1003
27 msgid "Cannot convert `{0}' to non-delegate type `{1}'"
30 #: mcs/mcs/anonymous.cs:1015
33 "Cannot convert `{0}' to delegate type `{1}' since there is a parameter "
37 #: mcs/mcs/anonymous.cs:1027 mcs/mcs/ecore.cs:5056
39 msgid "Delegate `{0}' does not take `{1}' arguments"
42 #: mcs/mcs/anonymous.cs:1042
44 msgid "Parameter `{0}' should not be declared with the `{1}' keyword"
47 #: mcs/mcs/anonymous.cs:1045
49 msgid "Parameter `{0}' must be declared with the `{1}' keyword"
52 #: mcs/mcs/anonymous.cs:1066
54 msgid "Parameter `{0}' is declared as type `{1}' but should be `{2}'"
57 #: mcs/mcs/anonymous.cs:1212
58 msgid "Async lambda expressions cannot be converted to expression trees"
61 #: mcs/mcs/anonymous.cs:1250
62 msgid "An anonymous method cannot be converted to an expression tree"
65 #: mcs/mcs/anonymous.cs:1269
68 "Cannot convert anonymous method block without a parameter list to delegate "
69 "type `{0}' because it has one or more `out' parameters"
72 #: mcs/mcs/anonymous.cs:1293
74 "Anonymous methods and lambda expressions cannot be used in the current "
78 #: mcs/mcs/anonymous.cs:1336
81 "Local variable or parameter `{0}' cannot have their address taken and be "
82 "used inside an anonymous method, lambda expression or query expression"
85 #: mcs/mcs/anonymous.cs:1356
87 msgid "Cannot convert async {0} to delegate type `{1}'"
90 #: mcs/mcs/anonymous.cs:1594
91 msgid "An expression tree cannot contain an anonymous method expression"
94 #: mcs/mcs/anonymous.cs:1877
97 "`{0}': An anonymous type cannot have multiple properties with the same name"
100 #: mcs/mcs/argument.cs:102
102 "An expression tree cannot contain an invocation which uses optional parameter"
105 #: mcs/mcs/argument.cs:234
106 msgid "An expression tree cannot contain named argument"
109 #: mcs/mcs/argument.cs:345
112 "The method group `{0}' cannot be used as an argument of dynamic operation. "
113 "Consider using parentheses to invoke the method"
116 #: mcs/mcs/argument.cs:349
118 "An anonymous method or lambda expression cannot be used as an argument of "
119 "dynamic operation. Consider using a cast"
122 #: mcs/mcs/argument.cs:352
125 "An expression of type `{0}' cannot be used as an argument of dynamic "
129 #: mcs/mcs/assign.cs:320
130 msgid "An expression tree cannot contain an assignment operator"
133 #: mcs/mcs/assign.cs:687
135 msgid "Cannot assign to `{0}' because it is a `{1}'"
138 #: mcs/mcs/assembly.cs:279
139 msgid "Invalid type specified as an argument for TypeForwardedTo attribute"
142 #: mcs/mcs/assembly.cs:287
144 msgid "A duplicate type forward of type `{0}'"
147 #: mcs/mcs/assembly.cs:296
149 msgid "Cannot forward type `{0}' because it is defined in this assembly"
152 #: mcs/mcs/assembly.cs:302
154 msgid "Cannot forward type `{0}' because it is a nested type"
157 #: mcs/mcs/assembly.cs:331
160 "Friend assembly reference `{0}' is invalid. InternalsVisibleTo declarations "
161 "cannot have a version, culture or processor architecture specified"
164 #: mcs/mcs/assembly.cs:339
167 "Friend assembly reference `{0}' is invalid. Strong named assemblies must "
168 "specify a public key in their InternalsVisibleTo declarations"
171 #: mcs/mcs/assembly.cs:374
173 msgid "Referenced assembly `{0}' does not have a strong name"
176 #: mcs/mcs/assembly.cs:380
178 msgid "Referenced assembly `{0}' has different culture setting of `{1}'"
181 #: mcs/mcs/assembly.cs:395
184 "Friend access was granted to `{0}', but the output assembly is named `{1}'. "
185 "Try adding a reference to `{0}' or change the output assembly name to match "
189 #: mcs/mcs/assembly.cs:409
191 "Could not sign the assembly. ECMA key can only be used to delay-sign "
195 #: mcs/mcs/assembly.cs:650
197 "Added modules must be marked with the CLSCompliant attribute to match the "
201 #: mcs/mcs/assembly.cs:685 mcs/mcs/assembly.cs:700
204 "Option `{0}' overrides attribute `{1}' given in a source file or added module"
207 #: mcs/mcs/assembly.cs:735
208 msgid "Delay signing was requested but no key file was given"
211 #: mcs/mcs/assembly.cs:756
212 msgid "Cannot link resource file when building a module"
215 #: mcs/mcs/assembly.cs:761
217 msgid "Error reading resource file `{0}'"
220 #: mcs/mcs/assembly.cs:831
221 msgid "Could not write to file `"
224 #: mcs/mcs/assembly.cs:875
225 msgid "Cannot specify -main if building a module or library"
228 #: mcs/mcs/assembly.cs:901
230 msgid "Could not find `{0}' specified for Main method"
233 #: mcs/mcs/assembly.cs:907
235 msgid "`{0}' specified for Main method must be a valid class or struct"
238 #: mcs/mcs/assembly.cs:911
240 msgid "`{0}' does not have a suitable static Main method"
243 #: mcs/mcs/assembly.cs:914
246 "Program `{0}' does not contain a static `Main' method suitable for an entry "
250 #: mcs/mcs/assembly.cs:933
251 msgid "Error during assembly signing. "
254 #: mcs/mcs/assembly.cs:1118
256 msgid "Metadata file `{0}' could not be found"
259 #: mcs/mcs/assembly.cs:1123
261 msgid "Metadata file `{0}' does not contain valid metadata"
264 #: mcs/mcs/assembly.cs:1129
267 "Referenced assembly file `{0}' is a module. Consider using `-addmodule' "
268 "option to add the module"
271 #: mcs/mcs/assembly.cs:1136
274 "Added module file `{0}' is an assembly. Consider using `-r' option to "
278 #: mcs/mcs/async.cs:72
279 msgid "The `await' operator cannot be used in the body of a lock statement"
282 #: mcs/mcs/async.cs:77
283 msgid "The `await' operator cannot be used in an unsafe context"
286 #: mcs/mcs/async.cs:142
289 "Cannot await void method `{0}'. Consider changing method return type to "
293 #: mcs/mcs/async.cs:145
295 msgid "Cannot await `{0}' expression"
298 #: mcs/mcs/async.cs:291
301 "The awaiter type `{0}' must have suitable IsCompleted and GetResult members"
304 #: mcs/mcs/async.cs:299
306 "The `await' operator may only be used in a query expression within the first "
307 "collection expression of the initial `from' clause or within the collection "
308 "expression of a `join' clause"
311 #: mcs/mcs/async.cs:333
313 msgid "The `await' operand type `{0}' must have suitable GetAwaiter method"
316 #: mcs/mcs/async.cs:372
318 msgid "The awaiter type `{0}' must implement interface `{1}'"
321 #: mcs/mcs/async.cs:605
323 "Cannot find compiler required types for asynchronous functions support. Are "
324 "you targeting the wrong framework version?"
327 #: mcs/mcs/attribute.cs:228
330 "`{0}' is not a valid named attribute argument. Named attribute arguments "
331 "must be fields which are not readonly, static, const or read-write "
332 "properties which are public and not static"
335 #: mcs/mcs/attribute.cs:237
338 "`{0}' is not a valid named attribute argument because it is not a valid "
339 "attribute parameter type"
342 #: mcs/mcs/attribute.cs:243
343 msgid "An attribute argument cannot be dynamic expression"
346 #: mcs/mcs/attribute.cs:248
347 msgid "The Guid attribute must be specified with the ComImport attribute"
350 #: mcs/mcs/attribute.cs:253
352 msgid "Do not use `{0}' directly. Use parameter modifier `this' instead"
355 #: mcs/mcs/attribute.cs:258
357 msgid "Do not use `{0}' directly. Use `dynamic' keyword instead"
360 #: mcs/mcs/attribute.cs:267
362 msgid "Error during emitting `{0}' attribute. The reason is `{1}'"
365 #: mcs/mcs/attribute.cs:321
368 "`{0}' is ambiguous between `{1}' and `{2}'. Use either `@{0}' or `{0}"
372 #: mcs/mcs/attribute.cs:348 mcs/mcs/attribute.cs:354
374 msgid "`{0}': is not an attribute class"
377 #: mcs/mcs/attribute.cs:446
379 msgid "Cannot apply attribute class `{0}' because it is abstract"
382 #: mcs/mcs/attribute.cs:517
384 msgid "Duplicate named attribute `{0}' argument"
387 #: mcs/mcs/attribute.cs:976
390 "The attribute `{0}' is not valid on this declaration type. It is valid on `"
391 "{1}' declarations only"
394 #: mcs/mcs/attribute.cs:998
396 msgid "The argument to the `{0}' attribute must be a valid identifier"
399 #: mcs/mcs/attribute.cs:1012
401 msgid "Invalid value for argument to `{0}' attribute"
404 #: mcs/mcs/attribute.cs:1274
406 msgid "The attribute `{0}' cannot be applied multiple times"
409 #: mcs/mcs/attribute.cs:1580
411 msgid "`{0}' is obsolete: `{1}'"
414 #: mcs/mcs/cs-tokenizer.cs:803
416 "The `partial' modifier can be used only immediately before `class', "
417 "`struct', `interface', or `void' keyword"
420 #: mcs/mcs/cs-tokenizer.cs:1478 mcs/mcs/cs-tokenizer.cs:1541
421 msgid "Invalid number"
424 #: mcs/mcs/cs-tokenizer.cs:1753
426 msgid "Unrecognized escape sequence `\\{0}'"
429 #: mcs/mcs/cs-tokenizer.cs:1772
430 msgid "Unrecognized escape sequence"
433 #: mcs/mcs/cs-tokenizer.cs:2041
434 msgid "Filename, single-line comment or end-of-line expected"
437 #: mcs/mcs/cs-tokenizer.cs:2090
438 msgid "Missing identifier to pre-processor directive"
441 #: mcs/mcs/cs-tokenizer.cs:2100 mcs/mcs/cs-tokenizer.cs:2104
443 msgid "Identifier expected: {0}"
446 #: mcs/mcs/cs-tokenizer.cs:2610
447 msgid "Integral constant is too large"
450 #: mcs/mcs/cs-tokenizer.cs:2615
451 msgid "Invalid preprocessor directive"
454 #: mcs/mcs/cs-tokenizer.cs:2622
456 msgid "Unexpected processor directive ({0})"
459 #: mcs/mcs/cs-tokenizer.cs:2628
461 "Cannot define or undefine preprocessor symbols after first token in file"
464 #: mcs/mcs/cs-tokenizer.cs:2634
466 "Preprocessor directives must appear as the first non-whitespace character on "
470 #: mcs/mcs/cs-tokenizer.cs:2639
471 msgid "Single-line comment or end-of-line expected"
474 #: mcs/mcs/cs-tokenizer.cs:2684 mcs/mcs/cs-tokenizer.cs:3719
475 msgid "Expected `#endif' directive"
478 #: mcs/mcs/cs-tokenizer.cs:2717 mcs/mcs/cs-tokenizer.cs:2738
479 #: mcs/mcs/cs-tokenizer.cs:2769 mcs/mcs/cs-tokenizer.cs:3717
480 msgid "#endregion directive expected"
483 #: mcs/mcs/cs-tokenizer.cs:2816
484 msgid "Wrong preprocessor directive"
487 #: mcs/mcs/cs-tokenizer.cs:2828
489 msgid "#error: '{0}'"
492 #: mcs/mcs/cs-tokenizer.cs:2846
493 msgid "The line number specified for #line directive is missing or invalid"
496 #: mcs/mcs/cs-tokenizer.cs:2908 mcs/mcs/cs-tokenizer.cs:3554
497 msgid "Newline in constant"
500 #: mcs/mcs/cs-tokenizer.cs:2934
501 msgid "Unterminated string literal"
504 #: mcs/mcs/cs-tokenizer.cs:3011
505 msgid "Identifier too long (limit is 512 chars)"
508 #: mcs/mcs/cs-tokenizer.cs:3394
509 msgid "End-of-file found, '*/' expected"
512 #: mcs/mcs/cs-tokenizer.cs:3503
513 msgid "Keyword, identifier, or string expected after verbatim specifier: @"
516 #: mcs/mcs/cs-tokenizer.cs:3524
518 msgid "Unexpected character `{0}'"
521 #: mcs/mcs/cs-tokenizer.cs:3549
522 msgid "Empty character literal"
525 #: mcs/mcs/cs-tokenizer.cs:3570
526 msgid "Too many characters in character literal"
529 #: mcs/mcs/cfold.cs:73
530 msgid "The operation overflows at compile time in checked mode"
533 #: mcs/mcs/cfold.cs:756 mcs/mcs/cfold.cs:842
534 msgid "Division by constant zero"
537 #: mcs/mcs/class.cs:138
540 "Partial declarations of `{0}' must be all classes, all structs or all "
544 #: mcs/mcs/class.cs:147
546 msgid "Partial declarations of `{0}' have conflicting accessibility modifiers"
549 #: mcs/mcs/class.cs:157
552 "Partial declarations of `{0}' must have the same type parameter names in the "
556 #: mcs/mcs/class.cs:164
559 "Partial declarations of `{0}' must have the same type parameter variance "
563 #: mcs/mcs/class.cs:329
566 "Missing partial modifier on declaration of type `{0}'. Another partial "
567 "declaration of this type exists"
570 #: mcs/mcs/class.cs:734
573 "`{0}': explicit interface declaration can only be declared in a class or "
577 #: mcs/mcs/class.cs:793
579 msgid "Duplicate type parameter `{0}'"
582 #: mcs/mcs/class.cs:796
584 msgid "The type `{0}' already contains a definition for `{1}'"
587 #: mcs/mcs/class.cs:862
589 "Cannot specify the `DefaultMember' attribute on type containing an indexer"
592 #: mcs/mcs/class.cs:867
593 msgid "The RequiredAttribute attribute is not permitted on C# types"
596 #: mcs/mcs/class.cs:1093
598 msgid "Class `{0}' cannot derive from the dynamic type"
601 #: mcs/mcs/class.cs:1110
603 msgid "`{0}' is already listed in interface list"
606 #: mcs/mcs/class.cs:1118
609 "Inconsistent accessibility: base interface `{0}' is less accessible than "
613 #: mcs/mcs/class.cs:1124
615 msgid "Type `{0}' in interface list is not an interface"
618 #: mcs/mcs/class.cs:1126
620 msgid "`{0}': Classes cannot have multiple base classes (`{1}' and `{2}')"
623 #: mcs/mcs/class.cs:1129
625 msgid "`{0}': Base class `{1}' must be specified as first"
628 #: mcs/mcs/class.cs:1190
631 "The operator `{0}' requires a matching operator `{1}' to also be defined"
634 #: mcs/mcs/class.cs:1421
636 msgid "Partial declarations of `{0}' must not specify different base classes"
639 #: mcs/mcs/class.cs:1465
642 "Inherited interface `{0}' causes a cycle in the interface hierarchy of `{1}'"
645 #: mcs/mcs/class.cs:1471
647 msgid "Circular base class dependency involving `{0}' and `{1}'"
650 #: mcs/mcs/class.cs:1617
653 "Partial declarations of `{0}' have inconsistent constraints for type "
657 #: mcs/mcs/class.cs:1726
659 msgid "`{0}': cannot implement a dynamic interface `{1}'"
662 #: mcs/mcs/class.cs:1742
665 "`{0}' cannot implement both `{1}' and `{2}' because they may unify for some "
666 "type parameter substitutions"
669 #: mcs/mcs/class.cs:1761
672 "A generic type cannot derive from `{0}' because it is an attribute class"
675 #: mcs/mcs/class.cs:1870
677 "Two indexers have different names; the IndexerName attribute must be used "
678 "with the same name on every indexer within a type"
681 #: mcs/mcs/class.cs:2120
683 msgid "A static member `{0}' cannot be marked as override, virtual or abstract"
686 #: mcs/mcs/class.cs:2127
688 msgid "A member `{0}' marked as override cannot be marked as new or virtual"
691 #: mcs/mcs/class.cs:2139
693 msgid "`{0}' cannot be both extern and abstract"
696 #: mcs/mcs/class.cs:2144
698 msgid "`{0}' cannot be both abstract and sealed"
701 #: mcs/mcs/class.cs:2149
703 msgid "The abstract method `{0}' cannot be marked virtual"
706 #: mcs/mcs/class.cs:2155
708 msgid "`{0}' is abstract but it is declared in the non-abstract class `{1}'"
711 #: mcs/mcs/class.cs:2163
713 msgid "`{0}': virtual or abstract members cannot be private"
716 #: mcs/mcs/class.cs:2170
718 msgid "`{0}' cannot be sealed because it is not an override"
721 #: mcs/mcs/class.cs:2210
723 msgid "`{0}': containing type does not implement interface `{1}'"
726 #: mcs/mcs/class.cs:2400
728 msgid "Type parameter `{0}' has same name as containing type, or method"
731 #: mcs/mcs/class.cs:2408
733 msgid "`{0}': member names cannot be the same as their enclosing type"
736 #: mcs/mcs/class.cs:2527
738 "The class System.Object cannot have a base class or implement an interface."
741 #: mcs/mcs/class.cs:2536
743 msgid "Attribute `{0}' is only valid on classes derived from System.Attribute"
746 #: mcs/mcs/class.cs:2541
748 "Attribute `System.Diagnostics.ConditionalAttribute' is only valid on methods "
749 "or attribute classes"
752 #: mcs/mcs/class.cs:2570
754 msgid "`{0}': an abstract class cannot be sealed or static"
757 #: mcs/mcs/class.cs:2574
759 msgid "`{0}': a class cannot be both static and sealed"
762 #: mcs/mcs/class.cs:2580
764 msgid "`{0}': Static classes cannot contain user-defined operators"
767 #: mcs/mcs/class.cs:2585
769 msgid "`{0}': Static classes cannot contain destructor"
772 #: mcs/mcs/class.cs:2590
774 msgid "`{0}': cannot declare indexers in a static class"
777 #: mcs/mcs/class.cs:2598
779 msgid "`{0}': Static classes cannot have instance constructors"
782 #: mcs/mcs/class.cs:2602
784 msgid "`{0}': cannot declare instance members in a static class"
787 #: mcs/mcs/class.cs:2633
789 msgid "`{0}': Cannot derive from type parameter `{1}'"
792 #: mcs/mcs/class.cs:2637
794 msgid "`{0}': Cannot derive from static class `{1}'"
797 #: mcs/mcs/class.cs:2641
799 msgid "`{0}': cannot derive from sealed type `{1}'"
802 #: mcs/mcs/class.cs:2644
805 "Static class `{0}' cannot derive from type `{1}'. Static classes must derive "
809 #: mcs/mcs/class.cs:2655
811 msgid "`{0}' cannot derive from special class `{1}'"
814 #: mcs/mcs/class.cs:2665
817 "Inconsistent accessibility: base class `{0}' is less accessible than class `"
821 #: mcs/mcs/class.cs:2673
823 msgid "Static class `{0}' cannot implement interfaces"
826 #: mcs/mcs/class.cs:2784 mcs/mcs/class.cs:2798
828 msgid "Struct member `{0}' of type `{1}' causes a cycle in the struct layout"
831 #: mcs/mcs/class.cs:2880
833 msgid "`{0}': Structs cannot have instance field initializers"
836 #: mcs/mcs/class.cs:3068
838 msgid "Do not override `{0}'. Use destructor syntax instead"
841 #: mcs/mcs/class.cs:3071
843 msgid "`{0}' is marked as an override but no suitable {1} found to override"
846 #: mcs/mcs/class.cs:3077
848 msgid "`{0}': cannot override because `{1}' is not an event"
851 #: mcs/mcs/class.cs:3080
853 msgid "`{0}': cannot override because `{1}' is not a property"
856 #: mcs/mcs/class.cs:3083
858 msgid "`{0}': cannot override because `{1}' is not a method"
861 #: mcs/mcs/class.cs:3102
864 "`{0}' cannot override inherited members `{1}' and `{2}' because they have "
865 "the same signature when used in type `{3}'"
868 #: mcs/mcs/class.cs:3155 mcs/mcs/field.cs:198
870 msgid "`{0}' hides inherited abstract member `{1}'"
873 #: mcs/mcs/class.cs:3179
876 "`{0}': cannot override inherited member `{1}' because it is not marked "
877 "virtual, abstract or override"
880 #: mcs/mcs/class.cs:3187
882 msgid "`{0}': cannot override inherited member `{1}' because it is sealed"
885 #: mcs/mcs/class.cs:3196
887 msgid "`{0}': type must be `{1}' to match overridden member `{2}'"
890 #: mcs/mcs/class.cs:3199
892 msgid "`{0}': return type must be `{1}' to match overridden member `{2}'"
895 #: mcs/mcs/class.cs:3267
897 msgid "A partial method `{0}' cannot explicitly implement an interface"
900 #: mcs/mcs/class.cs:3273
902 msgid "The type `{0}' in explicit interface declaration is not an interface"
905 #: mcs/mcs/class.cs:3304
908 "Inconsistent accessibility: parameter type `{0}' is less accessible than "
912 #: mcs/mcs/class.cs:3308
915 "Inconsistent accessibility: parameter type `{0}' is less accessible than "
919 #: mcs/mcs/class.cs:3312
922 "Inconsistent accessibility: parameter type `{0}' is less accessible than "
926 #: mcs/mcs/class.cs:3372
929 "`{0}': cannot change access modifiers when overriding `{1}' inherited member "
933 #: mcs/mcs/class.cs:3381
935 msgid "`{0}': static types cannot be used as return types"
938 #: mcs/mcs/class.cs:3442
941 "`{0}': Cannot specify constraints for overrides and explicit interface "
942 "implementation methods"
945 #: mcs/mcs/class.cs:3504
947 msgid "New virtual member `{0}' is declared in a sealed class `{1}'"
950 #: mcs/mcs/class.cs:3519
951 msgid "Inconsistent accessibility: property type `"
954 #: mcs/mcs/class.cs:3524
955 msgid "Inconsistent accessibility: indexer return type `"
958 #: mcs/mcs/class.cs:3530 mcs/mcs/class.cs:3535 mcs/mcs/delegate.cs:171
959 msgid "Inconsistent accessibility: return type `"
962 #: mcs/mcs/class.cs:3540
963 msgid "Inconsistent accessibility: field type `"
966 #: mcs/mcs/class.cs:3552
969 "Parameters or local variables of type `{0}' cannot be declared in async "
970 "methods or iterators"
973 #: mcs/mcs/class.cs:3556
976 "Local variables of type `{0}' cannot be used inside anonymous methods, "
977 "lambda expressions or query expressions"
980 #: mcs/mcs/class.cs:3560
982 msgid "Field or property cannot be of type `{0}'"
985 #: mcs/mcs/const.cs:103
987 msgid "Type parameter `{0}' cannot be declared const"
990 #: mcs/mcs/const.cs:106
992 msgid "The type `{0}' cannot be declared const"
995 #: mcs/mcs/const.cs:181
998 "The evaluation of the constant value for `{0}' involves a circular definition"
1001 #: mcs/mcs/constant.cs:66 mcs/mcs/constant.cs:403
1003 msgid "Constant value `{0}' cannot be converted to a `{1}'"
1006 #: mcs/mcs/constant.cs:266
1009 "Constant value `{0}' cannot be converted to a `{1}' (use `unchecked' syntax "
1013 #: mcs/mcs/convert.cs:1185
1016 "Ambiguous user defined operators `{0}' and `{1}' when converting from `{2}' "
1020 #: mcs/mcs/decl.cs:330
1022 msgid "`{0}' cannot declare a body because it is marked extern"
1025 #: mcs/mcs/decl.cs:336
1027 msgid "`{0}' cannot declare a body because it is marked abstract"
1030 #: mcs/mcs/decl.cs:349
1033 "`{0}' must have a body because it is not marked abstract or extern. The "
1034 "property can be automatically implemented when you define both accessors"
1037 #: mcs/mcs/decl.cs:355
1040 "`{0}' must have a body because it is not marked abstract, extern, or partial"
1043 #: mcs/mcs/decl.cs:370
1045 msgid "`{0}': Structs cannot contain protected members"
1048 #: mcs/mcs/decl.cs:376
1050 msgid "`{0}': Static classes cannot contain protected members"
1053 #: mcs/mcs/decl.cs:473
1054 msgid "Constraints are not allowed on non-generic declarations"
1057 #: mcs/mcs/decl.cs:480
1059 msgid "`{0}': A constraint references nonexistent type parameter `{1}'"
1062 #: mcs/mcs/delegate.cs:155
1065 "Inconsistent accessibility: parameter type `{0}' is less accessible than "
1069 #: mcs/mcs/delegate.cs:505
1072 "Cannot create delegate from method `{0}' because it is a member of System."
1076 #: mcs/mcs/delegate.cs:517
1079 "Extension method `{0}' of value type `{1}' cannot be used to create delegates"
1082 #: mcs/mcs/delegate.cs:535
1084 msgid "Cannot create delegate from partial method declaration `{0}'"
1087 #: mcs/mcs/delegate.cs:538
1090 "Cannot create delegate with `{0}' because it has a Conditional attribute"
1093 #: mcs/mcs/delegate.cs:581
1096 "A method or delegate `{0} {1}' parameters and return type must be same as "
1097 "delegate `{2} {3}' parameters and return type"
1100 #: mcs/mcs/delegate.cs:588
1103 "A method or delegate `{0}' parameters do not match delegate `{1}' parameters"
1106 #: mcs/mcs/delegate.cs:593
1109 "A method or delegate `{0} {1}' return type does not match delegate `{2} {3}' "
1113 #: mcs/mcs/delegate.cs:676
1114 msgid "Method name expected"
1117 #: mcs/mcs/doc.cs:621
1119 msgid "Error generating XML documentation file `{0}' (`{1}')"
1122 #: mcs/mcs/driver.cs:52
1123 msgid "Source file `"
1126 #: mcs/mcs/driver.cs:258
1127 msgid "No files to compile were specified"
1130 #: mcs/mcs/driver.cs:263
1131 msgid "Platform option `anycpu32bitpreferred' is valid only for executables"
1134 #: mcs/mcs/driver.cs:293
1136 "If no source files are specified you must specify the output file with -out:"
1139 #: mcs/mcs/driver.cs:310
1140 msgid "Output file name is not valid"
1143 #: mcs/mcs/dynamic.cs:278
1144 msgid "An expression tree cannot contain a dynamic operation"
1147 #: mcs/mcs/dynamic.cs:311
1149 "Dynamic operation cannot be compiled without `Microsoft.CSharp.dll' assembly "
1153 #: mcs/mcs/ecore.cs:214
1155 msgid "`{0}' is inaccessible due to its protection level"
1158 #: mcs/mcs/ecore.cs:219
1160 msgid "The expression being assigned to `{0}' must be constant"
1163 #: mcs/mcs/ecore.cs:224
1166 "A constant `{0}' of reference type `{1}' can only be initialized with null"
1169 #: mcs/mcs/ecore.cs:230
1171 "Only assignment, call, increment, decrement, await, and new object "
1172 "expressions can be used as a statement"
1175 #: mcs/mcs/ecore.cs:240
1176 msgid "Keyword `void' cannot be used in this context"
1179 #: mcs/mcs/ecore.cs:262
1181 msgid "Cannot convert type `{0}' to `{1}'"
1184 #: mcs/mcs/ecore.cs:273
1187 "Cannot implicitly convert type `{0}' to `{1}'. An explicit conversion exists "
1188 "(are you missing a cast?)"
1191 #: mcs/mcs/ecore.cs:276
1193 msgid "Cannot implicitly convert type `{0}' to `{1}'"
1196 #: mcs/mcs/ecore.cs:307
1198 msgid "The {0} `{1}' cannot be used with type arguments"
1201 #: mcs/mcs/ecore.cs:319
1203 msgid "`{0}' does not contain a definition for `{1}'"
1206 #: mcs/mcs/ecore.cs:328
1208 "The left-hand side of an assignment must be a variable, a property or an "
1212 #: mcs/mcs/ecore.cs:334
1213 msgid "The operation in question is undefined on void pointers"
1216 #: mcs/mcs/ecore.cs:422 mcs/mcs/statement.cs:3038 mcs/mcs/statement.cs:3040
1218 msgid "Internal compiler error: {0}"
1221 #: mcs/mcs/ecore.cs:462
1222 msgid "A ref or out argument must be an assignable variable"
1225 #: mcs/mcs/ecore.cs:481
1227 "An attribute argument must be a constant expression, typeof expression or "
1228 "array creation expression"
1231 #: mcs/mcs/ecore.cs:655
1233 msgid "The class `{0}' has no constructors defined"
1236 #: mcs/mcs/ecore.cs:777
1238 msgid "The `{0}' operator cannot be applied to operand of type `{1}'"
1241 #: mcs/mcs/ecore.cs:783
1242 msgid "An expression tree cannot contain an unsafe pointer operation"
1245 #: mcs/mcs/ecore.cs:861
1247 msgid "`{0}' is a `{1}' but a `{2}' was expected"
1250 #: mcs/mcs/ecore.cs:894
1252 msgid "Expression denotes a `{0}', where a `{1}' was expected"
1255 #: mcs/mcs/ecore.cs:904
1256 msgid "Pointers and fixed size buffers may only be used in an unsafe context"
1259 #: mcs/mcs/ecore.cs:2364
1262 "Dynamic keyword requires `{0}' to be defined. Are you missing System.Core."
1263 "dll assembly reference?"
1266 #: mcs/mcs/ecore.cs:2440
1269 "A local variable `{0}' cannot be used before it is declared. Consider "
1270 "renaming the local variable when it hides the member `{1}'"
1273 #: mcs/mcs/ecore.cs:2455 mcs/mcs/ecore.cs:2498
1275 msgid "`{0}' conflicts with a declaration in a child block"
1278 #: mcs/mcs/ecore.cs:2507
1280 msgid "A local variable `{0}' cannot be used before it is declared"
1283 #: mcs/mcs/ecore.cs:2561
1285 msgid "The name `{0}' does not exist in the current context"
1288 #: mcs/mcs/ecore.cs:2657
1289 msgid "System.Void cannot be used from C#. Consider using `void'"
1292 #: mcs/mcs/ecore.cs:2941
1294 msgid "Cannot call an abstract base member `{0}'"
1297 #: mcs/mcs/ecore.cs:2948
1300 "Cannot access protected member `{0}' via a qualifier of type `{1}'. The "
1301 "qualifier must be of type `{2}' or derived from it"
1304 #: mcs/mcs/ecore.cs:2964
1307 "Members of value type `{0}' cannot be assigned using a property `{1}' object "
1311 #: mcs/mcs/ecore.cs:2968
1314 "Cannot modify a value type return value of `{0}'. Consider storing the value "
1315 "in a temporary variable"
1318 #: mcs/mcs/ecore.cs:2994
1321 "Static member `{0}' cannot be accessed with an instance reference, qualify "
1322 "it with a type name instead"
1325 #: mcs/mcs/ecore.cs:3009
1328 "A field initializer cannot reference the nonstatic field, method, or "
1332 #: mcs/mcs/ecore.cs:3013
1334 msgid "An object reference is required to access non-static member `{0}'"
1337 #: mcs/mcs/ecore.cs:3022
1340 "Cannot access a nonstatic member of outer type `{0}' via nested type `{1}'"
1343 #: mcs/mcs/ecore.cs:3070
1344 msgid "Cannot modify the result of an unboxing conversion"
1347 #: mcs/mcs/ecore.cs:3240
1350 "Type `{0}' does not contain a member `{1}' and the best extension method "
1351 "overload `{2}' has some invalid arguments"
1354 #: mcs/mcs/ecore.cs:3245
1356 msgid "Extension method instance type `{0}' cannot be converted to `{1}'"
1359 #: mcs/mcs/ecore.cs:3379
1360 msgid "An expression tree cannot contain an expression with method group"
1363 #: mcs/mcs/ecore.cs:3385
1365 "Partial methods with only a defining declaration or removed conditional "
1366 "methods cannot be used in an expression tree"
1369 #: mcs/mcs/ecore.cs:3417
1372 "Cannot convert method group `{0}' to non-delegate type `{1}'. Consider using "
1373 "parentheses to invoke the method"
1376 #: mcs/mcs/ecore.cs:4150
1379 "The type `{0}' does not contain a constructor that takes `{1}' arguments"
1382 #: mcs/mcs/ecore.cs:4837
1385 "Type `{0}' does not contain a member `{1}' and the best extension method "
1386 "overload `{2}' cannot be dynamically dispatched. Consider calling the method "
1387 "without the extension method syntax"
1390 #: mcs/mcs/ecore.cs:4876
1393 "The call is ambiguous between the following methods or properties: `{0}' and "
1397 #: mcs/mcs/ecore.cs:4939
1400 "The best overloaded collection initalizer method `{0}' cannot have `ref' or "
1404 #: mcs/mcs/ecore.cs:4943
1407 "The best overloaded collection initalizer method `{0}' has some invalid "
1411 #: mcs/mcs/ecore.cs:4946
1413 msgid "Delegate `{0}' has some invalid arguments"
1416 #: mcs/mcs/ecore.cs:4950
1418 msgid "The best overloaded method match for `{0}' has some invalid arguments"
1421 #: mcs/mcs/ecore.cs:4959
1424 "Argument `#{0}' does not require `{1}' modifier. Consider removing `{1}' "
1428 #: mcs/mcs/ecore.cs:4962
1430 msgid "Argument `#{0}' is missing `{1}' modifier"
1433 #: mcs/mcs/ecore.cs:4979
1435 msgid "Argument `#{0}' cannot convert `{1}' expression to type `{2}'"
1438 #: mcs/mcs/ecore.cs:5032
1441 "The type arguments for method `{0}' cannot be inferred from the usage. Try "
1442 "specifying the type arguments explicitly"
1445 #: mcs/mcs/ecore.cs:5061
1447 msgid "No overload for method `{0}' takes `{1}' arguments"
1450 #: mcs/mcs/ecore.cs:5114
1452 msgid "The delegate `{0}' does not contain a parameter named `{1}'"
1455 #: mcs/mcs/ecore.cs:5119
1458 "The best overloaded method match for `{0}' does not contain a parameter "
1462 #: mcs/mcs/ecore.cs:5129
1465 "Named argument `{0}' cannot be used for a parameter which has positional "
1466 "argument specified"
1469 #: mcs/mcs/ecore.cs:5467
1471 "You cannot use fixed size buffers contained in unfixed expressions. Try "
1472 "using the fixed statement"
1475 #: mcs/mcs/ecore.cs:5472
1477 msgid "`{0}': Fixed size buffers can only be accessed through locals or fields"
1480 #: mcs/mcs/ecore.cs:5508
1482 msgid "Use of possibly unassigned field `{0}'"
1485 #: mcs/mcs/ecore.cs:5935
1487 msgid "Property or event `{0}' is not supported by the C# language"
1490 #: mcs/mcs/ecore.cs:6131
1492 msgid "A range variable `{0}' may not be passes as `ref' or `out' parameter"
1495 #: mcs/mcs/ecore.cs:6204
1498 "The property or indexer `{0}' cannot be used in this context because it "
1499 "lacks the `get' accessor"
1502 #: mcs/mcs/ecore.cs:6211
1505 "The property or indexer `{0}' cannot be used in this context because the get "
1506 "accessor is inaccessible"
1509 #: mcs/mcs/ecore.cs:6230
1511 msgid "Property or indexer `{0}' cannot be assigned to (it is read-only)"
1514 #: mcs/mcs/ecore.cs:6238
1517 "The property or indexer `{0}' cannot be used in this context because the set "
1518 "accessor is inaccessible"
1521 #: mcs/mcs/ecore.cs:6406
1524 "The event `{0}' can only appear on the left hand side of `+=' or `-=' "
1528 #: mcs/mcs/ecore.cs:6410
1531 "The event `{0}' can only appear on the left hand side of += or -= when used "
1532 "outside of the type `{1}'"
1535 #: mcs/mcs/ecore.cs:6580
1538 "An implicitly typed local variable declaration cannot be initialized with `"
1542 #: mcs/mcs/ecore.cs:6594
1544 "The contextual keyword `var' may only appear within a local variable "
1548 #: mcs/mcs/enum.cs:143
1551 "The enumerator value `{0}' is outside the range of enumerator underlying "
1555 #: mcs/mcs/enum.cs:212
1557 msgid "An item in an enumeration cannot have an identifier `{0}'"
1560 #: mcs/mcs/enum.cs:223
1561 msgid "Type byte, sbyte, short, ushort, int, uint, long or ulong expected"
1564 #: mcs/mcs/eval.cs:563
1565 msgid "Detection Parsing Error"
1568 #: mcs/mcs/expression.cs:646
1569 msgid "Cannot take the address of the given expression"
1572 #: mcs/mcs/expression.cs:669
1574 "You can only take the address of unfixed expression inside of a fixed "
1575 "statement initializer"
1578 #: mcs/mcs/expression.cs:760
1580 msgid "Operator `{0}' is ambiguous on an operand of type `{1}'"
1583 #: mcs/mcs/expression.cs:908
1584 msgid "The * or -> operator must be applied to a pointer"
1587 #: mcs/mcs/expression.cs:1125
1589 "The operand of an increment or decrement operator must be a variable, "
1590 "property or indexer"
1593 #: mcs/mcs/expression.cs:1339
1595 msgid "The `{0}' operator cannot be applied to an operand of a static type"
1598 #: mcs/mcs/expression.cs:1344
1600 msgid "The `{0}' operator cannot be applied to an operand of pointer type"
1603 #: mcs/mcs/expression.cs:1350
1606 "The `{0}' operator cannot be applied to a lambda expression or anonymous "
1610 #: mcs/mcs/expression.cs:1616
1613 "The `as' operator cannot be used with a non-reference type parameter `{0}'. "
1614 "Consider adding `class' or a reference type constraint"
1617 #: mcs/mcs/expression.cs:1620
1619 msgid "The `as' operator cannot be used with a non-nullable value type `{0}'"
1622 #: mcs/mcs/expression.cs:1653
1624 msgid "Cannot convert type `{0}' to `{1}' via a built-in conversion"
1627 #: mcs/mcs/expression.cs:1693
1629 msgid "Cannot convert to static type `{0}'"
1632 #: mcs/mcs/expression.cs:1803
1634 "The `default value' operator cannot be applied to an operand of a static type"
1637 #: mcs/mcs/expression.cs:2334
1639 msgid "Operator `{0}' cannot be applied to operands of type `{1}' and `{2}'"
1642 #: mcs/mcs/expression.cs:2904
1643 msgid "To cast a negative value, you must enclose the value in parentheses"
1646 #: mcs/mcs/expression.cs:3547
1648 msgid "Operator `{0}' is ambiguous on operands of type `{1}' and `{2}'"
1651 #: mcs/mcs/expression.cs:4247
1654 "A user-defined operator `{0}' must have parameters and return values of the "
1655 "same type in order to be applicable as a short circuit operator"
1658 #: mcs/mcs/expression.cs:4257
1661 "The type `{0}' must have operator `true' and operator `false' defined when `"
1662 "{1}' is used as a short circuit operator"
1665 #: mcs/mcs/expression.cs:4656
1668 "Type of conditional expression cannot be determined as `{0}' and `{1}' "
1669 "convert implicitly to each other"
1672 #: mcs/mcs/expression.cs:4666
1675 "Type of conditional expression cannot be determined because there is no "
1676 "implicit conversion between `{0}' and `{1}'"
1679 #: mcs/mcs/expression.cs:4964
1681 msgid "Use of unassigned local variable `{0}'"
1684 #: mcs/mcs/expression.cs:4984
1687 "Cannot use fixed local `{0}' inside an anonymous method, lambda expression "
1688 "or query expression"
1691 #: mcs/mcs/expression.cs:5177
1694 "Parameter `{0}' cannot be used inside `{1}' when using `ref' or `out' "
1698 #: mcs/mcs/expression.cs:5256
1700 msgid "Use of unassigned out parameter `{0}'"
1703 #: mcs/mcs/expression.cs:5368
1705 msgid "Cannot invoke a non-delegate type `{0}'"
1708 #: mcs/mcs/expression.cs:5379
1710 msgid "The member `{0}' cannot be used as method or delegate"
1713 #: mcs/mcs/expression.cs:5399
1715 "Do not directly call your base class Finalize method. It is called "
1716 "automatically from your destructor"
1719 #: mcs/mcs/expression.cs:5401
1721 "Destructors and object.Finalize cannot be called directly. Consider calling "
1722 "IDisposable.Dispose if available"
1725 #: mcs/mcs/expression.cs:5430
1728 "The base call to method `{0}' cannot be dynamically dispatched. Consider "
1729 "casting the dynamic arguments or eliminating the base access"
1732 #: mcs/mcs/expression.cs:5503
1734 msgid "`{0}': cannot explicitly call operator or accessor"
1737 #: mcs/mcs/expression.cs:5687
1739 msgid "Unsafe type `{0}' cannot be used in an object creation expression"
1742 #: mcs/mcs/expression.cs:5710
1745 "Cannot create an instance of the variable type `{0}' because it does not "
1746 "have the new() constraint"
1749 #: mcs/mcs/expression.cs:5716
1752 "`{0}': cannot provide arguments when creating an instance of a variable type"
1755 #: mcs/mcs/expression.cs:5725
1757 msgid "Cannot create an instance of the static class `{0}'"
1760 #: mcs/mcs/expression.cs:5737
1762 msgid "Cannot create an instance of the abstract class or interface `{0}'"
1765 #: mcs/mcs/expression.cs:6038
1767 "An implicitly typed local variable declarator cannot use an array initializer"
1770 #: mcs/mcs/expression.cs:6182 mcs/mcs/expression.cs:6190
1771 #: mcs/mcs/statement.cs:1227 mcs/mcs/statement.cs:3619
1772 msgid "A constant value is expected"
1775 #: mcs/mcs/expression.cs:6196 mcs/mcs/expression.cs:6221
1777 msgid "An array initializer of length `{0}' was expected"
1780 #: mcs/mcs/expression.cs:6212
1782 "Array initializers can only be used in a variable or field initializer. Try "
1783 "using a new expression instead"
1786 #: mcs/mcs/expression.cs:6229
1787 msgid "A nested array initializer was expected"
1790 #: mcs/mcs/expression.cs:6276
1791 msgid "An expression tree cannot contain a multidimensional array initializer"
1794 #: mcs/mcs/expression.cs:6312
1795 msgid "Cannot create an array with a negative size"
1798 #: mcs/mcs/expression.cs:6393
1800 "Can only use array initializer expressions to assign to array types. Try "
1801 "using a new expression instead"
1804 #: mcs/mcs/expression.cs:6830
1806 "The type of an implicitly typed array cannot be inferred from the "
1807 "initializer. Try specifying array type explicitly"
1810 #: mcs/mcs/expression.cs:6973
1812 "The `this' object cannot be used before all of its fields are assigned to"
1815 #: mcs/mcs/expression.cs:6980
1817 "Keyword `this' is not valid in a static property, static method, or static "
1821 #: mcs/mcs/expression.cs:6983
1823 "Anonymous methods inside structs cannot access instance members of `this'. "
1824 "Consider copying `this' to a local variable outside the anonymous method and "
1825 "using the local instead"
1828 #: mcs/mcs/expression.cs:6986
1829 msgid "Keyword `this' is not available in the current context"
1832 #: mcs/mcs/expression.cs:7063
1833 msgid "Cannot take the address of `this' because it is read-only"
1836 #: mcs/mcs/expression.cs:7065
1837 msgid "Cannot pass `this' as a ref or out argument because it is read-only"
1840 #: mcs/mcs/expression.cs:7067
1841 msgid "Cannot assign to `this' because it is read-only"
1844 #: mcs/mcs/expression.cs:7139
1845 msgid "The __arglist construct is valid only within a variable argument method"
1848 #: mcs/mcs/expression.cs:7200
1849 msgid "An expression tree cannot contain a method with variable arguments"
1852 #: mcs/mcs/expression.cs:7437
1853 msgid "The typeof operator cannot be used on the dynamic type"
1856 #: mcs/mcs/expression.cs:7478
1858 msgid "`{0}': an attribute argument cannot use type parameters"
1861 #: mcs/mcs/expression.cs:7693
1864 "`{0}' does not have a predefined size, therefore sizeof can only be used in "
1865 "an unsafe context (consider using System.Runtime.InteropServices.Marshal."
1869 #: mcs/mcs/expression.cs:7760
1871 msgid "Alias `{0}' not found"
1874 #: mcs/mcs/expression.cs:7786
1876 "The namespace alias qualifier `::' cannot be used to invoke a method. "
1877 "Consider using `.' instead"
1880 #: mcs/mcs/expression.cs:7895
1881 msgid "Cannot perform member binding on `null' value"
1884 #: mcs/mcs/expression.cs:8068
1887 "`{0}': cannot reference a type through an expression. Consider using `{1}' "
1891 #: mcs/mcs/expression.cs:8147
1893 msgid "A nested type cannot be specified through a type parameter `{0}'"
1896 #: mcs/mcs/expression.cs:8155
1899 "Alias `{0}' cannot be used with `::' since it denotes a type. Consider "
1900 "replacing `::' with `.'"
1903 #: mcs/mcs/expression.cs:8220
1905 msgid "The nested type `{0}' does not exist in the type `{1}'"
1908 #: mcs/mcs/expression.cs:8239
1911 "Type `{0}' does not contain a definition for `{1}' and no extension method `"
1912 "{1}' of type `{0}' could be found. Are you missing {2}?"
1915 #: mcs/mcs/expression.cs:8451
1917 msgid "Cannot apply indexing with [] to an expression of type `{0}'"
1920 #: mcs/mcs/expression.cs:8469
1921 msgid "A pointer must be indexed by only one value"
1924 #: mcs/mcs/expression.cs:8518
1925 msgid "An element access expression cannot use named argument"
1928 #: mcs/mcs/expression.cs:8596
1930 msgid "Wrong number of indexes `{0}' inside [], expected `{1}'"
1933 #: mcs/mcs/expression.cs:8984
1935 "The indexer base access cannot be dynamically dispatched. Consider casting "
1936 "the dynamic arguments or eliminating the base access"
1939 #: mcs/mcs/expression.cs:9069
1940 msgid "An expression tree may not contain a base access"
1943 #: mcs/mcs/expression.cs:9087
1944 msgid "Keyword `base' is not available in a static method"
1947 #: mcs/mcs/expression.cs:9089
1948 msgid "Keyword `base' is not available in the current context"
1951 #: mcs/mcs/expression.cs:9127
1953 "A property, indexer or dynamic member access may not be passed as `ref' or "
1957 #: mcs/mcs/expression.cs:9455
1959 msgid "Array elements cannot be of type `{0}'"
1962 #: mcs/mcs/expression.cs:9458
1964 msgid "Array elements cannot be of static type `{0}'"
1967 #: mcs/mcs/expression.cs:9634
1968 msgid "Cannot use a negative size with stackalloc"
1971 #: mcs/mcs/expression.cs:9638
1972 msgid "Cannot use stackalloc in finally or catch"
1975 #: mcs/mcs/expression.cs:9755
1978 "Member `{0}' cannot be initialized. An object initializer may only be used "
1979 "for fields, or properties"
1982 #: mcs/mcs/expression.cs:9764
1985 "Static field or property `{0}' cannot be assigned in an object initializer"
1988 #: mcs/mcs/expression.cs:9963
1991 "A field or property `{0}' cannot be initialized with a collection object "
1992 "initializer because type `{1}' does not implement `{2}' interface"
1995 #: mcs/mcs/expression.cs:9974
1997 msgid "Inconsistent `{0}' member declaration"
2000 #: mcs/mcs/expression.cs:9982
2003 "An object initializer includes more than one member `{0}' initialization"
2006 #: mcs/mcs/expression.cs:10000
2008 msgid "Cannot initialize object of type `{0}' with a collection initializer"
2011 #: mcs/mcs/expression.cs:10285
2012 msgid "Anonymous types cannot be used in this expression"
2015 #: mcs/mcs/expression.cs:10384
2017 msgid "An anonymous type property `{0}' cannot be initialized with `{1}'"
2020 #: mcs/mcs/field.cs:69
2022 "The modifier 'abstract' is not valid on fields. Try using a property instead"
2025 #: mcs/mcs/field.cs:131
2027 "The FieldOffset attribute can only be placed on members of types marked with "
2028 "the StructLayout(LayoutKind.Explicit)"
2031 #: mcs/mcs/field.cs:136
2032 msgid "The FieldOffset attribute is not allowed on static or const fields"
2035 #: mcs/mcs/field.cs:142
2037 "Do not use 'System.Runtime.CompilerServices.FixedBuffer' attribute. Use the "
2038 "'fixed' field modifier instead"
2041 #: mcs/mcs/field.cs:250
2044 "`{0}': Instance field types marked with StructLayout(LayoutKind.Explicit) "
2045 "must have a FieldOffset attribute"
2048 #: mcs/mcs/field.cs:261
2050 msgid "`{0}': cannot declare variables of static types"
2053 #: mcs/mcs/field.cs:408
2056 "`{0}': Fixed size buffers type must be one of the following: bool, byte, "
2057 "short, int, long, char, sbyte, ushort, uint, ulong, float or double"
2060 #: mcs/mcs/field.cs:446
2062 msgid "`{0}': Fixed size buffer fields may only be members of structs"
2065 #: mcs/mcs/field.cs:461
2067 msgid "`{0}': Fixed size buffers must have a length greater than zero"
2070 #: mcs/mcs/field.cs:484
2073 "Fixed size buffer `{0}' of length `{1}' and type `{2}' exceeded 2^31 limit"
2076 #: mcs/mcs/field.cs:666
2078 msgid "`{0}': A volatile field cannot be of the type `{1}'"
2081 #: mcs/mcs/field.cs:671
2083 msgid "`{0}': A field cannot be both volatile and readonly"
2086 #: mcs/mcs/flowanalysis.cs:314
2087 msgid "Control cannot fall through from one case label to another"
2090 #: mcs/mcs/flowanalysis.cs:543
2093 "The label `{0}:' could not be found within the scope of the goto statement"
2096 #: mcs/mcs/flowanalysis.cs:672
2098 "A throw statement with no arguments is not allowed outside of a catch clause"
2101 #: mcs/mcs/flowanalysis.cs:683 mcs/mcs/flowanalysis.cs:689
2102 msgid "No enclosing loop out of which to break or continue"
2105 #: mcs/mcs/flowanalysis.cs:717
2106 msgid "Control cannot leave the body of an anonymous method"
2109 #: mcs/mcs/flowanalysis.cs:760
2110 msgid "The `await' operator cannot be used in the body of a catch clause"
2113 #: mcs/mcs/flowanalysis.cs:766
2114 msgid "Cannot yield a value in the body of a try block with a catch clause"
2117 #: mcs/mcs/flowanalysis.cs:768
2118 msgid "Cannot yield a value in the body of a catch clause"
2121 #: mcs/mcs/flowanalysis.cs:968
2123 "A throw statement with no arguments is not allowed inside of a finally "
2124 "clause nested inside of the innermost catch clause"
2127 #: mcs/mcs/flowanalysis.cs:981
2128 msgid "The `await' operator cannot be used in the body of a finally clause"
2131 #: mcs/mcs/flowanalysis.cs:983 mcs/mcs/iterators.cs:122
2132 msgid "Cannot yield in the body of a finally clause"
2135 #: mcs/mcs/flowanalysis.cs:996 mcs/mcs/flowanalysis.cs:1012
2136 #: mcs/mcs/flowanalysis.cs:1048 mcs/mcs/statement.cs:795
2137 msgid "Control cannot leave the body of a finally clause"
2140 #: mcs/mcs/flowanalysis.cs:1194
2143 "An automatically implemented property `{0}' must be fully assigned before "
2144 "control leaves the constructor. Consider calling the default struct "
2145 "contructor from a constructor initializer"
2148 #: mcs/mcs/flowanalysis.cs:1198
2151 "Field `{0}' must be fully assigned before control leaves the constructor"
2154 #: mcs/mcs/generic.cs:115 mcs/mcs/generic.cs:139
2156 msgid "Type parameter `{0}' inherits conflicting constraints `{1}' and `{2}'"
2159 #: mcs/mcs/generic.cs:201
2161 msgid "A constraint cannot be the dynamic type `{0}'"
2164 #: mcs/mcs/generic.cs:208
2167 "Inconsistent accessibility: constraint type `{0}' is less accessible than `"
2171 #: mcs/mcs/generic.cs:215 mcs/mcs/generic.cs:229
2173 msgid "Duplicate constraint `{0}' for type parameter `{1}'"
2176 #: mcs/mcs/generic.cs:244
2178 msgid "Circular constraint dependency involving `{0}' and `{1}'"
2181 #: mcs/mcs/generic.cs:275
2184 "Type parameter `{0}' has the `struct' constraint, so it cannot be used as a "
2185 "constraint for `{1}'"
2188 #: mcs/mcs/generic.cs:286
2191 "The class type constraint `{0}' must be listed before any other constraints. "
2192 "Consider moving type constraint to the beginning of the constraint list"
2195 #: mcs/mcs/generic.cs:292
2198 "`{0}': cannot specify both a constraint class and the `class' or `struct' "
2202 #: mcs/mcs/generic.cs:304
2204 msgid "A constraint cannot be special class `{0}'"
2207 #: mcs/mcs/generic.cs:308
2208 msgid "A constraint cannot be the dynamic type"
2211 #: mcs/mcs/generic.cs:314
2214 "`{0}' is not a valid constraint. A constraint must be an interface, a non-"
2215 "sealed class or a type parameter"
2218 #: mcs/mcs/generic.cs:321
2221 "`{0}' is not a valid constraint. Static classes cannot be used as constraints"
2224 #: mcs/mcs/generic.cs:613
2226 msgid "The {2} type parameter `{0}' must be {3} valid on `{1}{4}'"
2229 #: mcs/mcs/generic.cs:2032
2231 msgid "`{0}': static classes cannot be used as generic arguments"
2234 #: mcs/mcs/generic.cs:2039
2236 msgid "The type `{0}' may not be used as a type argument"
2239 #: mcs/mcs/generic.cs:2133
2240 msgid "Variant type parameters can only be used with interfaces and delegates"
2243 #: mcs/mcs/generic.cs:2354
2246 "The type `{0}' must be a reference type in order to use it as type parameter "
2247 "`{1}' in the generic type or method `{2}'"
2250 #: mcs/mcs/generic.cs:2364
2253 "The type `{0}' must be a non-nullable value type in order to use it as type "
2254 "parameter `{1}' in the generic type or method `{2}'"
2257 #: mcs/mcs/generic.cs:2423
2260 "The type `{0}' must have a public parameterless constructor in order to use "
2261 "it as parameter `{1}' in the generic type or method `{2}'"
2264 #: mcs/mcs/generic.cs:2479
2267 "The type `{0}' cannot be used as type parameter `{1}' in the generic type or "
2268 "method `{2}'. There is no boxing or type parameter conversion from `{0}' to `"
2272 #: mcs/mcs/generic.cs:2485
2275 "The type `{0}' cannot be used as type parameter `{1}' in the generic type or "
2276 "method `{2}'. The nullable type `{0}' never satisfies interface constraint `"
2280 #: mcs/mcs/generic.cs:2489
2283 "The type `{0}' cannot be used as type parameter `{1}' in the generic type or "
2284 "method `{2}'. The nullable type `{0}' does not satisfy constraint `{3}'"
2287 #: mcs/mcs/generic.cs:2494
2290 "The type `{0}' cannot be used as type parameter `{1}' in the generic type or "
2291 "method `{2}'. There is no boxing conversion from `{0}' to `{3}'"
2294 #: mcs/mcs/generic.cs:2499
2297 "The type `{0}' cannot be used as type parameter `{1}' in the generic type or "
2298 "method `{2}'. There is no implicit reference conversion from `{0}' to `{3}'"
2301 #: mcs/mcs/import.cs:1868
2304 "Reference to type `{0}' claims it is defined in this assembly, but it is not "
2305 "defined in source or any added modules"
2308 #: mcs/mcs/import.cs:1873
2311 "The type `{0}' has been forwarded to an assembly that is not referenced. "
2312 "Consider adding a reference to assembly `{1}'"
2315 #: mcs/mcs/import.cs:1877
2318 "The type `{0}' is defined in an assembly that is not referenced. Consider "
2319 "adding a reference to assembly `{1}'"
2322 #: mcs/mcs/import.cs:1882
2325 "Reference to type `{0}' claims it is defined assembly `{1}', but it could "
2329 #: mcs/mcs/iterators.cs:80
2330 msgid "The yield statement cannot be used inside anonymous method blocks"
2333 #: mcs/mcs/iterators.cs:1101
2336 "The body of `{0}' cannot be an iterator block because `{1}' is not an "
2337 "iterator interface type"
2340 #: mcs/mcs/iterators.cs:1114
2341 msgid "Iterators cannot have ref or out parameters"
2344 #: mcs/mcs/iterators.cs:1120
2345 msgid "__arglist is not allowed in parameter list of iterators"
2348 #: mcs/mcs/iterators.cs:1126
2349 msgid "Iterators cannot have unsafe parameters or yield types"
2352 #: mcs/mcs/iterators.cs:1132 mcs/mcs/statement.cs:4987
2353 msgid "Unsafe code may not appear in iterators"
2356 #: mcs/mcs/ikvm.cs:266
2357 msgid "SDK path could not be resolved"
2360 #: mcs/mcs/ikvm.cs:344
2363 "Assembly `{0}' references `{1}' which has a higher version number than "
2364 "imported assembly `{2}'"
2367 #: mcs/mcs/ikvm.cs:353 mcs/mcs/ikvm.cs:357
2370 "Assuming assembly reference `{0}' matches assembly `{1}'. You may need to "
2371 "supply runtime policy"
2374 #: mcs/mcs/ikvm.cs:444
2377 "An assembly with the same name `{0}' has already been imported. Consider "
2378 "removing one of the references or sign the assembly"
2381 #: mcs/mcs/ikvm.cs:453
2384 "An assembly with the same identity `{0}' has already been imported. Consider "
2385 "removing one of the references"
2388 #: mcs/mcs/linq.cs:69
2391 "An implementation of `{0}' query expression pattern could not be found. Are "
2392 "you missing `System.Linq' using directive or `System.Core.dll' assembly "
2396 #: mcs/mcs/linq.cs:91
2398 "Query expressions with a source or join sequence of type `dynamic' are not "
2402 #: mcs/mcs/linq.cs:101
2405 "Ambiguous implementation of the query pattern `{0}' for source type `{1}'"
2408 #: mcs/mcs/linq.cs:132
2411 "An implementation of `{0}' query expression pattern for source type `{1}' "
2412 "could not be found"
2415 #: mcs/mcs/linq.cs:140
2418 "An expression type is incorrect in a subsequent `from' clause in a query "
2419 "expression with source type `{0}'"
2422 #: mcs/mcs/linq.cs:144
2425 "An expression type in `{0}' clause is incorrect. Type inference failed in "
2429 #: mcs/mcs/linq.cs:256
2431 msgid "A range variable `{0}' cannot be initialized with `{1}'"
2434 #: mcs/mcs/linq.cs:828
2436 msgid "A range variable `{0}' conflicts with a previous declaration of `{0}'"
2439 #: mcs/mcs/linq.cs:835
2441 msgid "A range variable `{0}' has already been declared in this scope"
2444 #: mcs/mcs/linq.cs:842
2446 msgid "A range variable `{0}' conflicts with a method type parameter"
2449 #: mcs/mcs/linq.cs:874
2452 "A range variable `{0}' cannot be assigned to. Consider using `let' clause to "
2456 #: mcs/mcs/literal.cs:57
2459 "Cannot convert null to the type parameter `{0}' because it could be a value "
2460 "type. Consider using `default ({0})' instead"
2463 #: mcs/mcs/literal.cs:63
2465 msgid "Cannot convert null to `{0}' because it is a value type"
2468 #: mcs/mcs/literal.cs:274
2471 "Literal of type double cannot be implicitly converted to type `{0}'. Add "
2472 "suffix `{1}' to create a literal of this type"
2475 #: mcs/mcs/membercache.cs:1391
2477 "A partial method declaration and partial method implementation cannot differ "
2478 "on use of `params' modifier"
2481 #: mcs/mcs/membercache.cs:1394
2483 "A partial method declaration and partial method implementation must be both "
2484 "an extension method or neither"
2487 #: mcs/mcs/membercache.cs:1398
2490 "Overloaded contructor `{0}' cannot differ on use of parameter modifiers only"
2493 #: mcs/mcs/membercache.cs:1402
2496 "Overloaded method `{0}' cannot differ on use of parameter modifiers only"
2499 #: mcs/mcs/membercache.cs:1434
2501 "A partial method declaration and partial method implementation must be both "
2502 "`static' or neither"
2505 #: mcs/mcs/membercache.cs:1439
2507 "A partial method declaration and partial method implementation must be both "
2508 "`unsafe' or neither"
2511 #: mcs/mcs/membercache.cs:1445
2513 msgid "A partial method `{0}' declaration is already defined"
2516 #: mcs/mcs/membercache.cs:1449
2518 msgid "A partial method `{0}' implementation is already defined"
2521 #: mcs/mcs/membercache.cs:1460 mcs/mcs/property.cs:81
2523 msgid "A member `{0}' is already reserved"
2526 #: mcs/mcs/membercache.cs:1471
2528 msgid "Duplicate user-defined conversion in type `{0}'"
2531 #: mcs/mcs/membercache.cs:1477
2534 "A member `{0}' is already defined. Rename this member or use different "
2538 #: mcs/mcs/method.cs:558
2540 msgid "`{0}': Async methods cannot use `MethodImplOptions.Synchronized'"
2543 #: mcs/mcs/method.cs:566
2545 "The DllImport attribute must be specified on a method marked `static' and "
2549 #: mcs/mcs/method.cs:661
2551 msgid "`{0}': A partial method parameters cannot use `out' modifier"
2554 #: mcs/mcs/method.cs:722
2557 "Conditional not valid on `{0}' because it is a constructor, destructor, "
2558 "operator or explicit interface implementation"
2561 #: mcs/mcs/method.cs:865
2563 "A partial method cannot define access modifier or any of abstract, extern, "
2564 "new, override, sealed, or virtual modifiers"
2567 #: mcs/mcs/method.cs:871
2569 "A partial method must be declared within a partial class or partial struct"
2572 #: mcs/mcs/method.cs:876
2574 msgid "`{0}': Extension methods must be declared static"
2577 #: mcs/mcs/method.cs:892
2579 msgid "Program `{0}' has more than one entry point defined: `{1}'"
2582 #: mcs/mcs/method.cs:935
2584 msgid "Conditional not valid on `{0}' because it is an override method"
2587 #: mcs/mcs/method.cs:940
2589 msgid "Conditional not valid on `{0}' because its return type is not void"
2592 #: mcs/mcs/method.cs:945
2593 msgid "Conditional not valid on interface members"
2596 #: mcs/mcs/method.cs:951
2598 msgid "Conditional member `{0}' cannot implement interface member `{1}'"
2601 #: mcs/mcs/method.cs:958
2603 msgid "Conditional method `{0}' cannot have an out parameter"
2606 #: mcs/mcs/method.cs:1152
2609 "The constraints for type parameter `{0}' of method `{1}' must match the "
2610 "constraints for type parameter `{2}' of interface method `{3}'. Consider "
2611 "using an explicit interface implementation instead"
2614 #: mcs/mcs/method.cs:1210
2615 msgid "The return type of an async method must be void, Task, or Task<T>"
2618 #: mcs/mcs/method.cs:1227
2620 msgid "`{0}': Extension methods cannot be defined in a nested class"
2623 #: mcs/mcs/method.cs:1233
2626 "`{0}': Extension methods require `System.Runtime.CompilerServices."
2627 "ExtensionAttribute' type to be available. Are you missing an assembly "
2631 #: mcs/mcs/method.cs:1242
2633 msgid "`{0}': Extension methods must be defined in a non-generic static class"
2636 #: mcs/mcs/method.cs:1258
2638 msgid "`{0}': an entry point cannot be async method"
2641 #: mcs/mcs/method.cs:1295
2644 "A partial method `{0}' implementation is missing a partial method declaration"
2647 #: mcs/mcs/method.cs:1336
2649 msgid "Method or delegate cannot return type `{0}'"
2652 #: mcs/mcs/method.cs:1415
2654 "The constructor call cannot be dynamically dispatched within constructor "
2658 #: mcs/mcs/method.cs:1429
2660 msgid "`{0}': Struct constructors cannot call base constructors"
2663 #: mcs/mcs/method.cs:1447
2665 msgid "Constructor `{0}' cannot call itself"
2668 #: mcs/mcs/method.cs:1576
2670 msgid "`{0}': The static constructor must be parameterless"
2673 #: mcs/mcs/method.cs:1597
2674 msgid "Structs cannot contain explicit parameterless constructors"
2677 #: mcs/mcs/method.cs:1652
2680 "`{0}': A class with the ComImport attribute cannot have a user-defined "
2684 #: mcs/mcs/method.cs:1902
2686 msgid "`{0}' is an accessor not found in interface member `{1}{2}'"
2689 #: mcs/mcs/method.cs:1908
2692 "`{0}.{1}' in explicit interface declaration is not a member of interface"
2695 #: mcs/mcs/method.cs:1916
2698 "`{0}' explicit method implementation cannot implement `{1}' because it is an "
2702 #: mcs/mcs/method.cs:1926
2704 msgid "Method `{0}' cannot implement interface accessor `{1}'"
2707 #: mcs/mcs/method.cs:1933
2710 "Accessor `{0}' cannot implement interface member `{1}' for type `{2}'. Use "
2711 "an explicit interface implementation"
2714 #: mcs/mcs/method.cs:1940
2717 "Accessor `{0}' must be declared public to implement interface member `{1}'"
2720 #: mcs/mcs/method.cs:1960
2723 "`{0}': the explicit interface implementation cannot introduce the params "
2727 #: mcs/mcs/method.cs:2308
2730 "Attribute `{0}' is not valid on property or event accessors. It is valid on `"
2731 "{1}' declarations only"
2734 #: mcs/mcs/method.cs:2536
2736 msgid "User-defined operator `{0}' must be declared static and public"
2739 #: mcs/mcs/method.cs:2580
2741 "User-defined operator cannot take an object of the enclosing type and "
2742 "convert to an object of the enclosing type"
2745 #: mcs/mcs/method.cs:2591
2746 msgid "User-defined conversion must convert to or from the enclosing type"
2749 #: mcs/mcs/method.cs:2597
2752 "User-defined conversion `{0}' cannot convert to or from the dynamic type"
2755 #: mcs/mcs/method.cs:2604
2758 "User-defined conversion `{0}' cannot convert to or from an interface type"
2761 #: mcs/mcs/method.cs:2611
2763 msgid "User-defined conversion `{0}' cannot convert to or from a base class"
2766 #: mcs/mcs/method.cs:2617
2768 msgid "User-defined conversion `{0}' cannot convert to or from a derived class"
2771 #: mcs/mcs/method.cs:2624
2773 "Overloaded shift operator must have the type of the first operand be the "
2774 "containing type, and the type of the second operand must be int"
2777 #: mcs/mcs/method.cs:2633
2779 "The return type for ++ or -- operator must be the containing type or derived "
2780 "from the containing type"
2783 #: mcs/mcs/method.cs:2638
2784 msgid "The parameter type for ++ or -- operator must be the containing type"
2787 #: mcs/mcs/method.cs:2645
2788 msgid "The parameter type of a unary operator must be the containing type"
2791 #: mcs/mcs/method.cs:2653
2792 msgid "The return type of operator True or False must be bool"
2795 #: mcs/mcs/method.cs:2668
2796 msgid "One of the parameters of a binary operator must be the containing type"
2799 #: mcs/mcs/modifiers.cs:277
2801 msgid "The modifier `{0}' is not valid for this item"
2804 #: mcs/mcs/namespace.cs:263
2807 "The type or namespace name `{0}' could not be found in the global namespace. "
2808 "Are you missing {1} assembly reference?"
2811 #: mcs/mcs/namespace.cs:267
2814 "The type or namespace name `{0}' does not exist in the namespace `{1}'. Are "
2815 "you missing {2} assembly reference?"
2818 #: mcs/mcs/namespace.cs:367
2820 msgid "The imported type `{0}' is defined multiple times"
2823 #: mcs/mcs/namespace.cs:839 mcs/mcs/namespace.cs:851
2825 "A using clause must precede all other namespace elements except extern alias "
2829 #: mcs/mcs/namespace.cs:867
2831 msgid "The using alias `{0}' appeared previously in this namespace"
2834 #: mcs/mcs/namespace.cs:905 mcs/mcs/namespace.cs:928
2836 msgid "The namespace `{0}' already contains a definition for `{1}'"
2839 #: mcs/mcs/namespace.cs:1147
2841 msgid "Namespace `{0}' contains a definition with same name as alias `{1}'"
2844 #: mcs/mcs/namespace.cs:1199
2846 msgid "`{0}' is an ambiguous reference between `{1}' and `{2}'"
2849 #: mcs/mcs/namespace.cs:1390
2852 "`{0}' is a type not a namespace. A using namespace directive can only be "
2853 "applied to namespaces"
2856 #: mcs/mcs/namespace.cs:1414
2858 msgid "The extern alias `{0}' was not specified in -reference option"
2861 #: mcs/mcs/nullable.cs:1026
2863 "An expression tree cannot contain a coalescing operator with null left side"
2866 #: mcs/mcs/parameter.cs:157
2867 msgid "The params parameter must be a single dimensional array"
2870 #: mcs/mcs/parameter.cs:319
2871 msgid "An out parameter cannot have the `In' attribute"
2874 #: mcs/mcs/parameter.cs:324
2876 "Do not use `System.ParamArrayAttribute'. Use the `params' keyword instead"
2879 #: mcs/mcs/parameter.cs:331
2881 "Cannot specify only `Out' attribute on a ref parameter. Use both `In' and "
2882 "`Out' attributes or neither"
2885 #: mcs/mcs/parameter.cs:340
2887 msgid "Cannot specify `{0}' attribute on optional parameter `{1}'"
2890 #: mcs/mcs/parameter.cs:349
2892 "The CallerMemberName attribute can only be applied to parameters with "
2896 #: mcs/mcs/parameter.cs:354
2898 "The CallerLineNumber attribute can only be applied to parameters with "
2902 #: mcs/mcs/parameter.cs:359
2904 "The CallerFilePath attribute can only be applied to parameters with default "
2908 #: mcs/mcs/parameter.cs:392
2910 msgid "Method or delegate parameter cannot be of type `{0}'"
2913 #: mcs/mcs/parameter.cs:402
2915 msgid "`{0}': static types cannot be used as parameters"
2918 #: mcs/mcs/parameter.cs:408
2920 msgid "The extension method cannot be of type `{0}'"
2923 #: mcs/mcs/parameter.cs:429 mcs/mcs/parameter.cs:441
2926 "The CallerMemberName attribute cannot be applied because there is no "
2927 "standard conversion from `{0}' to `{1}'"
2930 #: mcs/mcs/parameter.cs:453
2933 "The CallerFilePath attribute cannot be applied because there is no standard "
2934 "conversion from `{0}' to `{1}'"
2937 #: mcs/mcs/parameter.cs:499
2940 "Argument of type `{0}' is not applicable for the DefaultParameterValue "
2944 #: mcs/mcs/parameter.cs:503
2947 "The DefaultParameterValue attribute is not applicable on parameters of type `"
2951 #: mcs/mcs/parameter.cs:531
2952 msgid "The type of the default value should match the type of the parameter"
2955 #: mcs/mcs/parameter.cs:682
2956 msgid "An expression tree parameter cannot use `ref' or `out' modifier"
2959 #: mcs/mcs/parameter.cs:1157
2961 msgid "The parameter name `{0}' conflicts with a compiler generated name"
2964 #: mcs/mcs/parameter.cs:1317
2967 "The expression being assigned to optional parameter `{0}' must be a constant "
2971 #: mcs/mcs/parameter.cs:1334
2974 "The expression being assigned to nullable optional parameter `{0}' must be "
2978 #: mcs/mcs/parameter.cs:1342
2981 "Optional parameter `{0}' of type `{1}' can only be initialized with `null'"
2984 #: mcs/mcs/parameter.cs:1353
2987 "Optional parameter expression of type `{0}' cannot be converted to parameter "
2991 #: mcs/mcs/pending.cs:326
2994 "Cannot implement interface `{0}' with the specified type parameters because "
2995 "it causes method `{1}' to differ on parameter modifiers only"
2998 #: mcs/mcs/pending.cs:691
3001 "`{0}' does not implement interface member `{1}' and the best implementing "
3002 "candidate `{2}' is static"
3005 #: mcs/mcs/pending.cs:695
3008 "`{0}' does not implement interface member `{1}' and the best implementing "
3009 "candidate `{2}' is not public"
3012 #: mcs/mcs/pending.cs:699
3015 "`{0}' does not implement interface member `{1}' and the best implementing "
3016 "candidate `{2}' return type `{3}' does not match interface member return "
3020 #: mcs/mcs/pending.cs:704
3022 msgid "`{0}' does not implement interface member `{1}'"
3025 #: mcs/mcs/pending.cs:709
3027 msgid "`{0}' does not implement inherited abstract member `{1}'"
3030 #: mcs/mcs/property.cs:349
3033 "`{0}': accessibility modifiers may not be used on accessors in an interface"
3036 #: mcs/mcs/property.cs:352
3038 msgid "`{0}': abstract properties cannot have private accessors"
3041 #: mcs/mcs/property.cs:402
3044 "The accessibility modifier of the `{0}' accessor must be more restrictive "
3045 "than the modifier of the property or indexer `{1}'"
3048 #: mcs/mcs/property.cs:511
3050 msgid "Explicit interface implementation `{0}' is missing accessor `{1}'"
3053 #: mcs/mcs/property.cs:530
3056 "`{0}': cannot override because `{1}' does not have an overridable get "
3060 #: mcs/mcs/property.cs:547
3063 "`{0}': cannot override because `{1}' does not have an overridable set "
3067 #: mcs/mcs/property.cs:588
3070 "`{0}': Cannot specify accessibility modifiers for both accessors of the "
3071 "property or indexer"
3074 #: mcs/mcs/property.cs:595
3077 "`{0}': accessibility modifiers on accessors may only be used if the property "
3078 "or indexer has both a get and a set accessor"
3081 #: mcs/mcs/property.cs:823
3084 "Automatically implemented property `{0}' cannot be used inside a type with "
3085 "an explicit StructLayout attribute"
3088 #: mcs/mcs/property.cs:1312
3090 msgid "`{0}': event must be of a delegate type"
3093 #: mcs/mcs/property.cs:1588
3096 "The `{0}' attribute is valid only on an indexer that is not an explicit "
3097 "interface member declaration"
3100 #: mcs/mcs/property.cs:1592
3101 msgid "Cannot set the `IndexerName' attribute on an indexer marked override"
3104 #: mcs/mcs/module.cs:336
3106 msgid "Value specified for the argument to `{0}' is not valid"
3109 #: mcs/mcs/statement.cs:100
3111 "A lambda expression with statement body cannot be converted to an expresion "
3115 #: mcs/mcs/statement.cs:858
3118 "An object of a type convertible to `{0}' is required for the return statement"
3121 #: mcs/mcs/statement.cs:872 mcs/mcs/statement.cs:896
3124 "`{0}': A return keyword must not be followed by any expression when method "
3128 #: mcs/mcs/statement.cs:907
3131 "`{0}': A return keyword must not be followed by an expression when async "
3132 "method returns `Task'. Consider using `Task<T>' return type"
3135 #: mcs/mcs/statement.cs:917
3138 "`{0}': The return expression type of async method must be `{1}' rather than "
3142 #: mcs/mcs/statement.cs:927
3145 "`{0}': A return keyword must not be followed by any expression when delegate "
3149 #: mcs/mcs/statement.cs:950
3152 "Cannot convert `{0}' to delegate type `{1}' because some of the return types "
3153 "in the block are not implicitly convertible to the delegate return type"
3156 #: mcs/mcs/statement.cs:998
3158 "Cannot return a value from iterators. Use the yield return statement to "
3159 "return a value, or yield break to end the iteration"
3162 #: mcs/mcs/statement.cs:1170 mcs/mcs/statement.cs:1215
3163 msgid "A goto case is only valid inside a switch statement"
3166 #: mcs/mcs/statement.cs:1303 mcs/mcs/statement.cs:5388
3167 msgid "The type caught or thrown must be derived from System.Exception"
3170 #: mcs/mcs/statement.cs:1548
3171 msgid "A fixed statement cannot use an implicitly typed local variable"
3174 #: mcs/mcs/statement.cs:1553
3175 msgid "An implicitly typed local variable cannot be a constant"
3178 #: mcs/mcs/statement.cs:1558
3180 "An implicitly typed local variable declarator must include an initializer"
3183 #: mcs/mcs/statement.cs:1563
3185 "An implicitly typed local variable declaration cannot include multiple "
3189 #: mcs/mcs/statement.cs:2185
3192 "A local variable named `{0}' cannot be declared in this scope because it "
3193 "would give a different meaning to `{0}', which is already used in a `{1}' "
3194 "scope to denote something else"
3197 #: mcs/mcs/statement.cs:2197
3199 msgid "A local variable named `{0}' is already defined in this scope"
3202 #: mcs/mcs/statement.cs:2204
3205 "The type parameter name `{0}' is the same as local variable or parameter name"
3208 #: mcs/mcs/statement.cs:2935
3211 "The out parameter `{0}' must be assigned to before control leaves the "
3215 #: mcs/mcs/statement.cs:3053
3217 msgid "`{0}': not all code paths return a value"
3220 #: mcs/mcs/statement.cs:3070
3222 msgid "Not all code paths return a value in anonymous method of type `{0}'"
3225 #: mcs/mcs/statement.cs:3118
3226 msgid "Async methods cannot have ref or out parameters"
3229 #: mcs/mcs/statement.cs:3124
3230 msgid "__arglist is not allowed in parameter list of async methods"
3233 #: mcs/mcs/statement.cs:3130
3234 msgid "Async methods cannot have unsafe parameters"
3237 #: mcs/mcs/statement.cs:3325
3239 msgid "The label `{0}' is a duplicate"
3242 #: mcs/mcs/statement.cs:3334 mcs/mcs/statement.cs:3345
3245 "The label `{0}' shadows another label by the same name in a contained scope"
3248 #: mcs/mcs/statement.cs:3641
3250 msgid "The label `case {0}:' already occurs in this switch statement"
3253 #: mcs/mcs/statement.cs:4160
3256 "A switch expression of type `{0}' cannot be converted to an integral type, "
3257 "bool, char, string, enum or nullable type"
3260 #: mcs/mcs/statement.cs:4771
3262 msgid "`{0}' is not a reference type as required by the lock statement"
3265 #: mcs/mcs/statement.cs:5118
3266 msgid "The type of locals declared in a fixed statement must be a pointer type"
3269 #: mcs/mcs/statement.cs:5134
3271 "The right hand side of a fixed statement assignment may not be a cast "
3275 #: mcs/mcs/statement.cs:5204
3277 "You cannot use the fixed statement to take the address of an already fixed "
3281 #: mcs/mcs/statement.cs:5560
3284 "A previous catch clause already catches all exceptions of this or a super "
3288 #: mcs/mcs/statement.cs:5700
3291 "`{0}': type used in a using statement must be implicitly convertible to "
3292 "`System.IDisposable'"
3295 #: mcs/mcs/statement.cs:6104
3298 "foreach statement requires that the return type `{0}' of `{1}' must have a "
3299 "suitable public MoveNext method and public Current property"
3302 #: mcs/mcs/statement.cs:6149
3305 "foreach statement cannot operate on variables of type `{0}' because it "
3306 "contains multiple implementation of `{1}'. Try casting to a specific "
3310 #: mcs/mcs/statement.cs:6178
3313 "foreach statement cannot operate on variables of type `{0}' because it does "
3314 "not contain a definition for `{1}' or is inaccessible"
3317 #: mcs/mcs/statement.cs:6409
3318 msgid "Use of null is not valid in this context"
3321 #: mcs/mcs/statement.cs:6421
3323 msgid "Foreach statement cannot operate on a `{0}'"
3326 #: mcs/mcs/typemanager.cs:785
3328 msgid "The predefined type `{0}.{1}' is not defined or imported"
3331 #: mcs/mcs/typemanager.cs:830
3334 "The predefined type `{0}.{1}' is defined multiple times. Using definition "
3338 #: mcs/mcs/typemanager.cs:845
3340 msgid "The predefined type `{0}.{1}' is not declared correctly"
3343 #: mcs/mcs/typemanager.cs:970
3346 "The compiler required member `{0}.{1}{2}' could not be found or is "
3350 #: mcs/mcs/typemanager.cs:1084
3353 "Cannot take the address of, get the size of, or declare a pointer to a "
3354 "managed type `{0}'"