84 references to SR
Microsoft.Interop.LibraryImportGenerator.Downlevel (84)
DownlevelLibraryImportGenerator.cs (2)
193
var generatorDiagnostics = new GeneratorDiagnosticsBag(new DiagnosticDescriptorProvider(), locations,
SR
.ResourceManager, typeof(FxResources.Microsoft.Interop.LibraryImportGenerator.Downlevel.SR));
234
var diagnostics = new GeneratorDiagnosticsBag(new DiagnosticDescriptorProvider(), pinvokeStub.DiagnosticLocation,
SR
.ResourceManager, typeof(FxResources.Microsoft.Interop.LibraryImportGenerator.Downlevel.SR));
GeneratorDiagnostics.cs (82)
31
/// <inheritdoc cref="
SR
.InvalidAttributedMethodSignatureMessageLibraryImport"/>
35
GetResourceString(nameof(
SR
.InvalidLibraryImportAttributeUsageTitle)),
36
GetResourceString(nameof(
SR
.InvalidAttributedMethodSignatureMessageLibraryImport)),
40
description: GetResourceString(nameof(
SR
.InvalidAttributedMethodDescriptionLibraryImport)));
42
/// <inheritdoc cref="
SR
.InvalidAttributedMethodContainingTypeMissingModifiersMessageLibraryImport"/>
46
GetResourceString(nameof(
SR
.InvalidLibraryImportAttributeUsageTitle)),
47
GetResourceString(nameof(
SR
.InvalidAttributedMethodContainingTypeMissingModifiersMessageLibraryImport)),
51
description: GetResourceString(nameof(
SR
.InvalidAttributedMethodDescriptionLibraryImport)));
53
/// <inheritdoc cref="
SR
.InvalidStringMarshallingConfigurationMessageLibraryImport"/>
57
GetResourceString(nameof(
SR
.InvalidLibraryImportAttributeUsageTitle)),
58
GetResourceString(nameof(
SR
.InvalidStringMarshallingConfigurationMessageLibraryImport)),
62
description: GetResourceString(nameof(
SR
.InvalidStringMarshallingConfigurationDescription)));
64
/// <inheritdoc cref="
SR
.TypeNotSupportedMessageParameterLibraryImport"/>
68
GetResourceString(nameof(
SR
.TypeNotSupportedTitle)),
69
GetResourceString(nameof(
SR
.TypeNotSupportedMessageParameterLibraryImport)),
73
description: GetResourceString(nameof(
SR
.TypeNotSupportedDescriptionLibraryImport)));
75
/// <inheritdoc cref="
SR
.TypeNotSupportedMessageReturnLibraryImport"/>
79
GetResourceString(nameof(
SR
.TypeNotSupportedTitle)),
80
GetResourceString(nameof(
SR
.TypeNotSupportedMessageReturnLibraryImport)),
84
description: GetResourceString(nameof(
SR
.TypeNotSupportedDescriptionLibraryImport)));
86
/// <inheritdoc cref="
SR
.TypeNotSupportedMessageParameterWithDetails"/>
90
GetResourceString(nameof(
SR
.TypeNotSupportedTitle)),
91
GetResourceString(nameof(
SR
.TypeNotSupportedMessageParameterWithDetails)),
95
description: GetResourceString(nameof(
SR
.TypeNotSupportedDescriptionLibraryImport)));
97
/// <inheritdoc cref="
SR
.TypeNotSupportedMessageReturnWithDetails"/>
101
GetResourceString(nameof(
SR
.TypeNotSupportedTitle)),
102
GetResourceString(nameof(
SR
.TypeNotSupportedMessageReturnWithDetails)),
106
description: GetResourceString(nameof(
SR
.TypeNotSupportedDescriptionLibraryImport)));
108
/// <inheritdoc cref="
SR
.ConfigurationNotSupportedMessageParameterLibraryImport"/>
112
GetResourceString(nameof(
SR
.ConfigurationNotSupportedTitleLibraryImport)),
113
GetResourceString(nameof(
SR
.ConfigurationNotSupportedMessageParameterLibraryImport)),
117
description: GetResourceString(nameof(
SR
.ConfigurationNotSupportedDescriptionLibraryImport)));
119
/// <inheritdoc cref="
SR
.ConfigurationNotSupportedMessageReturnLibraryImport"/>
123
GetResourceString(nameof(
SR
.ConfigurationNotSupportedTitleLibraryImport)),
124
GetResourceString(nameof(
SR
.ConfigurationNotSupportedMessageReturnLibraryImport)),
128
description: GetResourceString(nameof(
SR
.ConfigurationNotSupportedDescriptionLibraryImport)));
130
/// <inheritdoc cref="
SR
.MarshalAsConfigurationNotSupportedMessageParameterLibraryImport"/>
134
GetResourceString(nameof(
SR
.ConfigurationNotSupportedTitleLibraryImport)),
135
GetResourceString(nameof(
SR
.MarshalAsConfigurationNotSupportedMessageParameterLibraryImport)),
139
description: GetResourceString(nameof(
SR
.ConfigurationNotSupportedDescriptionLibraryImport)));
141
/// <inheritdoc cref="
SR
.MarshalAsConfigurationNotSupportedMessageReturnLibraryImport"/>
145
GetResourceString(nameof(
SR
.ConfigurationNotSupportedTitleLibraryImport)),
146
GetResourceString(nameof(
SR
.MarshalAsConfigurationNotSupportedMessageReturnLibraryImport)),
150
description: GetResourceString(nameof(
SR
.ConfigurationNotSupportedDescriptionLibraryImport)));
152
/// <inheritdoc cref="
SR
.ConfigurationNotSupportedMessageLibraryImport"/>
156
GetResourceString(nameof(
SR
.ConfigurationNotSupportedTitleLibraryImport)),
157
GetResourceString(nameof(
SR
.ConfigurationNotSupportedMessageLibraryImport)),
161
description: GetResourceString(nameof(
SR
.ConfigurationNotSupportedDescriptionLibraryImport)));
163
/// <inheritdoc cref="
SR
.ConfigurationNotSupportedMessageValueLibraryImport"/>
167
GetResourceString(nameof(
SR
.ConfigurationNotSupportedTitleLibraryImport)),
168
GetResourceString(nameof(
SR
.ConfigurationNotSupportedMessageValueLibraryImport)),
172
description: GetResourceString(nameof(
SR
.ConfigurationNotSupportedDescriptionLibraryImport)));
174
/// <inheritdoc cref="
SR
.ConfigurationNotSupportedMessageMarshallingInfoLibraryImport"/>
178
GetResourceString(nameof(
SR
.ConfigurationNotSupportedTitleLibraryImport)),
179
GetResourceString(nameof(
SR
.ConfigurationNotSupportedMessageMarshallingInfoLibraryImport)),
183
description: GetResourceString(nameof(
SR
.ConfigurationNotSupportedDescriptionLibraryImport)));
185
/// <inheritdoc cref="
SR
.CannotForwardToDllImportMessage"/>
189
GetResourceString(nameof(
SR
.CannotForwardToDllImportTitle)),
190
GetResourceString(nameof(
SR
.CannotForwardToDllImportMessage)),
194
description: GetResourceString(nameof(
SR
.CannotForwardToDllImportDescription)));
196
/// <inheritdoc cref="
SR
.RequiresAllowUnsafeBlocksMessageLibraryImport"/>
200
GetResourceString(nameof(
SR
.RequiresAllowUnsafeBlocksTitleLibraryImport)),
201
GetResourceString(nameof(
SR
.RequiresAllowUnsafeBlocksMessageLibraryImport)),
205
description: GetResourceString(nameof(
SR
.RequiresAllowUnsafeBlocksDescriptionLibraryImport)));
207
/// <inheritdoc cref="
SR
.UnnecessaryParameterMarshallingInfoMessage"/>
211
GetResourceString(nameof(
SR
.UnnecessaryMarshallingInfoTitle)),
212
GetResourceString(nameof(
SR
.UnnecessaryParameterMarshallingInfoMessage)),
216
description: GetResourceString(nameof(
SR
.UnnecessaryMarshallingInfoDescription)),
222
/// <inheritdoc cref="
SR
.UnnecessaryMarshallingInfoDescription"/>
226
GetResourceString(nameof(
SR
.UnnecessaryMarshallingInfoTitle)),
227
GetResourceString(nameof(
SR
.UnnecessaryReturnMarshallingInfoMessage)),
231
description: GetResourceString(nameof(
SR
.UnnecessaryMarshallingInfoDescription)),
237
/// <inheritdoc cref="
SR
.SizeOfCollectionMustBeKnownAtMarshalTimeMessageOutParam"/>
241
GetResourceString(nameof(
SR
.SizeOfCollectionMustBeKnownAtMarshalTimeTitle)),
242
GetResourceString(nameof(
SR
.SizeOfCollectionMustBeKnownAtMarshalTimeMessageOutParam)),
247
/// <inheritdoc cref="
SR
.SizeOfCollectionMustBeKnownAtMarshalTimeMessageReturnValue"/>
251
GetResourceString(nameof(
SR
.SizeOfCollectionMustBeKnownAtMarshalTimeTitle)),
252
GetResourceString(nameof(
SR
.SizeOfCollectionMustBeKnownAtMarshalTimeMessageReturnValue)),
257
/// <inheritdoc cref="
SR
.LibraryImportUsageDoesNotFollowBestPracticesMessageWithDetails"/>
261
GetResourceString(nameof(
SR
.LibraryImportUsageDoesNotFollowBestPracticesTitle)),
262
GetResourceString(nameof(
SR
.LibraryImportUsageDoesNotFollowBestPracticesMessageWithDetails)),
303
return new LocalizableResourceString(resourceName,
SR
.ResourceManager, typeof(FxResources.Microsoft.Interop.LibraryImportGenerator.Downlevel.SR));