27 references to Resources
Microsoft.AspNetCore.Mvc.Razor (26)
ApplicationParts\RazorCompiledItemFeatureProvider.cs (1)
32Resources.RazorViewCompiler_ViewPathsDifferOnlyInCase,
artifacts\obj\Microsoft.AspNetCore.Mvc.Razor\Release\net10.0\Microsoft.AspNetCore.Mvc.Razor.Resources.cs (1)
10internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(Resources)));
Compilation\CompiledViewDescriptor.cs (1)
46throw new ArgumentException(Resources.FormatCompiledViewDescriptor_NoData(nameof(item), nameof(attribute)));
RazorFileHierarchy.cs (1)
18throw new ArgumentException(Resources.RazorProject_PathMustStartWithForwardSlash, nameof(path));
RazorPage.cs (7)
33var message = Resources.FormatRazorPage_MethodCannotBeCalled(nameof(RenderBody), Path); 62throw new InvalidOperationException(Resources.FormatSectionAlreadyDefined(name)); 157var message = Resources.FormatSectionAlreadyRendered(nameof(RenderSectionAsync), Path, sectionName); 176Resources.FormatSectionNotDefined( 231throw new InvalidOperationException(Resources.FormatSectionsNotRendered(Path, sectionNames, nameof(IgnoreSection))); 238var message = Resources.FormatRenderBodyNotCalled(nameof(RenderBody), Path, nameof(IgnoreBody)); 259throw new InvalidOperationException(Resources.FormatRazorPage_MethodCannotBeCalled(methodName, Path));
RazorPageBase.cs (8)
65throw new InvalidOperationException(Resources.FormatViewContextMustBeSet(nameof(ViewContext), nameof(Output))); 188return Resources.FormatRazorPage_InvalidTagHelperIndexerAssignment( 243throw new InvalidOperationException(Resources.RazorPage_ThereIsNoActiveWritingScopeToEnd); 273throw new InvalidOperationException(Resources.RazorPage_NestingAttributeWritingScopesNotSupported); 301throw new InvalidOperationException(Resources.RazorPage_ThereIsNoActiveWritingScopeToEnd); 387throw new InvalidOperationException(Resources.FormatSectionAlreadyDefined(name)); 689Resources.FormatRazorPage_CannotFlushWhileInAWritingScope(nameof(FlushAsync), Path)); 696var message = Resources.FormatLayoutCannotBeRendered(Path, nameof(FlushAsync));
RazorView.cs (3)
215var message = Resources.FormatLayoutCannotBeRendered(Path, nameof(Razor.RazorPage.FlushAsync)); 227Resources.FormatLayoutHasCircularReference(previousPage.Path, layoutPage.Path)); 294throw new InvalidOperationException(Resources.FormatLayoutCannotBeLocated(layoutPath, locations));
RazorViewEngine.cs (3)
62Resources.FormatViewLocationFormatsIsRequired(nameof(RazorViewEngineOptions.ViewLocationFormats)), 69Resources.FormatViewLocationFormatsIsRequired(nameof(RazorViewEngineOptions.AreaViewLocationFormats)), 474throw new InvalidOperationException(Resources.FormatAsyncDisposableViewsNotSupported(typeof(IAsyncDisposable).FullName));
TagHelpers\UrlResolutionTagHelper.cs (1)
260Resources.FormatCouldNotResolveApplicationRelativeUrl_TagHelper(
Microsoft.AspNetCore.Mvc.Razor.Test (1)
TagHelpers\UrlResolutionTagHelperTest.cs (1)
345var expectedExceptionMessage = Resources.FormatCouldNotResolveApplicationRelativeUrl_TagHelper(