|
223 | 223 | <value>A property annotated with a parameter attribute must have a public setter; make sure that the access modifier of the setter is empty and that the property is not an auto-property or an expression-bodied property.</value> |
224 | 224 | </data> |
225 | 225 | <data name="Attributes_ParamsAttribute_UnexpectedValueType_Description" xml:space="preserve"> |
226 | | - <value>The type of each value provided to the [Params] attribute must match the type of the field or property it is applied to</value> |
| 226 | + <value>The type of each value provided to the [Params] attribute must match the type of (or be implicitly convertible to) the field or property it is applied to</value> |
227 | 227 | </data> |
228 | 228 | <data name="Attributes_ParamsAllValuesAttribute_NotAllowedOnFlagsEnumPropertyOrFieldType_Description" xml:space="preserve"> |
229 | 229 | <value>The [ParamsAllValues] attribute cannot be applied to a field or property of an enum type marked with the [Flags] attribute. Use this attribute only with non-flags enum types, as [Flags] enums support bitwise combinations that cannot be exhaustively enumerated.</value> |
|
289 | 289 | <value>Benchmark methods without [Arguments] attribute(s) cannot declare parameters</value> |
290 | 290 | </data> |
291 | 291 | <data name="Attributes_ArgumentsAttribute_MustHaveMatchingValueType_Title" xml:space="preserve"> |
292 | | - <value>Values passed to an [Arguments] attribute must match exactly the parameters declared in the targeted benchmark method in both type and order</value> |
| 292 | + <value>Values passed to an [Arguments] attribute must match exactly the parameters declared in the targeted benchmark method in both type (or be implicitly convertible to) and order</value> |
293 | 293 | </data> |
294 | 294 | <data name="Attributes_GeneralParameterAttributes_PropertyMustBePublic_Title" xml:space="preserve"> |
295 | 295 | <value>Properties annotated with a parameter attribute must be public</value> |
|
304 | 304 | <value>Unnecessary single value passed to [Params] attribute</value> |
305 | 305 | </data> |
306 | 306 | <data name="Attributes_ParamsAttribute_UnexpectedValueType_Title" xml:space="preserve"> |
307 | | - <value>Type of all value(s) passed to the [Params] attribute must match the type of the annotated field or property</value> |
| 307 | + <value>Type of all value(s) passed to the [Params] attribute must match the type of (or be implicitly convertible to) the annotated field or property</value> |
308 | 308 | </data> |
309 | 309 | <data name="Attributes_ParamsAllValuesAttribute_NotAllowedOnFlagsEnumPropertyOrFieldType_Title" xml:space="preserve"> |
310 | 310 | <value>The [ParamsAllValues] attribute cannot be applied to fields or properties of enum types marked with [Flags]</value> |
|
341 | 341 | Either add the [Arguments] attribute(s) or remove the parameters.</value> |
342 | 342 | </data> |
343 | 343 | <data name="Attributes_ArgumentsAttribute_MustHaveMatchingValueType_Description" xml:space="preserve"> |
344 | | - <value>The values passed to an [Arguments] attribute must match the parameters declared in the targeted benchmark method in both type (or be convertible to) and order</value> |
| 344 | + <value>The values passed to an [Arguments] attribute must match the parameters declared in the targeted benchmark method in both type (or be implicitly convertible to) and order</value> |
345 | 345 | </data> |
346 | 346 | <data name="Attributes_ArgumentsAttribute_RequiresBenchmarkAttribute_Title" xml:space="preserve"> |
347 | 347 | <value>[Arguments] attribute can only be used on methods annotated with the [Benchmark] attribute</value> |
|
0 commit comments