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