|
129 | 129 | <data name="General_BenchmarkClass_ClassMustBeNonStatic_Description" xml:space="preserve"> |
130 | 130 | <value>A benchmark class must be an instance class</value> |
131 | 131 | </data> |
132 | | - <data name="General_BenchmarkClass_ClassMustBeNonGeneric_Description" xml:space="preserve"> |
133 | | - <value>A benchmark class not annotated with the [GenericTypeArguments] attribute must be non-generic</value> |
134 | | - </data> |
135 | | - <data name="General_BenchmarkClass_ClassMustBeNonAbstract_Description" xml:space="preserve"> |
136 | | - <value>A benchmark class must be non-abstract</value> |
| 132 | + <data name="General_BenchmarkClass_ClassWithGenericTypeArgumentsAttributeMustBeNonAbstract_Description" xml:space="preserve"> |
| 133 | + <value>A benchmark class annotated with the [GenericTypeArguments] attribute must be non-abstract</value> |
137 | 134 | </data> |
138 | 135 | <data name="General_BenchmarkClass_ClassMustBeNonStatic_MessageFormat" xml:space="preserve"> |
139 | 136 | <value>Benchmark class '{0}' cannot be static</value> |
140 | 137 | </data> |
141 | | - <data name="General_BenchmarkClass_ClassMustBeNonAbstract_MessageFormat" xml:space="preserve"> |
| 138 | + <data name="General_BenchmarkClass_ClassWithGenericTypeArgumentsAttributeMustBeNonAbstract_MessageFormat" xml:space="preserve"> |
142 | 139 | <value>Benchmark class '{0}' cannot be abstract</value> |
143 | 140 | </data> |
144 | | - <data name="General_BenchmarkClass_ClassMustBeNonGeneric_MessageFormat" xml:space="preserve"> |
145 | | - <value>Benchmark class '{0}' cannot be generic</value> |
| 141 | + <data name="General_BenchmarkClass_GenericClassMustBeAbstractOrAnnotatedWithAGenericTypeArgumentsAttribute_MessageFormat" xml:space="preserve"> |
| 142 | + <value>Benchmark class '{0}' cannot be generic unless declared as abstract or annotated with a [GenericTypeArguments] attribute</value> |
146 | 143 | </data> |
147 | 144 | <data name="General_BenchmarkClass_ClassMustBeNonStatic_Title" xml:space="preserve"> |
148 | 145 | <value>Benchmark classes must be non-static</value> |
149 | 146 | </data> |
150 | | - <data name="General_BenchmarkClass_ClassMustBeNonAbstract_Title" xml:space="preserve"> |
151 | | - <value>Benchmark classes must be non-abstract</value> |
| 147 | + <data name="General_BenchmarkClass_ClassWithGenericTypeArgumentsAttributeMustBeNonAbstract_Title" xml:space="preserve"> |
| 148 | + <value>Benchmark classes annotated with the [GenericTypeArguments] attribute must be non-abstract</value> |
152 | 149 | </data> |
153 | | - <data name="General_BenchmarkClass_ClassMustBeNonGeneric_Title" xml:space="preserve"> |
154 | | - <value>Benchmark classes not annotated with the [GenericTypeArguments] attribute must be non-generic</value> |
| 150 | + <data name="General_BenchmarkClass_GenericClassMustBeAbstractOrAnnotatedWithAGenericTypeArgumentsAttribute_Title" xml:space="preserve"> |
| 151 | + <value>Benchmark classes can only be generic if they're either abstract or annotated with a [GenericTypeArguments] attribute</value> |
155 | 152 | </data> |
156 | 153 | <data name="General_BenchmarkClass_ClassMustBePublic_Description" xml:space="preserve"> |
157 | 154 | <value>A benchmark class must be public</value> |
|
180 | 177 | <data name="General_BenchmarkClass_GenericTypeArgumentsAttributeMustHaveMatchingTypeParameterCount_Description" xml:space="preserve"> |
181 | 178 | <value>The number of type arguments passed to the [GenericTypeArguments] attribute must match the number of type parameters on the targeted benchmark class</value> |
182 | 179 | </data> |
183 | | - <data name="General_BenchmarkClass_ClassWithGenericTypeArgumentsAttributeMustHaveTypeParameters_Description" xml:space="preserve"> |
| 180 | + <data name="General_BenchmarkClass_ClassWithGenericTypeArgumentsAttributeMustBeGeneric_Description" xml:space="preserve"> |
184 | 181 | <value>A benchmark class annotated with the [GenericTypeArguments] attribute must be generic, having between one to three type parameters</value> |
185 | 182 | </data> |
186 | 183 | <data name="General_BenchmarkClass_MethodMustBePublic_MessageFormat" xml:space="preserve"> |
|
192 | 189 | <data name="General_BenchmarkClass_GenericTypeArgumentsAttributeMustHaveMatchingTypeParameterCount_MessageFormat" xml:space="preserve"> |
193 | 190 | <value>Expected {0} type argument{1} as declared on the benchmark class '{2}', but found {3}. Update the attribute usage or the type parameter list of the class declaration to match.</value> |
194 | 191 | </data> |
195 | | - <data name="General_BenchmarkClass_ClassWithGenericTypeArgumentsAttributeMustHaveTypeParameters_MessageFormat" xml:space="preserve"> |
| 192 | + <data name="General_BenchmarkClass_ClassWithGenericTypeArgumentsAttributeMustBeGeneric_MessageFormat" xml:space="preserve"> |
196 | 193 | <value>Benchmark class '{0}' must be generic</value> |
197 | 194 | </data> |
198 | 195 | <data name="General_BenchmarkClass_OnlyOneMethodCanBeBaseline_MessageFormat" xml:space="preserve"> |
|
207 | 204 | <data name="General_BenchmarkClass_GenericTypeArgumentsAttributeMustHaveMatchingTypeParameterCount_Title" xml:space="preserve"> |
208 | 205 | <value>Number of type arguments passed to the [GenericTypeArguments] attribute must match the number of type parameters on the targeted benchmark class</value> |
209 | 206 | </data> |
210 | | - <data name="General_BenchmarkClass_ClassWithGenericTypeArgumentsAttributeMustHaveTypeParameters_Title" xml:space="preserve"> |
| 207 | + <data name="General_BenchmarkClass_ClassWithGenericTypeArgumentsAttributeMustBeGeneric_Title" xml:space="preserve"> |
211 | 208 | <value>Benchmark classes annotated with the [GenericTypeArguments] attribute must be generic</value> |
212 | 209 | </data> |
213 | 210 | <data name="General_BenchmarkClass_OnlyOneMethodCanBeBaseline_Title" xml:space="preserve"> |
|
0 commit comments