91 references to SR
Microsoft.Interop.LibraryImportGenerator.Downlevel (91)
DownlevelLibraryImportDiagnosticsAnalyzer.cs (3)
244SR.ResourceManager, 262libraryImportAttr, symbol.Name, SR.InvalidStringMarshallingConfigurationMissingCustomType); 269libraryImportAttr, symbol.Name, SR.InvalidStringMarshallingConfigurationNotCustom);
DownlevelLibraryImportGenerator.cs (2)
219var discardedDiagnostics = new GeneratorDiagnosticsBag(new DiagnosticDescriptorProvider(), locations, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.LibraryImportGenerator.Downlevel.SR)); 249var discardedDiagnostics = new GeneratorDiagnosticsBag(new DiagnosticDescriptorProvider(), pinvokeStub.DiagnosticLocation, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.LibraryImportGenerator.Downlevel.SR));
GeneratorDiagnostics.cs (86)
32/// <inheritdoc cref="SR.InvalidAttributedMethodSignatureMessageLibraryImport"/> 36GetResourceString(nameof(SR.InvalidLibraryImportAttributeUsageTitle)), 37GetResourceString(nameof(SR.InvalidAttributedMethodSignatureMessageLibraryImport)), 41description: GetResourceString(nameof(SR.InvalidAttributedMethodDescriptionLibraryImport))); 43/// <inheritdoc cref="SR.InvalidAttributedMethodContainingTypeMissingModifiersMessageLibraryImport"/> 47GetResourceString(nameof(SR.InvalidLibraryImportAttributeUsageTitle)), 48GetResourceString(nameof(SR.InvalidAttributedMethodContainingTypeMissingModifiersMessageLibraryImport)), 52description: GetResourceString(nameof(SR.InvalidAttributedMethodDescriptionLibraryImport))); 54/// <inheritdoc cref="SR.InvalidStringMarshallingConfigurationMessageLibraryImport"/> 58GetResourceString(nameof(SR.InvalidLibraryImportAttributeUsageTitle)), 59GetResourceString(nameof(SR.InvalidStringMarshallingConfigurationMessageLibraryImport)), 63description: GetResourceString(nameof(SR.InvalidStringMarshallingConfigurationDescription))); 65/// <inheritdoc cref="SR.TypeNotSupportedMessageParameterLibraryImport"/> 69GetResourceString(nameof(SR.TypeNotSupportedTitle)), 70GetResourceString(nameof(SR.TypeNotSupportedMessageParameterLibraryImport)), 74description: GetResourceString(nameof(SR.TypeNotSupportedDescriptionLibraryImport))); 76/// <inheritdoc cref="SR.TypeNotSupportedMessageReturnLibraryImport"/> 80GetResourceString(nameof(SR.TypeNotSupportedTitle)), 81GetResourceString(nameof(SR.TypeNotSupportedMessageReturnLibraryImport)), 85description: GetResourceString(nameof(SR.TypeNotSupportedDescriptionLibraryImport))); 87/// <inheritdoc cref="SR.TypeNotSupportedMessageParameterWithDetails"/> 91GetResourceString(nameof(SR.TypeNotSupportedTitle)), 92GetResourceString(nameof(SR.TypeNotSupportedMessageParameterWithDetails)), 96description: GetResourceString(nameof(SR.TypeNotSupportedDescriptionLibraryImport))); 98/// <inheritdoc cref="SR.TypeNotSupportedMessageReturnWithDetails"/> 102GetResourceString(nameof(SR.TypeNotSupportedTitle)), 103GetResourceString(nameof(SR.TypeNotSupportedMessageReturnWithDetails)), 107description: GetResourceString(nameof(SR.TypeNotSupportedDescriptionLibraryImport))); 109/// <inheritdoc cref="SR.ConfigurationNotSupportedMessageParameterLibraryImport"/> 113GetResourceString(nameof(SR.ConfigurationNotSupportedTitleLibraryImport)), 114GetResourceString(nameof(SR.ConfigurationNotSupportedMessageParameterLibraryImport)), 118description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescriptionLibraryImport))); 120/// <inheritdoc cref="SR.ConfigurationNotSupportedMessageReturnLibraryImport"/> 124GetResourceString(nameof(SR.ConfigurationNotSupportedTitleLibraryImport)), 125GetResourceString(nameof(SR.ConfigurationNotSupportedMessageReturnLibraryImport)), 129description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescriptionLibraryImport))); 131/// <inheritdoc cref="SR.MarshalAsConfigurationNotSupportedMessageParameterLibraryImport"/> 135GetResourceString(nameof(SR.ConfigurationNotSupportedTitleLibraryImport)), 136GetResourceString(nameof(SR.MarshalAsConfigurationNotSupportedMessageParameterLibraryImport)), 140description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescriptionLibraryImport))); 142/// <inheritdoc cref="SR.MarshalAsConfigurationNotSupportedMessageReturnLibraryImport"/> 146GetResourceString(nameof(SR.ConfigurationNotSupportedTitleLibraryImport)), 147GetResourceString(nameof(SR.MarshalAsConfigurationNotSupportedMessageReturnLibraryImport)), 151description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescriptionLibraryImport))); 153/// <inheritdoc cref="SR.ConfigurationNotSupportedMessageLibraryImport"/> 157GetResourceString(nameof(SR.ConfigurationNotSupportedTitleLibraryImport)), 158GetResourceString(nameof(SR.ConfigurationNotSupportedMessageLibraryImport)), 162description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescriptionLibraryImport))); 164/// <inheritdoc cref="SR.ConfigurationNotSupportedMessageValueLibraryImport"/> 168GetResourceString(nameof(SR.ConfigurationNotSupportedTitleLibraryImport)), 169GetResourceString(nameof(SR.ConfigurationNotSupportedMessageValueLibraryImport)), 173description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescriptionLibraryImport))); 175/// <inheritdoc cref="SR.ConfigurationNotSupportedMessageMarshallingInfoLibraryImport"/> 179GetResourceString(nameof(SR.ConfigurationNotSupportedTitleLibraryImport)), 180GetResourceString(nameof(SR.ConfigurationNotSupportedMessageMarshallingInfoLibraryImport)), 184description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescriptionLibraryImport))); 186/// <inheritdoc cref="SR.CannotForwardToDllImportMessage"/> 190GetResourceString(nameof(SR.CannotForwardToDllImportTitle)), 191GetResourceString(nameof(SR.CannotForwardToDllImportMessage)), 195description: GetResourceString(nameof(SR.CannotForwardToDllImportDescription))); 197/// <inheritdoc cref="SR.RequiresAllowUnsafeBlocksMessageLibraryImport"/> 201GetResourceString(nameof(SR.RequiresAllowUnsafeBlocksTitleLibraryImport)), 202GetResourceString(nameof(SR.RequiresAllowUnsafeBlocksMessageLibraryImport)), 206description: GetResourceString(nameof(SR.RequiresAllowUnsafeBlocksDescriptionLibraryImport))); 208/// <inheritdoc cref="SR.RequiresExplicitSafetyModifierMessageLibraryImport"/> 212GetResourceString(nameof(SR.RequiresExplicitSafetyModifierTitleLibraryImport)), 213GetResourceString(nameof(SR.RequiresExplicitSafetyModifierMessageLibraryImport)), 217description: GetResourceString(nameof(SR.RequiresExplicitSafetyModifierDescriptionLibraryImport))); 219/// <inheritdoc cref="SR.UnnecessaryParameterMarshallingInfoMessage"/> 223GetResourceString(nameof(SR.UnnecessaryMarshallingInfoTitle)), 224GetResourceString(nameof(SR.UnnecessaryParameterMarshallingInfoMessage)), 228description: GetResourceString(nameof(SR.UnnecessaryMarshallingInfoDescription)), 234/// <inheritdoc cref="SR.UnnecessaryMarshallingInfoDescription"/> 238GetResourceString(nameof(SR.UnnecessaryMarshallingInfoTitle)), 239GetResourceString(nameof(SR.UnnecessaryReturnMarshallingInfoMessage)), 243description: GetResourceString(nameof(SR.UnnecessaryMarshallingInfoDescription)), 249/// <inheritdoc cref="SR.SizeOfCollectionMustBeKnownAtMarshalTimeMessageOutParam"/> 253GetResourceString(nameof(SR.SizeOfCollectionMustBeKnownAtMarshalTimeTitle)), 254GetResourceString(nameof(SR.SizeOfCollectionMustBeKnownAtMarshalTimeMessageOutParam)), 259/// <inheritdoc cref="SR.SizeOfCollectionMustBeKnownAtMarshalTimeMessageReturnValue"/> 263GetResourceString(nameof(SR.SizeOfCollectionMustBeKnownAtMarshalTimeTitle)), 264GetResourceString(nameof(SR.SizeOfCollectionMustBeKnownAtMarshalTimeMessageReturnValue)), 269/// <inheritdoc cref="SR.LibraryImportUsageDoesNotFollowBestPracticesMessageWithDetails"/> 273GetResourceString(nameof(SR.LibraryImportUsageDoesNotFollowBestPracticesTitle)), 274GetResourceString(nameof(SR.LibraryImportUsageDoesNotFollowBestPracticesMessageWithDetails)), 315return new LocalizableResourceString(resourceName, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.LibraryImportGenerator.Downlevel.SR));