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