forked from dotnet/roslyn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCSharpResources.zh-Hans.xlf
13009 lines (12973 loc) · 782 KB
/
CSharpResources.zh-Hans.xlf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="zh-Hans" original="../CSharpResources.resx">
<body>
<trans-unit id="CallingConventionTypeIsInvalid">
<source>Cannot use '{0}' as a calling convention modifier.</source>
<target state="translated">不能将“{0}”用作调用约定修饰符。</target>
<note />
</trans-unit>
<trans-unit id="CallingConventionTypesRequireUnmanaged">
<source>Passing '{0}' is not valid unless '{1}' is 'SignatureCallingConvention.Unmanaged'.</source>
<target state="translated">传递“{0}”无效,除非“{1}”是 "SignatureCallingConvention.Unmanaged"。</target>
<note />
</trans-unit>
<trans-unit id="CannotCreateConstructedFromConstructed">
<source>Cannot create constructed generic type from another constructed generic type.</source>
<target state="translated">无法从另一个构造泛型类型创建构造泛型类型。</target>
<note />
</trans-unit>
<trans-unit id="CannotCreateConstructedFromNongeneric">
<source>Cannot create constructed generic type from non-generic type.</source>
<target state="translated">无法从非泛型类型创建构造泛型类型。</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractConversionNotInvolvingContainedType">
<source>User-defined conversion in an interface must convert to or from a type parameter on the enclosing type constrained to the enclosing type</source>
<target state="translated">接口中的用户定义转换必须转换为或转换自封闭类型约束为封闭类型的类型参数</target>
<note />
</trans-unit>
<trans-unit id="ERR_AbstractEventHasAccessors">
<source>'{0}': abstract event cannot use event accessor syntax</source>
<target state="translated">“{0}”: 抽象事件不可使用事件访问器语法</target>
<note />
</trans-unit>
<trans-unit id="ERR_AddressOfMethodGroupInExpressionTree">
<source>'&' on method groups cannot be used in expression trees</source>
<target state="translated">不可在表达式树中使用方法组上的 "&"</target>
<note />
</trans-unit>
<trans-unit id="ERR_AddressOfToNonFunctionPointer">
<source>Cannot convert &method group '{0}' to non-function pointer type '{1}'.</source>
<target state="translated">无法将方法组“{0}”转换为非函数指针类型“{1}”(&M)。</target>
<note />
</trans-unit>
<trans-unit id="ERR_AltInterpolatedVerbatimStringsNotAvailable">
<source>To use '@$' instead of '$@' for an interpolated verbatim string, please use language version '{0}' or greater.</source>
<target state="translated">若要对内插逐字字符串使用 "@$" 而不是 "$@",请使用语言版本 {0} 或更高版本。</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbigBinaryOpsOnDefault">
<source>Operator '{0}' is ambiguous on operands '{1}' and '{2}'</source>
<target state="translated">运算符 "{0}" 对操作数 "{1}" 和 "{2}" 不明确</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbigBinaryOpsOnUnconstrainedDefault">
<source>Operator '{0}' cannot be applied to 'default' and operand of type '{1}' because it is a type parameter that is not known to be a reference type</source>
<target state="translated">运算符“{0}”不能应用于 "default" 和类型为“{1}”的操作数,因为它是一个类型参数,而且不是已知的引用类型</target>
<note />
</trans-unit>
<trans-unit id="ERR_AmbiguousPrimaryConstructorParameterAsColorColorReceiver">
<source>Identifier '{0}' is ambiguous between type '{1}' and parameter '{2}' in this context.</source>
<target state="translated">在此上下文中,标识符“{0}”在类型“{1}”和参数“{2}”之间不明确。</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnnotationDisallowedInObjectCreation">
<source>Cannot use a nullable reference type in object creation.</source>
<target state="translated">无法在对象创建中使用可为 null 的引用类型。</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnonDelegateCantUseRefLike">
<source>Cannot use parameter '{0}' that has ref-like type inside an anonymous method, lambda expression, query expression, or local function</source>
<target state="translated">无法使用匿名方法、lambda 表达式、查询表达式或局部函数内具有 ref-like 类型的参数“{0}”</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnonDelegateCantUseStructPrimaryConstructorParameterCaptured">
<source>Anonymous methods, lambda expressions, query expressions, and local functions inside a struct cannot access primary constructor parameter also used inside an instance member</source>
<target state="translated">结构内的匿名方法、lambda 表达式、查询表达式和局部函数无法访问同时在实例成员内使用的主构造函数参数</target>
<note />
</trans-unit>
<trans-unit id="ERR_AnonDelegateCantUseStructPrimaryConstructorParameterInMember">
<source>Anonymous methods, lambda expressions, query expressions, and local functions inside an instance member of a struct cannot access primary constructor parameter</source>
<target state="translated">结构的实例成员内的匿名方法、lambda 表达式、查询表达式和局部函数无法访问主构造函数参数</target>
<note />
</trans-unit>
<trans-unit id="ERR_ArgumentNameInITuplePattern">
<source>Element names are not permitted when pattern-matching via 'System.Runtime.CompilerServices.ITuple'.</source>
<target state="translated">通过 "System.Runtime.CompilerServices.ITuple" 进行模式匹配时,不允许使用元素名称。</target>
<note />
</trans-unit>
<trans-unit id="ERR_AsNullableType">
<source>It is not legal to use nullable reference type '{0}?' in an as expression; use the underlying type '{0}' instead.</source>
<target state="translated">在 as 表达式中使用可以为 null 的引用类型“{0}?”是非法的;请改用基础类型“{0}”。</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssgReadonlyPrimaryConstructorParameter">
<source>A primary constructor parameter of a readonly type cannot be assigned to (except in init-only setter of the type or a variable initializer)</source>
<target state="translated">无法将只读类型的主构造函数参数分配给(在该类型的 init-only 设定子或变量初始值设定项中除外)</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssgReadonlyPrimaryConstructorParameter2">
<source>Members of primary constructor parameter '{0}' of a readonly type cannot be modified (except in init-only setter of the type or a variable initializer)</source>
<target state="translated">无法修改只读类型的主构造函数参数“{0}”的成员(在该类型的 init-only 设定子或变量初始值设定项中除外)</target>
<note />
</trans-unit>
<trans-unit id="ERR_AssignmentInitOnly">
<source>Init-only property or indexer '{0}' can only be assigned in an object initializer, or on 'this' or 'base' in an instance constructor or an 'init' accessor.</source>
<target state="translated">只能在对象初始值设定项中或在实例构造函数或 "init" 访问器中的 "this" 或 "base" 上分配 init-only 属性或索引器 "{0}"。</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttrDependentTypeNotAllowed">
<source>Type '{0}' cannot be used in this context because it cannot be represented in metadata.</source>
<target state="translated">类型“{0}”不能在此上下文中使用,因为它不能在元数据中表示。</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttrTypeArgCannotBeTypeVar">
<source>'{0}': an attribute type argument cannot use type parameters</source>
<target state="translated">“{0}”: 特性类型参数不能使用类型参数</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttributeNotOnEventAccessor">
<source>Attribute '{0}' is not valid on event accessors. It is only valid on '{1}' declarations.</source>
<target state="translated">特性“{0}”对事件访问器无效。它仅对“{1}”声明有效。</target>
<note />
</trans-unit>
<trans-unit id="ERR_AttributesRequireParenthesizedLambdaExpression">
<source>Attributes on lambda expressions require a parenthesized parameter list.</source>
<target state="translated">Lambda 表达式上的属性需要拥有带圆括号的参数列表。</target>
<note />
</trans-unit>
<trans-unit id="ERR_AutoPropertyWithSetterCantBeReadOnly">
<source>Auto-implemented property '{0}' cannot be marked 'readonly' because it has a 'set' accessor.</source>
<target state="translated">无法将自动实现的属性 "{0}" 标记为 "readonly",因为它具有 "set" 访问器。</target>
<note />
</trans-unit>
<trans-unit id="ERR_AutoSetterCantBeReadOnly">
<source>Auto-implemented 'set' accessor '{0}' cannot be marked 'readonly'.</source>
<target state="translated">自动实现的的 "set" 访问器 "{0}" 不能标记为 "readonly"。</target>
<note />
</trans-unit>
<trans-unit id="ERR_AwaitForEachMissingMember">
<source>Asynchronous foreach statement cannot operate on variables of type '{0}' because '{0}' does not contain a suitable public instance or extension definition for '{1}'</source>
<target state="translated">“{0}”不包含“{1}”的适当公共实例或扩展定义,因此异步 foreach 语句不能作用于“{0}”类型的变量</target>
<note />
</trans-unit>
<trans-unit id="ERR_AwaitForEachMissingMemberWrongAsync">
<source>Asynchronous foreach statement cannot operate on variables of type '{0}' because '{0}' does not contain a public instance or extension definition for '{1}'. Did you mean 'foreach' rather than 'await foreach'?</source>
<target state="translated">“{0}”不包含“{1}”的公共实例或扩展定义,因此异步 foreach 语句不能作用于“{0}”类型的变量。是否希望使用 "foreach" 而非 "await foreach"?</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAbstractBinaryOperatorSignature">
<source>One of the parameters of a binary operator must be the containing type, or its type parameter constrained to it.</source>
<target state="translated">二元运算符的参数之一必须是包含类型或被其约束的类型参数。</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAbstractEqualityOperatorSignature">
<source>One of the parameters of an equality, or inequality operator declared in interface '{0}' must be a type parameter on '{0}' constrained to '{0}'</source>
<target state="translated">在接口 "{0}" 中声明的相等或不相等运算符的参数之一必须是 "{0}" 上的类型参数,限制为 "{0}"</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAbstractIncDecRetType">
<source>The return type for ++ or -- operator must either match the parameter type, or be derived from the parameter type, or be the containing type's type parameter constrained to it unless the parameter type is a different type parameter.</source>
<target state="translated">++ 或 -- 运算符的返回类型必须与参数类型匹配,或者必须从参数类型派生,或者必须是包含类型的被其约束的类型参数,除非该参数类型是不同的类型参数。</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAbstractIncDecSignature">
<source>The parameter type for ++ or -- operator must be the containing type, or its type parameter constrained to it.</source>
<target state="translated">++ 或 -- 运算符的参数必须是包含类型或被其约束的类型参数。</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAbstractShiftOperatorSignature">
<source>The first operand of an overloaded shift operator must have the same type as the containing type or its type parameter constrained to it</source>
<target state="translated">重载移位运算符的第一个操作数的类型必须与包含类型或约束为该类型的类型参数相同</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAbstractStaticMemberAccess">
<source>A static virtual or abstract interface member can be accessed only on a type parameter.</source>
<target state="translated">只能在类型参数上访问静态虚拟或抽象接口成员。</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadAbstractUnaryOperatorSignature">
<source>The parameter of a unary operator must be the containing type, or its type parameter constrained to it.</source>
<target state="translated">一元运算符的参数必须是包含类型或被其约束的类型参数。</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadArgExtraRefLangVersion">
<source>Argument {0} may not be passed with the 'ref' keyword in language version {1}. To pass 'ref' arguments to 'in' parameters, upgrade to language version {2} or greater.</source>
<target state="translated">不能在语言版本 {1} 中使用 “ref” 关键字传递参数 {0}。要将 “ref” 参数传递给 “in” 参数,请升级到语言版本 {2} 或更高版本。</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadBinaryReadOnlySpanConcatenation">
<source>Operator '{0}' cannot be applied to operands of type '{1}' and '{2}' that are not UTF-8 byte representations</source>
<target state="translated">运算符 "{0}" 不能应用于类型为 "{1}" 和 "{2}" 的非 UTF-8 字节表示形式的操作数</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadCallerArgumentExpressionParamWithoutDefaultValue">
<source>The CallerArgumentExpressionAttribute may only be applied to parameters with default values</source>
<target state="translated">CallerArgumentExpressionAttribute 只能应用于具有默认值的参数</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadCaseInSwitchArm">
<source>A switch expression arm does not begin with a 'case' keyword.</source>
<target state="translated">切换表达式 arm 不以 “case” 关键字 (keyword)开头。</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadDynamicAwaitForEach">
<source>Cannot use a collection of dynamic type in an asynchronous foreach</source>
<target state="translated">无法在异步 foreach 中使用动态类型集合</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadFieldTypeInRecord">
<source>The type '{0}' may not be used for a field of a record.</source>
<target state="translated">类型“{0}”不能用于记录的字段。</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadFuncPointerArgCount">
<source>Function pointer '{0}' does not take {1} arguments</source>
<target state="translated">函数指针“{0}”未采用 {1} 个参数</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadFuncPointerParamModifier">
<source>'{0}' cannot be used as a modifier on a function pointer parameter.</source>
<target state="translated">“{0}”不能作为函数指针参数上的修饰符使用。</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadInheritanceFromRecord">
<source>Only records may inherit from records.</source>
<target state="translated">只有记录可以从记录继承。</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadInitAccessor">
<source>The 'init' accessor is not valid on static members</source>
<target state="translated">"Init" 访问器对静态成员无效</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadNullableContextOption">
<source>Invalid option '{0}' for /nullable; must be 'disable', 'enable', 'warnings' or 'annotations'</source>
<target state="translated">/nullable 的选项“{0}”无效;必须为“禁用”、“启用”、“警告”或“注释”</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadNullableReferenceTypeInUsingAlias">
<source>Using alias cannot be a nullable reference type.</source>
<target state="translated">使用别名不能为可为 null 的引用类型。</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadNullableTypeof">
<source>The typeof operator cannot be used on a nullable reference type</source>
<target state="translated">不能在可为 null 的引用类型上使用 typeof 运算符</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadOpOnNullOrDefaultOrNew">
<source>Operator '{0}' cannot be applied to operand '{1}'</source>
<target state="translated">运算符“{0}”无法应用于操作数“{1}”</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadPatternExpression">
<source>Invalid operand for pattern match; value required, but found '{0}'.</source>
<target state="translated">用于模式匹配的操作数无效;需要值,但找到的是“{0}”。</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadRecordBase">
<source>Records may only inherit from object or another record</source>
<target state="translated">记录只能从对象或另一条记录继承</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadRecordMemberForPositionalParameter">
<source>Record member '{0}' must be a readable instance property or field of type '{1}' to match positional parameter '{2}'.</source>
<target state="translated">记录成员 '{0}' 必须为类型 '{1}' 的可读实例属性或字段,以匹配位置参数 '{2}'。</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadSpecialByRefLock">
<source>A lock statement on a value of type 'System.Threading.Lock' cannot be used in async methods or async lambda expressions.</source>
<target state="new">A lock statement on a value of type 'System.Threading.Lock' cannot be used in async methods or async lambda expressions.</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadSpecialByRefUsing">
<source>A using statement resource of type '{0}' cannot be used in async methods or async lambda expressions.</source>
<target state="translated">无法在异步方法或异步 lambda 表达式中使用类型为“{0}”的 using 语句资源。</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadRefInUsingAlias">
<source>Using alias cannot be a 'ref' type.</source>
<target state="translated">使用别名不能是 “ref” 类型。</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadStaticAfterUnsafe">
<source>'static' modifier must precede 'unsafe' modifier.</source>
<target state="translated">'static' 修饰符必须位于 'unsafe' 修饰符之前。</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadSwitchValue">
<source>Command-line syntax error: '{0}' is not a valid value for the '{1}' option. The value must be of the form '{2}'.</source>
<target state="translated">命令行语法错误:“{0}”不是“{1}”选项的有效值。值的格式必须为 "{2}"。</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadUnsafeInUsingDirective">
<source>Only a 'using static' or 'using alias' can be 'unsafe'.</source>
<target state="translated">只有 “using static” 或 “using alias” 才能为 “unsafe”。</target>
<note />
</trans-unit>
<trans-unit id="ERR_BadUsingStaticType">
<source>'{0}' type is not valid for 'using static'. Only a class, struct, interface, enum, delegate, or namespace can be used.</source>
<target state="translated">“{0}”类型对于 "using static" 无效。只能使用类、结构、接口、枚举、委托或命名空间。</target>
<note />
</trans-unit>
<trans-unit id="ERR_BuilderAttributeDisallowed">
<source>The AsyncMethodBuilder attribute is disallowed on anonymous methods without an explicit return type.</source>
<target state="translated">没有显式返回类型的匿名方法不允许使用 AsyncMethodBuilder 属性。</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotBeConvertedToUtf8">
<source>The input string cannot be converted into the equivalent UTF-8 byte representation. {0}</source>
<target state="translated">无法将输入字符串转换为等效的 UTF-8 字节表示形式。 {0}</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotBeMadeNullable">
<source>'{0}' cannot be made nullable.</source>
<target state="translated">“{0}”不可以为 Null。</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotClone">
<source>The receiver type '{0}' is not a valid record type and is not a struct type.</source>
<target state="translated">接收方类型 '{0}' 非有效记录类型,且非结构类型。</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotConvertAddressOfToDelegate">
<source>Cannot convert &method group '{0}' to delegate type '{1}'.</source>
<target state="translated">无法将方法组“{0}”转换为委托类型“{1}”(&M)。</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotInferDelegateType">
<source>The delegate type could not be inferred.</source>
<target state="translated">无法推断委托类型。</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotMatchOnINumberBase">
<source>Cannot use a numeric constant or relational pattern on '{0}' because it inherits from or extends 'INumberBase<T>'. Consider using a type pattern to narrow to a specifc numeric type.</source>
<target state="translated">无法对 "{0}" 使用数值常量或关系模式,因为它继承自或扩展了 "INumberBase<T>"。请考虑使用类型模式缩小到具体的数值类型。</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotSpecifyManagedWithUnmanagedSpecifiers">
<source>'managed' calling convention cannot be combined with unmanaged calling convention specifiers.</source>
<target state="translated">"managed" 调用约定不能与非托管调用约定说明符一起使用。</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotUseFunctionPointerAsFixedLocal">
<source>The type of a local declared in a fixed statement cannot be a function pointer type.</source>
<target state="translated">fixed 语句中声明的局部变量类型不能是函数指针类型。</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotUseManagedTypeInUnmanagedCallersOnly">
<source>Cannot use '{0}' as a {1} type on a method attributed with 'UnmanagedCallersOnly'.</source>
<target state="translated">无法在使用 "UnmanagedCallersOnly" 特性化的方法上将“{0}”用作 {1} 类型。</target>
<note>1 is the localized word for 'parameter' or 'return'. UnmanagedCallersOnly is not localizable.</note>
</trans-unit>
<trans-unit id="ERR_CannotUseReducedExtensionMethodInAddressOf">
<source>Cannot use an extension method with a receiver as the target of a '&' operator.</source>
<target state="translated">不可将具有接收器的扩展方法用作 "&" 运算符的目标。</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotUseRefInUnmanagedCallersOnly">
<source>Cannot use 'ref', 'in', or 'out' in the signature of a method attributed with 'UnmanagedCallersOnly'.</source>
<target state="translated">无法在具有 “UnmanagedCallersOnly” 特性的方法的签名中使用 “ref”、“in” 或 “out”。</target>
<note />
</trans-unit>
<trans-unit id="ERR_CannotUseSelfAsInterpolatedStringHandlerArgument">
<source>InterpolatedStringHandlerArgumentAttribute arguments cannot refer to the parameter the attribute is used on.</source>
<target state="translated">InterpolatedStringHandlerArgumentAttribute 参数不能引用在其上使用该属性的参数。</target>
<note>InterpolatedStringHandlerArgumentAttribute is a type name and should not be translated.</note>
</trans-unit>
<trans-unit id="ERR_CantChangeInitOnlyOnOverride">
<source>'{0}' must match by init-only of overridden member '{1}'</source>
<target state="translated">“{0}”必须与重写成员“{1}”的“仅 init”匹配</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantConvAnonMethReturnType">
<source>Cannot convert {0} to type '{1}' because the return type does not match the delegate return type</source>
<target state="translated">无法将 {0} 转换为类型“{1}”,因为返回类型与委托返回类型不匹配</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantInferMethTypeArgs_DynamicArgumentWithParamsCollections">
<source>The type arguments for method '{0}' cannot be inferred from the usage because an argument with dynamic type is used and the method has a non-array params collection parameter. Try specifying the type arguments explicitly.</source>
<target state="new">The type arguments for method '{0}' cannot be inferred from the usage because an argument with dynamic type is used and the method has a non-array params collection parameter. Try specifying the type arguments explicitly.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CantUseInOrOutInArglist">
<source>__arglist cannot have an argument passed by 'in' or 'out'</source>
<target state="translated">__arglist 不能有 "in" 或 "out" 传递的参数</target>
<note />
</trans-unit>
<trans-unit id="ERR_ChainingToSetsRequiredMembersRequiresSetsRequiredMembers">
<source>This constructor must add 'SetsRequiredMembers' because it chains to a constructor that has that attribute.</source>
<target state="translated">此构造函数必须添加 'SetsRequiredMembers',因为它链接到具有该属性的构造函数。</target>
<note />
</trans-unit>
<trans-unit id="ERR_CheckedOperatorNeedsMatch">
<source>The operator '{0}' requires a matching non-checked version of the operator to also be defined</source>
<target state="translated">运算符 '{0}' 需要同时定义匹配的未选中版本的运算符</target>
<note />
</trans-unit>
<trans-unit id="ERR_CloneDisallowedInRecord">
<source>Members named 'Clone' are disallowed in records.</source>
<target state="translated">记录中不允许使用名为 "Clone" 的成员。</target>
<note />
</trans-unit>
<trans-unit id="ERR_CloseUnimplementedInterfaceMemberNotStatic">
<source>'{0}' does not implement static interface member '{1}'. '{2}' cannot implement the interface member because it is not static.</source>
<target state="translated">“{0}”不实现静态接口成员“{1}”。“{2}”无法实现接口成员,因为它不是静态的。</target>
<note />
</trans-unit>
<trans-unit id="ERR_CloseUnimplementedInterfaceMemberWrongInitOnly">
<source>'{0}' does not implement interface member '{1}'. '{2}' cannot implement '{1}'.</source>
<target state="translated">“{0}”不实现接口成员“{1}”。“{2}”无法实现“{1}”。</target>
<note />
</trans-unit>
<trans-unit id="ERR_CollectionBuilderAttributeInvalidMethodName">
<source>The CollectionBuilderAttribute method name is invalid.</source>
<target state="translated">CollectionBuilderAttribute 方法名称无效。</target>
<note />
</trans-unit>
<trans-unit id="ERR_CollectionBuilderAttributeInvalidType">
<source>The CollectionBuilderAttribute builder type must be a non-generic class or struct.</source>
<target state="translated">CollectionBuilderAttribute 生成器类型必须是非泛型类或结构。</target>
<note />
</trans-unit>
<trans-unit id="ERR_CollectionBuilderAttributeMethodNotFound">
<source>Could not find an accessible '{0}' method with the expected signature: a static method with a single parameter of type 'ReadOnlySpan<{1}>' and return type '{2}'.</source>
<target state="translated">找不到具有预期签名的可访问“{0}”方法: 具有类型为“ReadOnlySpan<{1}>”且返回类型为“{2}”的单个参数的静态方法。</target>
<note />
</trans-unit>
<trans-unit id="ERR_CollectionBuilderNoElementType">
<source>'{0}' has a CollectionBuilderAttribute but no element type.</source>
<target state="translated">“{0}”具有 CollectionBuilderAttribute,但没有元素类型。</target>
<note />
</trans-unit>
<trans-unit id="ERR_CollectionExpressionEscape">
<source>A collection expression of type '{0}' cannot be used in this context because it may be exposed outside of the current scope.</source>
<target state="translated">无法在此上下文中使用类型为“{0}”的集合表达式,因为它可能在当前范围之外公开。</target>
<note />
</trans-unit>
<trans-unit id="ERR_CollectionExpressionImmutableArray">
<source>This version of '{0}' cannot be used with collection expressions.</source>
<target state="translated">“{0}”的此版本无法与集合表达式一起使用。</target>
<note />
</trans-unit>
<trans-unit id="ERR_CollectionExpressionMissingAdd">
<source>Collection expression type must have an applicable instance or extension method 'Add' that can be called with an argument of iteration type '{0}'. The best overloaded method is '{1}'.</source>
<target state="new">Collection expression type must have an applicable instance or extension method 'Add' that can be called with an argument of iteration type '{0}'. The best overloaded method is '{1}'.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CollectionExpressionMissingConstructor">
<source>Collection expression type must have an applicable constructor that can be called with no arguments.</source>
<target state="new">Collection expression type must have an applicable constructor that can be called with no arguments.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CollectionExpressionNoTargetType">
<source>There is no target type for the collection expression.</source>
<target state="translated">集合表达式没有目标类型。</target>
<note />
</trans-unit>
<trans-unit id="ERR_CollectionExpressionTargetNoElementType">
<source>Collection expression target '{0}' has no element type.</source>
<target state="new">Collection expression target '{0}' has no element type.</target>
<note />
</trans-unit>
<trans-unit id="ERR_CollectionExpressionTargetTypeNotConstructible">
<source>Cannot initialize type '{0}' with a collection expression because the type is not constructible.</source>
<target state="translated">无法使用集合表达式初始化类型“{0}”,因为该类型不可构造。</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConWithUnmanagedCon">
<source>Type parameter '{1}' has the 'unmanaged' constraint so '{1}' cannot be used as a constraint for '{0}'</source>
<target state="translated">类型参数“{1}”具有 "unmanaged" 约束,因此“{1}”不能用作“{0}”的约束</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConditionalOnLocalFunction">
<source>Local function '{0}' must be 'static' in order to use the Conditional attribute</source>
<target state="translated">本地函数“{0}”必须为 "static" 才能使用 "Conditional" 特性</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConstantPatternVsOpenType">
<source>An expression of type '{0}' cannot be handled by a pattern of type '{1}'. Please use language version '{2}' or greater to match an open type with a constant pattern.</source>
<target state="translated">"{0}" 类型的表达式不能由 "{1}" 类型的模式进行处理。请使用语言版本 "{2}" 或更高版本,将开放类型与常数模式进行匹配。</target>
<note />
</trans-unit>
<trans-unit id="ERR_ConstantValueOfTypeExpected">
<source>A constant value of type '{0}' is expected</source>
<target state="translated">应为 '{0}' 类型的常量值</target>
<note />
</trans-unit>
<trans-unit id="ERR_CopyConstructorMustInvokeBaseCopyConstructor">
<source>A copy constructor in a record must call a copy constructor of the base, or a parameterless object constructor if the record inherits from object.</source>
<target state="translated">如果记录继承自 object,则记录中的复制构造函数必须调用基对象的复制构造函数,或者调用无参数的对象构造函数。</target>
<note />
</trans-unit>
<trans-unit id="ERR_CopyConstructorWrongAccessibility">
<source>A copy constructor '{0}' must be public or protected because the record is not sealed.</source>
<target state="translated">复制构造函数“{0}”必须是公共的或受保护的,因为该记录未密封。</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeconstructParameterNameMismatch">
<source>The name '{0}' does not match the corresponding 'Deconstruct' parameter '{1}'.</source>
<target state="translated">名称“{0}”与相应 "Deconstruct" 参数“{1}”不匹配。</target>
<note />
</trans-unit>
<trans-unit id="ERR_DeconstructVariableCannotBeByRef">
<source>A deconstruction variable cannot be declared as a ref local</source>
<target state="translated">析构变量不能声明为 ref 局部变量</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultConstraintOverrideOnly">
<source>The 'default' constraint is valid on override and explicit interface implementation methods only.</source>
<target state="translated">"default" 约束仅针对替代和显式接口实现方法有效。</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultInterfaceImplementationInNoPIAType">
<source>Type '{0}' cannot be embedded because it has a non-abstract member. Consider setting the 'Embed Interop Types' property to false.</source>
<target state="translated">无法嵌入类型“{0}”,因为它有非抽象成员。请考虑将“嵌入互操作类型”属性设置为 false。</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultLiteralNoTargetType">
<source>There is no target type for the default literal.</source>
<target state="translated">default 字面量缺少目标类型。</target>
<note />
</trans-unit>
<trans-unit id="ERR_DefaultPattern">
<source>A default literal 'default' is not valid as a pattern. Use another literal (e.g. '0' or 'null') as appropriate. To match everything, use a discard pattern '_'.</source>
<target state="translated">默认字面量“default”不能作为模式使用。请使用其他更适合的字面量(如“0”或“null”)。若要匹配任何输入,请使用放弃模式“_”。</target>
<note />
</trans-unit>
<trans-unit id="ERR_DesignatorBeneathPatternCombinator">
<source>A variable may not be declared within a 'not' or 'or' pattern.</source>
<target state="translated">在“not”或“or”模式中不能声明变量。</target>
<note />
</trans-unit>
<trans-unit id="ERR_DiscardPatternInSwitchStatement">
<source>The discard pattern is not permitted as a case label in a switch statement. Use 'case var _:' for a discard pattern, or 'case @_:' for a constant named '_'.</source>
<target state="translated">在 switch 语句中,不允许将放弃模式作为 case 标签。请使用“case var _:”以表示放弃模式、使用“case @_:”以定义名为“_”的变量。</target>
<note />
</trans-unit>
<trans-unit id="ERR_DoesNotOverrideBaseEqualityContract">
<source>'{0}' does not override expected property from '{1}'.</source>
<target state="translated">“{0}”不替代“{1}”中的预期属性。</target>
<note />
</trans-unit>
<trans-unit id="ERR_DoesNotOverrideBaseMethod">
<source>'{0}' does not override expected method from '{1}'.</source>
<target state="translated">“{0}”不替代“{1}”中的预期方法。</target>
<note />
</trans-unit>
<trans-unit id="ERR_DoesNotOverrideMethodFromObject">
<source>'{0}' does not override expected method from 'object'.</source>
<target state="translated">“{0}”不替代 "object" 中的预期方法。</target>
<note />
</trans-unit>
<trans-unit id="ERR_DupReturnTypeMod">
<source>A return type can only have one '{0}' modifier.</source>
<target state="translated">返回类型只能有一个“{0}”修饰符。</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateExplicitImpl">
<source>'{0}' is explicitly implemented more than once.</source>
<target state="translated">多次显式实现“{0}”。</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateInterceptor">
<source>The indicated call is intercepted multiple times.</source>
<target state="translated">指示的调用被截获多次。</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateInterfaceWithDifferencesInBaseList">
<source>'{0}' is already listed in the interface list on type '{2}' as '{1}'.</source>
<target state="translated">“{0}”已作为“{1}”列入类型“{2}”的接口列表中。</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicateNullSuppression">
<source>Duplicate null suppression operator ('!')</source>
<target state="translated">Null 抑制运算符("!")重复</target>
<note />
</trans-unit>
<trans-unit id="ERR_DuplicatePropertyReadOnlyMods">
<source>Cannot specify 'readonly' modifiers on both accessors of property or indexer '{0}'. Instead, put a 'readonly' modifier on the property itself.</source>
<target state="translated">不能在属性或索引器 "{0}" 的两个访问器上指定 "readonly" 修饰符。而应在属性本身上指定 "readonly" 修饰符。</target>
<note />
</trans-unit>
<trans-unit id="ERR_ElseCannotStartStatement">
<source>'else' cannot start a statement.</source>
<target state="translated">"else" 不能用在语句的开头。</target>
<note />
</trans-unit>
<trans-unit id="ERR_EntryPointCannotBeUnmanagedCallersOnly">
<source>Application entry points cannot be attributed with 'UnmanagedCallersOnly'.</source>
<target state="translated">无法使用 "UnmanagedCallersOnly" 对应用程序入口点进行特性化。</target>
<note>UnmanagedCallersOnly is not localizable.</note>
</trans-unit>
<trans-unit id="ERR_EqualityContractRequiresGetter">
<source>Record equality contract property '{0}' must have a get accessor.</source>
<target state="translated">记录等同性合同属性“{0}”必须具有 get 访问器。</target>
<note />
</trans-unit>
<trans-unit id="ERR_EscapeVariable">
<source>Cannot use variable '{0}' in this context because it may expose referenced variables outside of their declaration scope</source>
<target state="translated">不能在此上下文中使用变量 "{0}",因为它可能会在其声明范围以外公开所引用的变量</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpectedInterpolatedString">
<source>Expected interpolated string</source>
<target state="translated">预期内插字符串</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitImplementationOfOperatorsMustBeStatic">
<source>Explicit implementation of a user-defined operator '{0}' must be declared static</source>
<target state="translated">用户定义的运算符“{0}”的显式实现必须声明为静态</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitNullableAttribute">
<source>Explicit application of 'System.Runtime.CompilerServices.NullableAttribute' is not allowed.</source>
<target state="translated">不允许显示应用 “System.Runtime.CompilerServices.NullableAttribute”。</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitParamArrayOrCollection">
<source>Do not use 'System.ParamArrayAttribute'/'System.Runtime.CompilerServices.ParamCollectionAttribute'. Use the 'params' keyword instead.</source>
<target state="new">Do not use 'System.ParamArrayAttribute'/'System.Runtime.CompilerServices.ParamCollectionAttribute'. Use the 'params' keyword instead.</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitPropertyMismatchInitOnly">
<source>Accessors '{0}' and '{1}' should both be init-only or neither</source>
<target state="translated">访问器 {0} 和 {1} 应同时为 init-only,或两者都不是</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitRequiredMember">
<source>Do not use 'System.Runtime.CompilerServices.RequiredMemberAttribute'. Use the 'required' keyword on required fields and properties instead.</source>
<target state="translated">不要使用 'System.Runtime.CompilerServices.RequiredMemberAttribute'。请改为在必填字段和属性上使用 'required' 关键字。</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExplicitScopedRef">
<source>Do not use 'System.Runtime.CompilerServices.ScopedRefAttribute'. Use the 'scoped' keyword instead.</source>
<target state="translated">请勿使用 "System.Runtime.CompilerServices.ScopedRefAttribute"。请改用 "scoped" 关键字。</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExprCannotBeFixed">
<source>The given expression cannot be used in a fixed statement</source>
<target state="translated">给定表达式不能用于 fixed 语句中</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeCantContainNullCoalescingAssignment">
<source>An expression tree may not contain a null coalescing assignment</source>
<target state="translated">表达式树可能不包含空的合并赋值</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeCantContainRefStruct">
<source>Expression tree cannot contain value of ref struct or restricted type '{0}'.</source>
<target state="translated">表达式树不能包含 ref 结构或受限类型“{0}”的值。</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsAbstractStaticMemberAccess">
<source>An expression tree may not contain an access of static virtual or abstract interface member</source>
<target state="translated">表达式树可能不包含静态虚拟或抽象接口成员的访问权限</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsCollectionExpression">
<source>An expression tree may not contain a collection expression.</source>
<target state="translated">表达式树不能包含集合表达式。</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsFromEndIndexExpression">
<source>An expression tree may not contain a from-end index ('^') expression.</source>
<target state="translated">表达式树不能包含 from-end 索引("^")表达式。</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsInlineArrayOperation">
<source>An expression tree may not contain an inline array access or conversion</source>
<target state="translated">表达式树不能包含内联数组访问或转换</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsInterpolatedStringHandlerConversion">
<source>An expression tree may not contain an interpolated string handler conversion.</source>
<target state="translated">表达式树可能不包含内插字符串处理程序转换。</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsPatternImplicitIndexer">
<source>An expression tree may not contain a pattern System.Index or System.Range indexer access</source>
<target state="translated">表达式树不能包含模式 System.Index 或 System.Range 索引器访问</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsRangeExpression">
<source>An expression tree may not contain a range ('..') expression.</source>
<target state="translated">表达式树不能包含范围("..")表达式。</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsSwitchExpression">
<source>An expression tree may not contain a switch expression.</source>
<target state="translated">表达式树不能包含 switch 表达式。</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsTupleBinOp">
<source>An expression tree may not contain a tuple == or != operator</source>
<target state="translated">表达式树不能包含元组 == 或 != 运算符</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsUtf8StringLiterals">
<source>An expression tree may not contain UTF-8 string conversion or literal.</source>
<target state="translated">表达式树不能包含 UTF-8 字符串转换或文本。</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExpressionTreeContainsWithExpression">
<source>An expression tree may not contain a with-expression.</source>
<target state="translated">表达式树不能包含 with 表达式。</target>
<note />
</trans-unit>
<trans-unit id="ERR_ExternEventInitializer">
<source>'{0}': extern event cannot have initializer</source>
<target state="translated">“{0}”: 外部事件不能有初始值设定项</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureInPreview">
<source>The feature '{0}' is currently in Preview and *unsupported*. To use Preview features, use the 'preview' language version.</source>
<target state="translated">功能“{0}”当前为预览版且*不受支持*。要使用预览版功能,请使用“预览”语言版本。</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureIsExperimental">
<source>Feature '{0}' is experimental and unsupported; use '/features:{1}' to enable.</source>
<target state="translated">功能“{0}”是实验性的且不受支持;请使用“/features:{1}”来启用。</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion10">
<source>Feature '{0}' is not available in C# 10.0. Please use language version {1} or greater.</source>
<target state="translated">功能“{0}”在 C# 10.0 中不可用。请使用语言版本 {1} 或更高版本。</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion11">
<source>Feature '{0}' is not available in C# 11.0. Please use language version {1} or greater.</source>
<target state="translated">功能“{0}”在 C# 11.0 中不可用。请使用 {1} 或更高的语言版本。</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion12">
<source>Feature '{0}' is not available in C# 12.0. Please use language version {1} or greater.</source>
<target state="translated">功能“{0}”在 C# 12.0 中不可用。请使用语言版本 {1} 或更高版本。</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion8">
<source>Feature '{0}' is not available in C# 8.0. Please use language version {1} or greater.</source>
<target state="translated">功能“{0}”在 C# 8.0 中不可用。请使用语言版本 {1} 或更高版本。</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion8_0">
<source>Feature '{0}' is not available in C# 8.0. Please use language version {1} or greater.</source>
<target state="translated">功能“{0}”在 C# 8.0 中不可用。请使用语言版本 {1} 或更高版本。</target>
<note />
</trans-unit>
<trans-unit id="ERR_FeatureNotAvailableInVersion9">
<source>Feature '{0}' is not available in C# 9.0. Please use language version {1} or greater.</source>
<target state="translated">功能“{0}”在 C# 9.0 中不可用。请使用语言版本 {1} 或更高版本。</target>
<note />
</trans-unit>
<trans-unit id="ERR_FieldLikeEventCantBeReadOnly">
<source>Field-like event '{0}' cannot be 'readonly'.</source>
<target state="translated">类似字段的事件 "{0}" 不能为 "readonly"。</target>
<note />
</trans-unit>
<trans-unit id="ERR_FileLocalDuplicateNameInNS">
<source>The namespace '{1}' already contains a definition for '{0}' in this file.</source>
<target state="translated">命名空间“{1}”已包含此文件中“{0}”的定义</target>
<note />
</trans-unit>
<trans-unit id="ERR_FilePathCannotBeConvertedToUtf8">
<source>File-local type '{0}' cannot be used because the containing file path cannot be converted into the equivalent UTF-8 byte representation. {1}</source>
<target state="translated">无法使用文件本地类型“{0}”,因为包含的文件路径无法转换为等效的 UTF-8 字节表示形式。{1}</target>
<note />
</trans-unit>
<trans-unit id="ERR_FileScopedAndNormalNamespace">
<source>Source file can not contain both file-scoped and normal namespace declarations.</source>
<target state="translated">源文件不能同时包含文件范围内和普通命名空间的声明。</target>
<note />
</trans-unit>
<trans-unit id="ERR_FileScopedNamespaceNotBeforeAllMembers">
<source>File-scoped namespace must precede all other members in a file.</source>
<target state="translated">文件范围内的命名空间必须位于文件中所有其他成员之前。</target>
<note />
</trans-unit>
<trans-unit id="ERR_FileTypeBase">
<source>File-local type '{0}' cannot be used as a base type of non-file-local type '{1}'.</source>
<target state="translated">文件本地类型 "{0}" 不能用作非文件本地类型 "{1}" 的基类型。</target>
<note />
</trans-unit>
<trans-unit id="ERR_FileTypeDisallowedInSignature">
<source>File-local type '{0}' cannot be used in a member signature in non-file-local type '{1}'.</source>
<target state="translated">文件本地类型 "{0}" 不能在非文件本地类型 "{1}" 的成员签名中使用。</target>
<note />
</trans-unit>
<trans-unit id="ERR_FileTypeNameDisallowed">
<source>Types and aliases cannot be named 'file'.</source>
<target state="translated">类型和别名不能为 "file"。</target>
<note />
</trans-unit>
<trans-unit id="ERR_FileTypeNested">
<source>File-local type '{0}' must be defined in a top level type; '{0}' is a nested type.</source>
<target state="translated">文件本地类型 "{0}" 必须在顶级类型中定义; "{0}" 是嵌套类型。</target>
<note />
</trans-unit>
<trans-unit id="ERR_FileTypeNoExplicitAccessibility">
<source>File-local type '{0}' cannot use accessibility modifiers.</source>
<target state="translated">文件本地类型 "{0}" 无法使用辅助功能修饰符。</target>
<note />
</trans-unit>
<trans-unit id="ERR_FileTypeNonUniquePath">
<source>File-local type '{0}' must be declared in a file with a unique path. Path '{1}' is used in multiple files.</source>
<target state="translated">必须在具有唯一路径的文件中声明文件本地类型“{0}”。路径“{1}”已用于多个文件。</target>
<note />
</trans-unit>
<trans-unit id="ERR_FixedFieldMustNotBeRef">
<source>A fixed field must not be a ref field.</source>
<target state="translated">固定字段不能是 ref 字段。</target>
<note />
</trans-unit>
<trans-unit id="ERR_ForEachMissingMemberWrongAsync">
<source>foreach statement cannot operate on variables of type '{0}' because '{0}' does not contain a public instance or extension definition for '{1}'. Did you mean 'await foreach' rather than 'foreach'?</source>
<target state="translated">“{0}”不包含“{1}”的公共实例或扩展定义,因此 foreach 语句不能作用于“{0}”类型的变量。是否希望使用 "await foreach" 而非 "foreach"?</target>
<note />
</trans-unit>
<trans-unit id="ERR_FuncPtrMethMustBeStatic">
<source>Cannot create a function pointer for '{0}' because it is not a static method</source>
<target state="translated">无法为“{0}”创建函数指针,因为它不是静态方法</target>
<note />
</trans-unit>
<trans-unit id="ERR_FuncPtrRefMismatch">
<source>Ref mismatch between '{0}' and function pointer '{1}'</source>
<target state="translated">“{0}”和函数指针“{1}”之间的引用不匹配</target>
<note />
</trans-unit>
<trans-unit id="ERR_FunctionPointerTypesInAttributeNotSupported">
<source>Using a function pointer type in this context is not supported.</source>
<target state="translated">不支持在此上下文中使用函数指针类型。</target>
<note />
</trans-unit>
<trans-unit id="ERR_FunctionPointersCannotBeCalledWithNamedArguments">
<source>A function pointer cannot be called with named arguments.</source>
<target state="translated">不能使用命名参数调用函数指针。</target>
<note />
</trans-unit>
<trans-unit id="ERR_GenericConstraintNotSatisfiedInterfaceWithStaticAbstractMembers">
<source>The interface '{0}' cannot be used as type argument. Static member '{1}' does not have a most specific implementation in the interface.</source>
<target state="translated">接口 "{0}" 不能用作类型参数。静态成员 "{1}" 在接口中没有最具体的实现。</target>
<note />
</trans-unit>
<trans-unit id="ERR_GlobalUsingInNamespace">
<source>A global using directive cannot be used in a namespace declaration.</source>
<target state="translated">不能在命名空间声明中使用全局 using 指令。</target>
<note />
</trans-unit>
<trans-unit id="ERR_GlobalUsingOutOfOrder">
<source>A global using directive must precede all non-global using directives.</source>
<target state="translated">全局 using 指令必须位于所有非全局 using 指令之前。</target>
<note />
</trans-unit>
<trans-unit id="ERR_GlobalUsingStaticFileType">
<source>File-local type '{0}' cannot be used in a 'global using static' directive.</source>
<target state="translated">文件本地类型 "{0}" 不能在 "global using static" 指令中使用。</target>
<note />
</trans-unit>
<trans-unit id="ERR_GoToBackwardJumpOverUsingVar">
<source>A goto cannot jump to a location before a using declaration within the same block.</source>
<target state="translated">goto 无法跳转到同一块中 using 声明之前的某个位置。</target>
<note />
</trans-unit>
<trans-unit id="ERR_GoToForwardJumpOverUsingVar">
<source>A goto cannot jump to a location after a using declaration.</source>
<target state="translated">goto 无法跳转到 using 声明后的某个位置。</target>
<note />
</trans-unit>
<trans-unit id="ERR_HiddenPositionalMember">
<source>The positional member '{0}' found corresponding to this parameter is hidden.</source>
<target state="translated">已隐藏找到的此参数相应位置成员“{0}”。</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalAtSequence">
<source>Sequence of '@' characters is not allowed. A verbatim string or identifier can only have one '@' character and a raw string cannot have any.</source>
<target state="translated">不允许使用 \"@\" 字符的序列。逐字字符串或标识符只能有一个 \"@\" 字符,原始字符串不能包含任何字符。</target>
<note />
</trans-unit>
<trans-unit id="ERR_IllegalSuppression">
<source>The suppression operator is not allowed in this context</source>
<target state="translated">此上下文中不允许使用抑制运算符</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitConversionOperatorCantBeChecked">
<source>An 'implicit' user-defined conversion operator cannot be declared checked</source>
<target state="translated">无法将“隐式”自定义转换运算符声明为已验证</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitImplementationOfInaccessibleInterfaceMember">
<source>'{0}' does not implement interface member '{1}'. '{2}' cannot implicitly implement an inaccessible member.</source>
<target state="translated">"{0}" 不实现接口成员 "{1}"。"{2}" 无法隐式实现无法访问的成员。</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitIndexIndexerWithName">
<source>Invocation of implicit Index Indexer cannot name the argument.</source>
<target state="translated">无法通过对隐式索引索引器的调用为参数命名。</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitObjectCreationIllegalTargetType">
<source>The type '{0}' may not be used as the target type of new()</source>
<target state="translated">类型 "{0}" 不能用作 new() 目标类型</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitObjectCreationNoTargetType">
<source>There is no target type for '{0}'</source>
<target state="translated">"{0}" 没有目标类型</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitObjectCreationNotValid">
<source>Use of new() is not valid in this context</source>
<target state="translated">在此上下文中使用 new() 无效</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitRangeIndexerWithName">
<source>Invocation of implicit Range Indexer cannot name the argument.</source>
<target state="translated">无法通过对隐式范围索引器的调用为参数命名。</target>
<note />
</trans-unit>
<trans-unit id="ERR_ImplicitlyTypedDefaultParameter">
<source>Implicitly typed lambda parameter '{0}' cannot have a default value.</source>
<target state="translated">隐式键入的 lambda 参数 "{0}" 不能具有默认值。</target>
<note />
</trans-unit>
<trans-unit id="ERR_InDynamicMethodArg">
<source>Arguments with 'in' modifier cannot be used in dynamically dispatched expressions.</source>
<target state="translated">带有 "in" 修饰符的参数不能用于动态调度的表达式。</target>
<note />
</trans-unit>
<trans-unit id="ERR_InheritingFromRecordWithSealedToString">
<source>Inheriting from a record with a sealed 'Object.ToString' is not supported in C# {0}. Please use language version '{1}' or greater.</source>
<target state="translated">C# {0} 中不支持从包含密封 'Object.ToString' 的记录继承。请使用语言版本 '{1}’ 或更高版本。</target>
<note />
</trans-unit>
<trans-unit id="ERR_InitCannotBeReadonly">
<source>'init' accessors cannot be marked 'readonly'. Mark '{0}' readonly instead.</source>
<target state="translated">"init" 访问器不能标记为“只读”。请转而将“{0}”标记为“只读”。</target>
<note />
</trans-unit>
<trans-unit id="ERR_InlineArrayBadIndex">
<source>Elements of an inline array type can be accessed only with a single argument implicitly convertible to 'int', 'System.Index', or 'System.Range'.</source>
<target state="translated">只能通过可隐式转换为 "int"、"System.Index" 或 "System.Range" 的单个参数访问内联数组类型的元素。</target>
<note />
</trans-unit>
<trans-unit id="ERR_InlineArrayConversionToReadOnlySpanNotSupported">
<source>Cannot convert expression to '{0}' because it may not be passed or returned by reference</source>
<target state="translated">无法将表达式转换为“{0}”,因为可能无法通过引用传递或返回它</target>
<note />
</trans-unit>
<trans-unit id="ERR_InlineArrayConversionToSpanNotSupported">
<source>Cannot convert expression to '{0}' because it is not an assignable variable</source>
<target state="translated">无法将表达式转换为“{0}”,因为它不是可分配的变量</target>
<note />
</trans-unit>
<trans-unit id="ERR_InlineArrayForEachNotSupported">
<source>foreach statement on an inline array of type '{0}' is not supported</source>
<target state="translated">不支持类型为“{0}”的内联数组上的 foreach 语句</target>
<note />
</trans-unit>
<trans-unit id="ERR_InlineArrayIndexOutOfRange">
<source>Index is outside the bounds of the inline array</source>
<target state="translated">索引超出了内联数组的界限</target>
<note />
</trans-unit>
<trans-unit id="ERR_InlineArrayUnsupportedElementFieldModifier">
<source>Inline array element field cannot be declared as required, readonly, volatile, or as a fixed size buffer.</source>
<target state="translated">不能将内联数组元素字段声明为必需、只读、可变或固定大小缓冲区。</target>
<note />
</trans-unit>
<trans-unit id="ERR_InstancePropertyInitializerInInterface">
<source>Instance properties in interfaces cannot have initializers.</source>
<target state="translated">接口中的实例属性不能具有初始值设定项。</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterceptableMethodMustBeOrdinary">
<source>Cannot intercept '{0}' because it is not an invocation of an ordinary member method.</source>
<target state="translated">无法拦截“{0}”,因为它不是对普通成员方法的调用。</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterceptorArityNotCompatible">
<source>Method '{0}' must be non-generic or have arity {1} to match '{2}'.</source>
<target state="translated">方法“{0}”必须是非泛型方法,或者具有匹配“{2}”的参数数量 {1}。</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterceptorCannotBeGeneric">
<source>Method '{0}' must be non-generic to match '{1}'.</source>
<target state="translated">方法“{0}”必须是非泛型方法才能与“{1}”匹配。</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterceptorCannotInterceptNameof">
<source>A nameof operator cannot be intercepted.</source>
<target state="translated">无法截获 nameof 运算符。</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterceptorCannotUseUnmanagedCallersOnly">
<source>An interceptor cannot be marked with 'UnmanagedCallersOnlyAttribute'.</source>
<target state="translated">侦听器不能用 "UnmanagedCallersOnlyAttribute" 标记。</target>
<note />
</trans-unit>
<trans-unit id="ERR_InterceptorCharacterOutOfRange">