87 references to SR
Microsoft.Interop.JavaScript.JSImportGenerator (87)
GeneratorDiagnostics.cs (46)
36GetResourceString(nameof(SR.ConfigurationNotSupportedTitle)), 37GetResourceString(nameof(SR.ConfigurationNotSupportedMessage)), 41description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescription))); 46GetResourceString(nameof(SR.ConfigurationNotSupportedTitle)), 47GetResourceString(nameof(SR.ConfigurationNotSupportedMessageValue)), 51description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescription))); 56GetResourceString(nameof(SR.ConfigurationNotSupportedTitle)), 57GetResourceString(nameof(SR.ConfigurationNotSupportedMessageMarshallingInfo)), 61description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescription))); 66GetResourceString(nameof(SR.TypeNotSupportedTitle)), 67GetResourceString(nameof(SR.TypeNotSupportedMessageReturnWithDetails)), 71description: GetResourceString(nameof(SR.TypeNotSupportedDescription))); 76GetResourceString(nameof(SR.TypeNotSupportedTitle)), 77GetResourceString(nameof(SR.TypeNotSupportedMessageParameter)), 81description: GetResourceString(nameof(SR.TypeNotSupportedDescription))); 86GetResourceString(nameof(SR.TypeNotSupportedTitle)), 87GetResourceString(nameof(SR.TypeNotSupportedMessageReturn)), 91description: GetResourceString(nameof(SR.TypeNotSupportedDescription))); 96GetResourceString(nameof(SR.TypeNotSupportedTitle)), 97GetResourceString(nameof(SR.TypeNotSupportedMessageParameterWithDetails)), 101description: GetResourceString(nameof(SR.TypeNotSupportedDescription))); 106GetResourceString(nameof(SR.ConfigurationNotSupportedTitle)), 107GetResourceString(nameof(SR.ConfigurationNotSupportedMessageParameter)), 111description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescription))); 116GetResourceString(nameof(SR.ConfigurationNotSupportedTitle)), 117GetResourceString(nameof(SR.ConfigurationNotSupportedMessageReturn)), 121description: GetResourceString(nameof(SR.ConfigurationNotSupportedDescription))); 126GetResourceString(nameof(SR.InvalidJSImportAttributeUsageTitle)), 127GetResourceString(nameof(SR.InvalidJSImportAttributedMethodSignatureMessage)), 131description: GetResourceString(nameof(SR.InvalidJSImportAttributedMethodDescription))); 136GetResourceString(nameof(SR.InvalidJSExportAttributeUsageTitle)), 137GetResourceString(nameof(SR.InvalidJSExportAttributedMethodSignatureMessage)), 141description: GetResourceString(nameof(SR.InvalidJSExportAttributedMethodDescription))); 146GetResourceString(nameof(SR.InvalidJSImportAttributeUsageTitle)), 147GetResourceString(nameof(SR.InvalidAttributedMethodContainingTypeMissingModifiersMessage)), 151description: GetResourceString(nameof(SR.InvalidJSImportAttributedMethodDescription))); 156GetResourceString(nameof(SR.InvalidJSExportAttributeUsageTitle)), 157GetResourceString(nameof(SR.InvalidAttributedMethodContainingTypeMissingModifiersMessage)), 161description: GetResourceString(nameof(SR.InvalidJSExportAttributedMethodDescription))); 166GetResourceString(nameof(SR.JSImportRequiresAllowUnsafeBlocksTitle)), 167GetResourceString(nameof(SR.JSImportRequiresAllowUnsafeBlocksMessage)), 171description: GetResourceString(nameof(SR.JSImportRequiresAllowUnsafeBlocksDescription))); 176GetResourceString(nameof(SR.JSExportRequiresAllowUnsafeBlocksTitle)), 177GetResourceString(nameof(SR.JSExportRequiresAllowUnsafeBlocksMessage)), 181description: GetResourceString(nameof(SR.JSExportRequiresAllowUnsafeBlocksDescription))); 185return new LocalizableResourceString(resourceName, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.JavaScript.JSImportGenerator.SR));
JSExportCodeGenerator.cs (1)
61NotSupportedDetails = SR.SpanAndTaskNotSupported
JSExportGenerator.cs (2)
190var generatorDiagnostics = new GeneratorDiagnosticsBag(new DescriptorProvider(), locations, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.JavaScript.JSImportGenerator.SR)); 308var diagnostics = new GeneratorDiagnosticsBag(new DescriptorProvider(), incrementalContext.DiagnosticLocation, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.JavaScript.JSImportGenerator.SR));
JSGeneratorFactory.cs (35)
24NotSupportedDetails = SR.InOutRefNotSupported 55return fail(SR.DiscardOnlyVoid); 59return fail(SR.DiscardNoWaitOnlyVoid); 136return failWithReason(SR.Format(SR.UseJSMarshalAsAttribute, info.ManagedType.FullTypeName)); 166return failWithReason(SR.Format(SR.UseJSMarshalAsAttribute, info.ManagedType.FullTypeName)); 169return failWithReason(SR.Format(SR.TypeNotSupportedName, info.ManagedType.FullTypeName)); 209return failWithReason(SR.Format(SR.UseJSMarshalAsAttribute, info.ManagedType.FullTypeName)); 212return failWithReason(SR.Format(SR.TypeNotSupportedName, info.ManagedType.FullTypeName)); 229return failWithReason(SR.Format(SR.TypeNotSupportedName, info.ManagedType.FullTypeName)); 233return failWithReason(SR.Format(SR.UseJSMarshalAsAttribute, info.ManagedType.FullTypeName)); 243return failWithReason(SR.Format(SR.TypeNotSupportedName, info.ManagedType.FullTypeName)); 249return failWithReason(SR.Format(SR.UseJSMarshalAsAttribute, info.ManagedType.FullTypeName)); 258return failWithReason(SR.Format(SR.TypeNotSupportedName, info.ManagedType.FullTypeName)); 264return failWithReason(SR.Format(SR.UseJSMarshalAsAttribute, info.ManagedType.FullTypeName)); 282return failWithReason(SR.Format(SR.FuncArgumentNotSupported, argumentTypes[i])); 291return failWithReason(SR.FuncTooManyArgs); 296return failWithReason(SR.FuncWrongArgumentCount); 312return failWithReason(SR.Format(SR.FuncArgumentNotSupported, argumentTypes[i])); 315return failWithReason(SR.Format(SR.UseJSMarshalAsAttribute, info.ManagedType.FullTypeName)); 318return failWithReason(SR.Format(SR.TypeNotSupportedName, info.ManagedType.FullTypeName));
JSImportCodeGenerator.cs (1)
68NotSupportedDetails = SR.SpanAndTaskNotSupported
JSImportGenerator.cs (2)
170var generatorDiagnostics = new GeneratorDiagnosticsBag(new DescriptorProvider(), locations, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.JavaScript.JSImportGenerator.SR)); 199var diagnostics = new GeneratorDiagnosticsBag(new DescriptorProvider(), incrementalContext.DiagnosticLocation, SR.ResourceManager, typeof(FxResources.Microsoft.Interop.JavaScript.JSImportGenerator.SR));