@@ -30,38 +30,38 @@ public class Ids
30
30
31
31
private const string Category = "ComInterfaceGenerator" ;
32
32
33
- /// <inheritdoc cref="SR.RequiresAllowUnsafeBlocksMessage "/>
33
+ /// <inheritdoc cref="SR.RequiresAllowUnsafeBlocksMessageCom "/>
34
34
public static readonly DiagnosticDescriptor RequiresAllowUnsafeBlocks =
35
35
new DiagnosticDescriptor (
36
36
Ids . RequiresAllowUnsafeBlocks ,
37
- GetResourceString ( nameof ( SR . RequiresAllowUnsafeBlocksTitle ) ) ,
38
- GetResourceString ( nameof ( SR . RequiresAllowUnsafeBlocksMessage ) ) ,
37
+ GetResourceString ( nameof ( SR . RequiresAllowUnsafeBlocksTitleCom ) ) ,
38
+ GetResourceString ( nameof ( SR . RequiresAllowUnsafeBlocksMessageCom ) ) ,
39
39
Category ,
40
40
DiagnosticSeverity . Error ,
41
41
isEnabledByDefault : true ,
42
- description : GetResourceString ( nameof ( SR . RequiresAllowUnsafeBlocksDescription ) ) ) ;
42
+ description : GetResourceString ( nameof ( SR . RequiresAllowUnsafeBlocksDescriptionCom ) ) ) ;
43
43
44
- /// <inheritdoc cref="SR.InvalidAttributedMethodSignatureMessage "/>
44
+ /// <inheritdoc cref="SR.InvalidAttributedMethodSignatureMessageCom "/>
45
45
public static readonly DiagnosticDescriptor InvalidAttributedMethodSignature =
46
46
new DiagnosticDescriptor (
47
47
Ids . InvalidLibraryImportAttributeUsage ,
48
48
GetResourceString ( nameof ( SR . InvalidVirtualMethodIndexAttributeUsage ) ) ,
49
- GetResourceString ( nameof ( SR . InvalidAttributedMethodSignatureMessage ) ) ,
49
+ GetResourceString ( nameof ( SR . InvalidAttributedMethodSignatureMessageCom ) ) ,
50
50
Category ,
51
51
DiagnosticSeverity . Error ,
52
52
isEnabledByDefault : true ,
53
- description : GetResourceString ( nameof ( SR . InvalidAttributedMethodDescription ) ) ) ;
53
+ description : GetResourceString ( nameof ( SR . InvalidAttributedMethodDescriptionCom ) ) ) ;
54
54
55
- /// <inheritdoc cref="SR.InvalidAttributedMethodContainingTypeMissingModifiersMessage "/>
55
+ /// <inheritdoc cref="SR.InvalidAttributedMethodContainingTypeMissingModifiersMessageCom "/>
56
56
public static readonly DiagnosticDescriptor InvalidAttributedMethodContainingTypeMissingModifiers =
57
57
new DiagnosticDescriptor (
58
58
Ids . InvalidLibraryImportAttributeUsage ,
59
59
GetResourceString ( nameof ( SR . InvalidVirtualMethodIndexAttributeUsage ) ) ,
60
- GetResourceString ( nameof ( SR . InvalidAttributedMethodContainingTypeMissingModifiersMessage ) ) ,
60
+ GetResourceString ( nameof ( SR . InvalidAttributedMethodContainingTypeMissingModifiersMessageCom ) ) ,
61
61
Category ,
62
62
DiagnosticSeverity . Error ,
63
63
isEnabledByDefault : true ,
64
- description : GetResourceString ( nameof ( SR . InvalidAttributedMethodDescription ) ) ) ;
64
+ description : GetResourceString ( nameof ( SR . InvalidAttributedMethodDescriptionCom ) ) ) ;
65
65
66
66
/// <inheritdoc cref="SR.InvalidGeneratedComInterfaceUsageMissingPartialModifier"/>
67
67
public static readonly DiagnosticDescriptor InvalidAttributedInterfaceMissingPartialModifiers =
@@ -83,7 +83,7 @@ public class Ids
83
83
Category ,
84
84
DiagnosticSeverity . Error ,
85
85
isEnabledByDefault : true ,
86
- description : GetResourceString ( nameof ( SR . InvalidAttributedMethodDescription ) ) ) ;
86
+ description : GetResourceString ( nameof ( SR . InvalidAttributedMethodDescriptionCom ) ) ) ;
87
87
88
88
/// <inheritdoc cref="SR.InvalidStringMarshallingConfigurationOnInterfaceMessage"/>
89
89
public static readonly DiagnosticDescriptor InvalidStringMarshallingMismatchBetweenBaseAndDerived =
@@ -150,27 +150,27 @@ public class Ids
150
150
isEnabledByDefault : true ,
151
151
description : GetResourceString ( nameof ( SR . InvalidExceptionMarshallingConfigurationDescription ) ) ) ;
152
152
153
- /// <inheritdoc cref="SR.InvalidExceptionMarshallingConfigurationMessage "/>
153
+ /// <inheritdoc cref="SR.TypeNotSupportedMessageParameterCom "/>
154
154
public static readonly DiagnosticDescriptor ParameterTypeNotSupported =
155
155
new DiagnosticDescriptor (
156
156
Ids . TypeNotSupported ,
157
157
GetResourceString ( nameof ( SR . TypeNotSupportedTitle ) ) ,
158
- GetResourceString ( nameof ( SR . TypeNotSupportedMessageParameter ) ) ,
158
+ GetResourceString ( nameof ( SR . TypeNotSupportedMessageParameterCom ) ) ,
159
159
Category ,
160
160
DiagnosticSeverity . Error ,
161
161
isEnabledByDefault : true ,
162
- description : GetResourceString ( nameof ( SR . TypeNotSupportedDescription ) ) ) ;
162
+ description : GetResourceString ( nameof ( SR . TypeNotSupportedDescriptionCom ) ) ) ;
163
163
164
- /// <inheritdoc cref="SR.TypeNotSupportedMessageReturn "/>
164
+ /// <inheritdoc cref="SR.TypeNotSupportedMessageReturnCom "/>
165
165
public static readonly DiagnosticDescriptor ReturnTypeNotSupported =
166
166
new DiagnosticDescriptor (
167
167
Ids . TypeNotSupported ,
168
168
GetResourceString ( nameof ( SR . TypeNotSupportedTitle ) ) ,
169
- GetResourceString ( nameof ( SR . TypeNotSupportedMessageReturn ) ) ,
169
+ GetResourceString ( nameof ( SR . TypeNotSupportedMessageReturnCom ) ) ,
170
170
Category ,
171
171
DiagnosticSeverity . Error ,
172
172
isEnabledByDefault : true ,
173
- description : GetResourceString ( nameof ( SR . TypeNotSupportedDescription ) ) ) ;
173
+ description : GetResourceString ( nameof ( SR . TypeNotSupportedDescriptionCom ) ) ) ;
174
174
175
175
/// <inheritdoc cref="SR.TypeNotSupportedMessageParameterWithDetails"/>
176
176
public static readonly DiagnosticDescriptor ParameterTypeNotSupportedWithDetails =
@@ -181,7 +181,7 @@ public class Ids
181
181
Category ,
182
182
DiagnosticSeverity . Error ,
183
183
isEnabledByDefault : true ,
184
- description : GetResourceString ( nameof ( SR . TypeNotSupportedDescription ) ) ) ;
184
+ description : GetResourceString ( nameof ( SR . TypeNotSupportedDescriptionCom ) ) ) ;
185
185
186
186
/// <inheritdoc cref="SR.TypeNotSupportedMessageReturnWithDetails"/>
187
187
public static readonly DiagnosticDescriptor ReturnTypeNotSupportedWithDetails =
@@ -192,84 +192,84 @@ public class Ids
192
192
Category ,
193
193
DiagnosticSeverity . Error ,
194
194
isEnabledByDefault : true ,
195
- description : GetResourceString ( nameof ( SR . TypeNotSupportedDescription ) ) ) ;
195
+ description : GetResourceString ( nameof ( SR . TypeNotSupportedDescriptionCom ) ) ) ;
196
196
197
- /// <inheritdoc cref="SR.ConfigurationNotSupportedMessageParameter "/>
197
+ /// <inheritdoc cref="SR.ConfigurationNotSupportedMessageParameterCom "/>
198
198
public static readonly DiagnosticDescriptor ParameterConfigurationNotSupported =
199
199
new DiagnosticDescriptor (
200
200
Ids . ConfigurationNotSupported ,
201
- GetResourceString ( nameof ( SR . ConfigurationNotSupportedTitle ) ) ,
202
- GetResourceString ( nameof ( SR . ConfigurationNotSupportedMessageParameter ) ) ,
201
+ GetResourceString ( nameof ( SR . ConfigurationNotSupportedTitleCom ) ) ,
202
+ GetResourceString ( nameof ( SR . ConfigurationNotSupportedMessageParameterCom ) ) ,
203
203
Category ,
204
204
DiagnosticSeverity . Error ,
205
205
isEnabledByDefault : true ,
206
- description : GetResourceString ( nameof ( SR . ConfigurationNotSupportedDescription ) ) ) ;
206
+ description : GetResourceString ( nameof ( SR . ConfigurationNotSupportedDescriptionCom ) ) ) ;
207
207
208
- /// <inheritdoc cref="SR.ConfigurationNotSupportedMessageReturn "/>
208
+ /// <inheritdoc cref="SR.ConfigurationNotSupportedMessageReturnCom "/>
209
209
public static readonly DiagnosticDescriptor ReturnConfigurationNotSupported =
210
210
new DiagnosticDescriptor (
211
211
Ids . ConfigurationNotSupported ,
212
- GetResourceString ( nameof ( SR . ConfigurationNotSupportedTitle ) ) ,
213
- GetResourceString ( nameof ( SR . ConfigurationNotSupportedMessageReturn ) ) ,
212
+ GetResourceString ( nameof ( SR . ConfigurationNotSupportedTitleCom ) ) ,
213
+ GetResourceString ( nameof ( SR . ConfigurationNotSupportedMessageReturnCom ) ) ,
214
214
Category ,
215
215
DiagnosticSeverity . Error ,
216
216
isEnabledByDefault : true ,
217
- description : GetResourceString ( nameof ( SR . ConfigurationNotSupportedDescription ) ) ) ;
217
+ description : GetResourceString ( nameof ( SR . ConfigurationNotSupportedDescriptionCom ) ) ) ;
218
218
219
- /// <inheritdoc cref="SR.MarshalAsConfigurationNotSupportedMessageParameter "/>
219
+ /// <inheritdoc cref="SR.MarshalAsConfigurationNotSupportedMessageParameterCom "/>
220
220
public static readonly DiagnosticDescriptor MarshalAsParameterConfigurationNotSupported =
221
221
new DiagnosticDescriptor (
222
222
GeneratorDiagnostics . Ids . ConfigurationNotSupported ,
223
- GetResourceString ( nameof ( SR . ConfigurationNotSupportedTitle ) ) ,
224
- GetResourceString ( nameof ( SR . MarshalAsConfigurationNotSupportedMessageParameter ) ) ,
223
+ GetResourceString ( nameof ( SR . ConfigurationNotSupportedTitleCom ) ) ,
224
+ GetResourceString ( nameof ( SR . MarshalAsConfigurationNotSupportedMessageParameterCom ) ) ,
225
225
Category ,
226
226
DiagnosticSeverity . Error ,
227
227
isEnabledByDefault : true ,
228
- description : GetResourceString ( nameof ( SR . ConfigurationNotSupportedDescription ) ) ) ;
228
+ description : GetResourceString ( nameof ( SR . ConfigurationNotSupportedDescriptionCom ) ) ) ;
229
229
230
- /// <inheritdoc cref="SR.MarshalAsConfigurationNotSupportedMessageReturn "/>
230
+ /// <inheritdoc cref="SR.MarshalAsConfigurationNotSupportedMessageReturnCom "/>
231
231
public static readonly DiagnosticDescriptor MarshalAsReturnConfigurationNotSupported =
232
232
new DiagnosticDescriptor (
233
233
GeneratorDiagnostics . Ids . ConfigurationNotSupported ,
234
- GetResourceString ( nameof ( SR . ConfigurationNotSupportedTitle ) ) ,
235
- GetResourceString ( nameof ( SR . MarshalAsConfigurationNotSupportedMessageReturn ) ) ,
234
+ GetResourceString ( nameof ( SR . ConfigurationNotSupportedTitleCom ) ) ,
235
+ GetResourceString ( nameof ( SR . MarshalAsConfigurationNotSupportedMessageReturnCom ) ) ,
236
236
Category ,
237
237
DiagnosticSeverity . Error ,
238
238
isEnabledByDefault : true ,
239
- description : GetResourceString ( nameof ( SR . ConfigurationNotSupportedDescription ) ) ) ;
239
+ description : GetResourceString ( nameof ( SR . ConfigurationNotSupportedDescriptionCom ) ) ) ;
240
240
241
- /// <inheritdoc cref="SR.ConfigurationNotSupportedMessage "/>
241
+ /// <inheritdoc cref="SR.ConfigurationNotSupportedMessageCom "/>
242
242
public static readonly DiagnosticDescriptor ConfigurationNotSupported =
243
243
new DiagnosticDescriptor (
244
244
Ids . ConfigurationNotSupported ,
245
- GetResourceString ( nameof ( SR . ConfigurationNotSupportedTitle ) ) ,
246
- GetResourceString ( nameof ( SR . ConfigurationNotSupportedMessage ) ) ,
245
+ GetResourceString ( nameof ( SR . ConfigurationNotSupportedTitleCom ) ) ,
246
+ GetResourceString ( nameof ( SR . ConfigurationNotSupportedMessageCom ) ) ,
247
247
Category ,
248
248
DiagnosticSeverity . Error ,
249
249
isEnabledByDefault : true ,
250
- description : GetResourceString ( nameof ( SR . ConfigurationNotSupportedDescription ) ) ) ;
250
+ description : GetResourceString ( nameof ( SR . ConfigurationNotSupportedDescriptionCom ) ) ) ;
251
251
252
- /// <inheritdoc cref="SR.ConfigurationNotSupportedMessageValue "/>
252
+ /// <inheritdoc cref="SR.ConfigurationNotSupportedMessageValueCom "/>
253
253
public static readonly DiagnosticDescriptor ConfigurationValueNotSupported =
254
254
new DiagnosticDescriptor (
255
255
Ids . ConfigurationNotSupported ,
256
- GetResourceString ( nameof ( SR . ConfigurationNotSupportedTitle ) ) ,
257
- GetResourceString ( nameof ( SR . ConfigurationNotSupportedMessageValue ) ) ,
256
+ GetResourceString ( nameof ( SR . ConfigurationNotSupportedTitleCom ) ) ,
257
+ GetResourceString ( nameof ( SR . ConfigurationNotSupportedMessageValueCom ) ) ,
258
258
Category ,
259
259
DiagnosticSeverity . Error ,
260
260
isEnabledByDefault : true ,
261
- description : GetResourceString ( nameof ( SR . ConfigurationNotSupportedDescription ) ) ) ;
261
+ description : GetResourceString ( nameof ( SR . ConfigurationNotSupportedDescriptionCom ) ) ) ;
262
262
263
- /// <inheritdoc cref="SR.ConfigurationNotSupportedMessageMarshallingInfo "/>
263
+ /// <inheritdoc cref="SR.ConfigurationNotSupportedMessageMarshallingInfoCom "/>
264
264
public static readonly DiagnosticDescriptor MarshallingAttributeConfigurationNotSupported =
265
265
new DiagnosticDescriptor (
266
266
Ids . ConfigurationNotSupported ,
267
- GetResourceString ( nameof ( SR . ConfigurationNotSupportedTitle ) ) ,
268
- GetResourceString ( nameof ( SR . ConfigurationNotSupportedMessageMarshallingInfo ) ) ,
267
+ GetResourceString ( nameof ( SR . ConfigurationNotSupportedTitleCom ) ) ,
268
+ GetResourceString ( nameof ( SR . ConfigurationNotSupportedMessageMarshallingInfoCom ) ) ,
269
269
Category ,
270
270
DiagnosticSeverity . Error ,
271
271
isEnabledByDefault : true ,
272
- description : GetResourceString ( nameof ( SR . ConfigurationNotSupportedDescription ) ) ) ;
272
+ description : GetResourceString ( nameof ( SR . ConfigurationNotSupportedDescriptionCom ) ) ) ;
273
273
274
274
/// <inheritdoc cref="SR.MethodNotDeclaredInAttributedInterfaceMessage"/>
275
275
public static readonly DiagnosticDescriptor MethodNotDeclaredInAttributedInterface =
@@ -414,6 +414,7 @@ public class Ids
414
414
isEnabledByDefault : true ,
415
415
description : GetResourceString ( nameof ( SR . ClassDoesNotImplementAnyGeneratedComInterfacesDescription ) ) ) ;
416
416
417
+ /// <inheritdoc cref="SR.UnnecessaryParameterMarshallingInfoMessage"/>
417
418
public static readonly DiagnosticDescriptor UnnecessaryParameterMarshallingInfo =
418
419
new DiagnosticDescriptor (
419
420
Ids . UnnecessaryMarshallingInfo ,
@@ -428,6 +429,7 @@ public class Ids
428
429
WellKnownDiagnosticTags . Unnecessary
429
430
} ) ;
430
431
432
+ /// <inheritdoc cref="SR.UnnecessaryReturnMarshallingInfoMessage"/>
431
433
public static readonly DiagnosticDescriptor UnnecessaryReturnMarshallingInfo =
432
434
new DiagnosticDescriptor (
433
435
Ids . UnnecessaryMarshallingInfo ,
0 commit comments