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