57 references to Resources
Microsoft.AspNetCore.Components.Analyzers (57)
ComponentParametersShouldBePublicCodeFixProvider.cs (3)
20private static readonly LocalizableString Title = new LocalizableResourceString(nameof(Resources.ComponentParametersShouldBePublic_FixTitle), Resources.ResourceManager, typeof(Resources));
DiagnosticDescriptors.cs (47)
14private static LocalizableResourceString CreateLocalizableResourceString(string resource) => new(resource, Resources.ResourceManager, typeof(Resources)); 18CreateLocalizableResourceString(nameof(Resources.ComponentParameterSettersShouldBePublic_Title)), 19CreateLocalizableResourceString(nameof(Resources.ComponentParameterSettersShouldBePublic_Format)), 23description: CreateLocalizableResourceString(nameof(Resources.ComponentParameterSettersShouldBePublic_Description))); 27CreateLocalizableResourceString(nameof(Resources.ComponentParameterCaptureUnmatchedValuesMustBeUnique_Title)), 28CreateLocalizableResourceString(nameof(Resources.ComponentParameterCaptureUnmatchedValuesMustBeUnique_Format)), 32description: CreateLocalizableResourceString(nameof(Resources.ComponentParameterCaptureUnmatchedValuesMustBeUnique_Description))); 36CreateLocalizableResourceString(nameof(Resources.ComponentParameterCaptureUnmatchedValuesHasWrongType_Title)), 37CreateLocalizableResourceString(nameof(Resources.ComponentParameterCaptureUnmatchedValuesHasWrongType_Format)), 41description: CreateLocalizableResourceString(nameof(Resources.ComponentParameterCaptureUnmatchedValuesHasWrongType_Description))); 45CreateLocalizableResourceString(nameof(Resources.ComponentParameterShouldBePublic_Title)), 46CreateLocalizableResourceString(nameof(Resources.ComponentParameterShouldBePublic_Format)), 50description: CreateLocalizableResourceString(nameof(Resources.ComponentParametersShouldBePublic_Description))); 54CreateLocalizableResourceString(nameof(Resources.ComponentParameterShouldNotBeSetOutsideOfTheirDeclaredComponent_Title)), 55CreateLocalizableResourceString(nameof(Resources.ComponentParameterShouldNotBeSetOutsideOfTheirDeclaredComponent_Format)), 59description: CreateLocalizableResourceString(nameof(Resources.ComponentParameterShouldNotBeSetOutsideOfTheirDeclaredComponent_Description))); 63CreateLocalizableResourceString(nameof(Resources.DoNotUseRenderTreeTypes_Title)), 64CreateLocalizableResourceString(nameof(Resources.DoNotUseRenderTreeTypes_Description)), 68description: CreateLocalizableResourceString(nameof(Resources.DoNotUseRenderTreeTypes_Description))); 72CreateLocalizableResourceString(nameof(Resources.ComponentParametersShouldBeAutoProperties_Title)), 73CreateLocalizableResourceString(nameof(Resources.ComponentParametersShouldBeAutoProperties_Message)), 77description: CreateLocalizableResourceString(nameof(Resources.ComponentParametersShouldBeAutoProperties_Description))); 81CreateLocalizableResourceString(nameof(Resources.SupplyParameterFromFormShouldNotHavePropertyInitializer_Title)), 82CreateLocalizableResourceString(nameof(Resources.SupplyParameterFromFormShouldNotHavePropertyInitializer_Format)), 86description: CreateLocalizableResourceString(nameof(Resources.SupplyParameterFromFormShouldNotHavePropertyInitializer_Description))); 90CreateLocalizableResourceString(nameof(Resources.PersistentStateShouldNotHavePropertyInitializer_Title)), 91CreateLocalizableResourceString(nameof(Resources.PersistentStateShouldNotHavePropertyInitializer_Format)), 95description: CreateLocalizableResourceString(nameof(Resources.PersistentStateShouldNotHavePropertyInitializer_Description))); 99CreateLocalizableResourceString(nameof(Resources.UseInvokeVoidAsyncForObjectReturn_Title)), 100CreateLocalizableResourceString(nameof(Resources.UseInvokeVoidAsyncForObjectReturn_Format)), 104description: CreateLocalizableResourceString(nameof(Resources.UseInvokeVoidAsyncForObjectReturn_Description))); 108CreateLocalizableResourceString(nameof(Resources.VirtualizeItemsProviderRequiresItemComparer_Title)), 109CreateLocalizableResourceString(nameof(Resources.VirtualizeItemsProviderRequiresItemComparer_Format)), 113description: CreateLocalizableResourceString(nameof(Resources.VirtualizeItemsProviderRequiresItemComparer_Description))); 117CreateLocalizableResourceString(nameof(Resources.UnnecessaryStateHasChangedCall_Title)), 118CreateLocalizableResourceString(nameof(Resources.UnnecessaryStateHasChangedCall_Format)), 122description: CreateLocalizableResourceString(nameof(Resources.UnnecessaryStateHasChangedCall_Description))); 126CreateLocalizableResourceString(nameof(Resources.AuthenticationStateProviderCachedWithoutSubscription_Title)), 127CreateLocalizableResourceString(nameof(Resources.AuthenticationStateProviderCachedWithoutSubscription_Format)), 131description: CreateLocalizableResourceString(nameof(Resources.AuthenticationStateProviderCachedWithoutSubscription_Description))); 135CreateLocalizableResourceString(nameof(Resources.ForLoopIteratorVariableUsedInClosure_Title)), 136CreateLocalizableResourceString(nameof(Resources.ForLoopIteratorVariableUsedInClosure_Format)), 140description: CreateLocalizableResourceString(nameof(Resources.ForLoopIteratorVariableUsedInClosure_Description))); 144CreateLocalizableResourceString(nameof(Resources.JSInvokableMethodShouldBePublic_Title)), 145CreateLocalizableResourceString(nameof(Resources.JSInvokableMethodShouldBePublic_Format)), 149description: CreateLocalizableResourceString(nameof(Resources.JSInvokableMethodShouldBePublic_Description)));
JSInvokableCodeFixProvider.cs (3)
20private static readonly LocalizableString _title = new LocalizableResourceString(nameof(Resources.JSInvokableMethodShouldBePublic_FixTitle), Resources.ResourceManager, typeof(Resources));
src\3b67e3582e36646e\Microsoft.AspNetCore.Components.Analyzers.Resources.cs (1)
10internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(Resources)));
StateHasChangedCodeFixProvider.cs (3)
20private static readonly LocalizableString Title = new LocalizableResourceString(nameof(Resources.UnnecessaryStateHasChangedCall_FixTitle), Resources.ResourceManager, typeof(Resources));