// namespace Microsoft.AspNetCore.Razor.Evolution { using System.Globalization; using System.Reflection; using System.Resources; internal static class LegacyResources { private static readonly ResourceManager _resourceManager = new ResourceManager("Microsoft.AspNetCore.Razor.Evolution.LegacyResources", typeof(LegacyResources).GetTypeInfo().Assembly); /// /// Value cannot be null or an empty string. /// internal static string Argument_Cannot_Be_Null_Or_Empty { get => GetString("Argument_Cannot_Be_Null_Or_Empty"); } /// /// Value cannot be null or an empty string. /// internal static string FormatArgument_Cannot_Be_Null_Or_Empty() => GetString("Argument_Cannot_Be_Null_Or_Empty"); /// /// Value must be between {0} and {1}. /// internal static string Argument_Must_Be_Between { get => GetString("Argument_Must_Be_Between"); } /// /// Value must be between {0} and {1}. /// internal static string FormatArgument_Must_Be_Between(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("Argument_Must_Be_Between"), p0, p1); /// /// Value must be a value from the "{0}" enumeration. /// internal static string Argument_Must_Be_Enum_Member { get => GetString("Argument_Must_Be_Enum_Member"); } /// /// Value must be a value from the "{0}" enumeration. /// internal static string FormatArgument_Must_Be_Enum_Member(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("Argument_Must_Be_Enum_Member"), p0); /// /// Value must be greater than {0}. /// internal static string Argument_Must_Be_GreaterThan { get => GetString("Argument_Must_Be_GreaterThan"); } /// /// Value must be greater than {0}. /// internal static string FormatArgument_Must_Be_GreaterThan(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("Argument_Must_Be_GreaterThan"), p0); /// /// Value must be greater than or equal to {0}. /// internal static string Argument_Must_Be_GreaterThanOrEqualTo { get => GetString("Argument_Must_Be_GreaterThanOrEqualTo"); } /// /// Value must be greater than or equal to {0}. /// internal static string FormatArgument_Must_Be_GreaterThanOrEqualTo(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("Argument_Must_Be_GreaterThanOrEqualTo"), p0); /// /// Value must be less than {0}. /// internal static string Argument_Must_Be_LessThan { get => GetString("Argument_Must_Be_LessThan"); } /// /// Value must be less than {0}. /// internal static string FormatArgument_Must_Be_LessThan(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("Argument_Must_Be_LessThan"), p0); /// /// Value must be less than or equal to {0}. /// internal static string Argument_Must_Be_LessThanOrEqualTo { get => GetString("Argument_Must_Be_LessThanOrEqualTo"); } /// /// Value must be less than or equal to {0}. /// internal static string FormatArgument_Must_Be_LessThanOrEqualTo(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("Argument_Must_Be_LessThanOrEqualTo"), p0); /// /// Value cannot be an empty string. It must either be null or a non-empty string. /// internal static string Argument_Must_Be_Null_Or_Non_Empty { get => GetString("Argument_Must_Be_Null_Or_Non_Empty"); } /// /// Value cannot be an empty string. It must either be null or a non-empty string. /// internal static string FormatArgument_Must_Be_Null_Or_Non_Empty() => GetString("Argument_Must_Be_Null_Or_Non_Empty"); /// /// code /// internal static string BlockName_Code { get => GetString("BlockName_Code"); } /// /// code /// internal static string FormatBlockName_Code() => GetString("BlockName_Code"); /// /// explicit expression /// internal static string BlockName_ExplicitExpression { get => GetString("BlockName_ExplicitExpression"); } /// /// explicit expression /// internal static string FormatBlockName_ExplicitExpression() => GetString("BlockName_ExplicitExpression"); /// /// Block cannot be built because a Type has not been specified in the BlockBuilder /// internal static string Block_Type_Not_Specified { get => GetString("Block_Type_Not_Specified"); } /// /// Block cannot be built because a Type has not been specified in the BlockBuilder /// internal static string FormatBlock_Type_Not_Specified() => GetString("Block_Type_Not_Specified"); /// /// <<character literal>> /// internal static string CSharpSymbol_CharacterLiteral { get => GetString("CSharpSymbol_CharacterLiteral"); } /// /// <<character literal>> /// internal static string FormatCSharpSymbol_CharacterLiteral() => GetString("CSharpSymbol_CharacterLiteral"); /// /// <<comment>> /// internal static string CSharpSymbol_Comment { get => GetString("CSharpSymbol_Comment"); } /// /// <<comment>> /// internal static string FormatCSharpSymbol_Comment() => GetString("CSharpSymbol_Comment"); /// /// <<identifier>> /// internal static string CSharpSymbol_Identifier { get => GetString("CSharpSymbol_Identifier"); } /// /// <<identifier>> /// internal static string FormatCSharpSymbol_Identifier() => GetString("CSharpSymbol_Identifier"); /// /// <<integer literal>> /// internal static string CSharpSymbol_IntegerLiteral { get => GetString("CSharpSymbol_IntegerLiteral"); } /// /// <<integer literal>> /// internal static string FormatCSharpSymbol_IntegerLiteral() => GetString("CSharpSymbol_IntegerLiteral"); /// /// <<keyword>> /// internal static string CSharpSymbol_Keyword { get => GetString("CSharpSymbol_Keyword"); } /// /// <<keyword>> /// internal static string FormatCSharpSymbol_Keyword() => GetString("CSharpSymbol_Keyword"); /// /// <<newline sequence>> /// internal static string CSharpSymbol_Newline { get => GetString("CSharpSymbol_Newline"); } /// /// <<newline sequence>> /// internal static string FormatCSharpSymbol_Newline() => GetString("CSharpSymbol_Newline"); /// /// <<real literal>> /// internal static string CSharpSymbol_RealLiteral { get => GetString("CSharpSymbol_RealLiteral"); } /// /// <<real literal>> /// internal static string FormatCSharpSymbol_RealLiteral() => GetString("CSharpSymbol_RealLiteral"); /// /// <<string literal>> /// internal static string CSharpSymbol_StringLiteral { get => GetString("CSharpSymbol_StringLiteral"); } /// /// <<string literal>> /// internal static string FormatCSharpSymbol_StringLiteral() => GetString("CSharpSymbol_StringLiteral"); /// /// <<white space>> /// internal static string CSharpSymbol_Whitespace { get => GetString("CSharpSymbol_Whitespace"); } /// /// <<white space>> /// internal static string FormatCSharpSymbol_Whitespace() => GetString("CSharpSymbol_Whitespace"); /// /// The '{0}' directive expects an identifier. /// internal static string DirectiveExpectsIdentifier { get => GetString("DirectiveExpectsIdentifier"); } /// /// The '{0}' directive expects an identifier. /// internal static string FormatDirectiveExpectsIdentifier(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("DirectiveExpectsIdentifier"), p0); /// /// The '{0}' directive expects a namespace name. /// internal static string DirectiveExpectsNamespace { get => GetString("DirectiveExpectsNamespace"); } /// /// The '{0}' directive expects a namespace name. /// internal static string FormatDirectiveExpectsNamespace(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("DirectiveExpectsNamespace"), p0); /// /// The '{0}' directive expects a string surrounded by double quotes. /// internal static string DirectiveExpectsQuotedStringLiteral { get => GetString("DirectiveExpectsQuotedStringLiteral"); } /// /// The '{0}' directive expects a string surrounded by double quotes. /// internal static string FormatDirectiveExpectsQuotedStringLiteral(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("DirectiveExpectsQuotedStringLiteral"), p0); /// /// The '{0}' directive expects a type name. /// internal static string DirectiveExpectsTypeName { get => GetString("DirectiveExpectsTypeName"); } /// /// The '{0}' directive expects a type name. /// internal static string FormatDirectiveExpectsTypeName(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("DirectiveExpectsTypeName"), p0); /// /// "EndBlock" was called without a matching call to "StartBlock". /// internal static string EndBlock_Called_Without_Matching_StartBlock { get => GetString("EndBlock_Called_Without_Matching_StartBlock"); } /// /// "EndBlock" was called without a matching call to "StartBlock". /// internal static string FormatEndBlock_Called_Without_Matching_StartBlock() => GetString("EndBlock_Called_Without_Matching_StartBlock"); /// /// "{0}" character /// internal static string ErrorComponent_Character { get => GetString("ErrorComponent_Character"); } /// /// "{0}" character /// internal static string FormatErrorComponent_Character(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("ErrorComponent_Character"), p0); /// /// end of file /// internal static string ErrorComponent_EndOfFile { get => GetString("ErrorComponent_EndOfFile"); } /// /// end of file /// internal static string FormatErrorComponent_EndOfFile() => GetString("ErrorComponent_EndOfFile"); /// /// line break /// internal static string ErrorComponent_Newline { get => GetString("ErrorComponent_Newline"); } /// /// line break /// internal static string FormatErrorComponent_Newline() => GetString("ErrorComponent_Newline"); /// /// space or line break /// internal static string ErrorComponent_Whitespace { get => GetString("ErrorComponent_Whitespace"); } /// /// space or line break /// internal static string FormatErrorComponent_Whitespace() => GetString("ErrorComponent_Whitespace"); /// /// <<newline sequence>> /// internal static string HtmlSymbol_NewLine { get => GetString("HtmlSymbol_NewLine"); } /// /// <<newline sequence>> /// internal static string FormatHtmlSymbol_NewLine() => GetString("HtmlSymbol_NewLine"); /// /// <<razor comment>> /// internal static string HtmlSymbol_RazorComment { get => GetString("HtmlSymbol_RazorComment"); } /// /// <<razor comment>> /// internal static string FormatHtmlSymbol_RazorComment() => GetString("HtmlSymbol_RazorComment"); /// /// <<text>> /// internal static string HtmlSymbol_Text { get => GetString("HtmlSymbol_Text"); } /// /// <<text>> /// internal static string FormatHtmlSymbol_Text() => GetString("HtmlSymbol_Text"); /// /// <<white space>> /// internal static string HtmlSymbol_WhiteSpace { get => GetString("HtmlSymbol_WhiteSpace"); } /// /// <<white space>> /// internal static string FormatHtmlSymbol_WhiteSpace() => GetString("HtmlSymbol_WhiteSpace"); /// /// Cannot use built-in RazorComment handler, language characteristics does not define the CommentStart, CommentStar and CommentBody known symbol types or parser does not override TokenizerBackedParser.OutputSpanBeforeRazorComment /// internal static string Language_Does_Not_Support_RazorComment { get => GetString("Language_Does_Not_Support_RazorComment"); } /// /// Cannot use built-in RazorComment handler, language characteristics does not define the CommentStart, CommentStar and CommentBody known symbol types or parser does not override TokenizerBackedParser.OutputSpanBeforeRazorComment /// internal static string FormatLanguage_Does_Not_Support_RazorComment() => GetString("Language_Does_Not_Support_RazorComment"); /// /// The "@" character must be followed by a ":", "(", or a C# identifier. If you intended to switch to markup, use an HTML start tag, for example: /// /// @if(isLoggedIn) { /// <p>Hello, @user!</p> /// } /// internal static string ParseError_AtInCode_Must_Be_Followed_By_Colon_Paren_Or_Identifier_Start { get => GetString("ParseError_AtInCode_Must_Be_Followed_By_Colon_Paren_Or_Identifier_Start"); } /// /// The "@" character must be followed by a ":", "(", or a C# identifier. If you intended to switch to markup, use an HTML start tag, for example: /// /// @if(isLoggedIn) { /// <p>Hello, @user!</p> /// } /// internal static string FormatParseError_AtInCode_Must_Be_Followed_By_Colon_Paren_Or_Identifier_Start() => GetString("ParseError_AtInCode_Must_Be_Followed_By_Colon_Paren_Or_Identifier_Start"); /// /// End of file was reached before the end of the block comment. All comments started with "/*" sequence must be terminated with a matching "*/" sequence. /// internal static string ParseError_BlockComment_Not_Terminated { get => GetString("ParseError_BlockComment_Not_Terminated"); } /// /// End of file was reached before the end of the block comment. All comments started with "/*" sequence must be terminated with a matching "*/" sequence. /// internal static string FormatParseError_BlockComment_Not_Terminated() => GetString("ParseError_BlockComment_Not_Terminated"); /// /// Directive '{0}' must have a value. /// internal static string ParseError_DirectiveMustHaveValue { get => GetString("ParseError_DirectiveMustHaveValue"); } /// /// Directive '{0}' must have a value. /// internal static string FormatParseError_DirectiveMustHaveValue(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("ParseError_DirectiveMustHaveValue"), p0); /// /// An opening "{0}" is missing the corresponding closing "{1}". /// internal static string ParseError_Expected_CloseBracket_Before_EOF { get => GetString("ParseError_Expected_CloseBracket_Before_EOF"); } /// /// An opening "{0}" is missing the corresponding closing "{1}". /// internal static string FormatParseError_Expected_CloseBracket_Before_EOF(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("ParseError_Expected_CloseBracket_Before_EOF"), p0, p1); /// /// The {0} block is missing a closing "{1}" character. Make sure you have a matching "{1}" character for all the "{2}" characters within this block, and that none of the "{1}" characters are being interpreted as markup. /// internal static string ParseError_Expected_EndOfBlock_Before_EOF { get => GetString("ParseError_Expected_EndOfBlock_Before_EOF"); } /// /// The {0} block is missing a closing "{1}" character. Make sure you have a matching "{1}" character for all the "{2}" characters within this block, and that none of the "{1}" characters are being interpreted as markup. /// internal static string FormatParseError_Expected_EndOfBlock_Before_EOF(object p0, object p1, object p2) => string.Format(CultureInfo.CurrentCulture, GetString("ParseError_Expected_EndOfBlock_Before_EOF"), p0, p1, p2); /// /// Expected "{0}". /// internal static string ParseError_Expected_X { get => GetString("ParseError_Expected_X"); } /// /// Expected "{0}". /// internal static string FormatParseError_Expected_X(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("ParseError_Expected_X"), p0); /// /// The {0} directive is not supported. /// internal static string ParseError_HelperDirectiveNotAvailable { get => GetString("ParseError_HelperDirectiveNotAvailable"); } /// /// The {0} directive is not supported. /// internal static string FormatParseError_HelperDirectiveNotAvailable(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("ParseError_HelperDirectiveNotAvailable"), p0); /// /// Optional quote around the directive '{0}' is missing the corresponding opening or closing quote. /// internal static string ParseError_IncompleteQuotesAroundDirective { get => GetString("ParseError_IncompleteQuotesAroundDirective"); } /// /// Optional quote around the directive '{0}' is missing the corresponding opening or closing quote. /// internal static string FormatParseError_IncompleteQuotesAroundDirective(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("ParseError_IncompleteQuotesAroundDirective"), p0); /// /// The 'inherits' keyword must be followed by a type name on the same line. /// internal static string ParseError_InheritsKeyword_Must_Be_Followed_By_TypeName { get => GetString("ParseError_InheritsKeyword_Must_Be_Followed_By_TypeName"); } /// /// The 'inherits' keyword must be followed by a type name on the same line. /// internal static string FormatParseError_InheritsKeyword_Must_Be_Followed_By_TypeName() => GetString("ParseError_InheritsKeyword_Must_Be_Followed_By_TypeName"); /// /// Inline markup blocks (@<p>Content</p>) cannot be nested. Only one level of inline markup is allowed. /// internal static string ParseError_InlineMarkup_Blocks_Cannot_Be_Nested { get => GetString("ParseError_InlineMarkup_Blocks_Cannot_Be_Nested"); } /// /// Inline markup blocks (@<p>Content</p>) cannot be nested. Only one level of inline markup is allowed. /// internal static string FormatParseError_InlineMarkup_Blocks_Cannot_Be_Nested() => GetString("ParseError_InlineMarkup_Blocks_Cannot_Be_Nested"); /// /// Markup in a code block must start with a tag and all start tags must be matched with end tags. Do not use unclosed tags like "<br>". Instead use self-closing tags like "<br/>". /// internal static string ParseError_MarkupBlock_Must_Start_With_Tag { get => GetString("ParseError_MarkupBlock_Must_Start_With_Tag"); } /// /// Markup in a code block must start with a tag and all start tags must be matched with end tags. Do not use unclosed tags like "<br>". Instead use self-closing tags like "<br/>". /// internal static string FormatParseError_MarkupBlock_Must_Start_With_Tag() => GetString("ParseError_MarkupBlock_Must_Start_With_Tag"); /// /// The "{0}" element was not closed. All elements must be either self-closing or have a matching end tag. /// internal static string ParseError_MissingEndTag { get => GetString("ParseError_MissingEndTag"); } /// /// The "{0}" element was not closed. All elements must be either self-closing or have a matching end tag. /// internal static string FormatParseError_MissingEndTag(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("ParseError_MissingEndTag"), p0); /// /// Sections cannot be empty. The "@section" keyword must be followed by a block of markup surrounded by "{}". For example: /// /// @section Sidebar { /// <!-- Markup and text goes here --> /// } /// internal static string ParseError_MissingOpenBraceAfterSection { get => GetString("ParseError_MissingOpenBraceAfterSection"); } /// /// Sections cannot be empty. The "@section" keyword must be followed by a block of markup surrounded by "{}". For example: /// /// @section Sidebar { /// <!-- Markup and text goes here --> /// } /// internal static string FormatParseError_MissingOpenBraceAfterSection() => GetString("ParseError_MissingOpenBraceAfterSection"); /// /// Namespace imports and type aliases cannot be placed within code blocks. They must immediately follow an "@" character in markup. It is recommended that you put them at the top of the page, as in the following example: /// /// @using System.Drawing; /// @{ /// // OK here to use types from System.Drawing in the page. /// } /// internal static string ParseError_NamespaceImportAndTypeAlias_Cannot_Exist_Within_CodeBlock { get => GetString("ParseError_NamespaceImportAndTypeAlias_Cannot_Exist_Within_CodeBlock"); } /// /// Namespace imports and type aliases cannot be placed within code blocks. They must immediately follow an "@" character in markup. It is recommended that you put them at the top of the page, as in the following example: /// /// @using System.Drawing; /// @{ /// // OK here to use types from System.Drawing in the page. /// } /// internal static string FormatParseError_NamespaceImportAndTypeAlias_Cannot_Exist_Within_CodeBlock() => GetString("ParseError_NamespaceImportAndTypeAlias_Cannot_Exist_Within_CodeBlock"); /// /// Outer tag is missing a name. The first character of a markup block must be an HTML tag with a valid name. /// internal static string ParseError_OuterTagMissingName { get => GetString("ParseError_OuterTagMissingName"); } /// /// Outer tag is missing a name. The first character of a markup block must be an HTML tag with a valid name. /// internal static string FormatParseError_OuterTagMissingName() => GetString("ParseError_OuterTagMissingName"); /// /// End of file was reached before the end of the block comment. All comments that start with the "@*" sequence must be terminated with a matching "*@" sequence. /// internal static string ParseError_RazorComment_Not_Terminated { get => GetString("ParseError_RazorComment_Not_Terminated"); } /// /// End of file was reached before the end of the block comment. All comments that start with the "@*" sequence must be terminated with a matching "*@" sequence. /// internal static string FormatParseError_RazorComment_Not_Terminated() => GetString("ParseError_RazorComment_Not_Terminated"); /// /// "{0}" is a reserved word and cannot be used in implicit expressions. An explicit expression ("@()") must be used. /// internal static string ParseError_ReservedWord { get => GetString("ParseError_ReservedWord"); } /// /// "{0}" is a reserved word and cannot be used in implicit expressions. An explicit expression ("@()") must be used. /// internal static string FormatParseError_ReservedWord(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("ParseError_ReservedWord"), p0); /// /// Section blocks ("{0}") cannot be nested. Only one level of section blocks are allowed. /// internal static string ParseError_Sections_Cannot_Be_Nested { get => GetString("ParseError_Sections_Cannot_Be_Nested"); } /// /// Section blocks ("{0}") cannot be nested. Only one level of section blocks are allowed. /// internal static string FormatParseError_Sections_Cannot_Be_Nested(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("ParseError_Sections_Cannot_Be_Nested"), p0); /// /// Expected a "{0}" but found a "{1}". Block statements must be enclosed in "{{" and "}}". You cannot use single-statement control-flow statements in CSHTML pages. For example, the following is not allowed: /// /// @if(isLoggedIn) /// <p>Hello, @user</p> /// /// Instead, wrap the contents of the block in "{{}}": /// /// @if(isLoggedIn) {{ /// <p>Hello, @user</p> /// }} /// internal static string ParseError_SingleLine_ControlFlowStatements_Not_Allowed { get => GetString("ParseError_SingleLine_ControlFlowStatements_Not_Allowed"); } /// /// Expected a "{0}" but found a "{1}". Block statements must be enclosed in "{{" and "}}". You cannot use single-statement control-flow statements in CSHTML pages. For example, the following is not allowed: /// /// @if(isLoggedIn) /// <p>Hello, @user</p> /// /// Instead, wrap the contents of the block in "{{}}": /// /// @if(isLoggedIn) {{ /// <p>Hello, @user</p> /// }} /// internal static string FormatParseError_SingleLine_ControlFlowStatements_Not_Allowed(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("ParseError_SingleLine_ControlFlowStatements_Not_Allowed"), p0, p1); /// /// "<text>" and "</text>" tags cannot contain attributes. /// internal static string ParseError_TextTagCannotContainAttributes { get => GetString("ParseError_TextTagCannotContainAttributes"); } /// /// "<text>" and "</text>" tags cannot contain attributes. /// internal static string FormatParseError_TextTagCannotContainAttributes() => GetString("ParseError_TextTagCannotContainAttributes"); /// /// Encountered end tag "{0}" with no matching start tag. Are your start/end tags properly balanced? /// internal static string ParseError_UnexpectedEndTag { get => GetString("ParseError_UnexpectedEndTag"); } /// /// Encountered end tag "{0}" with no matching start tag. Are your start/end tags properly balanced? /// internal static string FormatParseError_UnexpectedEndTag(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("ParseError_UnexpectedEndTag"), p0); /// /// Unexpected {0} after section keyword. Section names must start with an "_" or alphabetic character, and the remaining characters must be either "_" or alphanumeric. /// internal static string ParseError_Unexpected_Character_At_Section_Name_Start { get => GetString("ParseError_Unexpected_Character_At_Section_Name_Start"); } /// /// Unexpected {0} after section keyword. Section names must start with an "_" or alphabetic character, and the remaining characters must be either "_" or alphanumeric. /// internal static string FormatParseError_Unexpected_Character_At_Section_Name_Start(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("ParseError_Unexpected_Character_At_Section_Name_Start"), p0); /// /// "{0}" is not valid at the start of a code block. Only identifiers, keywords, comments, "(" and "{{" are valid. /// internal static string ParseError_Unexpected_Character_At_Start_Of_CodeBlock_CS { get => GetString("ParseError_Unexpected_Character_At_Start_Of_CodeBlock_CS"); } /// /// "{0}" is not valid at the start of a code block. Only identifiers, keywords, comments, "(" and "{{" are valid. /// internal static string FormatParseError_Unexpected_Character_At_Start_Of_CodeBlock_CS(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("ParseError_Unexpected_Character_At_Start_Of_CodeBlock_CS"), p0); /// /// End-of-file was found after the "@" character. "@" must be followed by a valid code block. If you want to output an "@", escape it using the sequence: "@@" /// internal static string ParseError_Unexpected_EndOfFile_At_Start_Of_CodeBlock { get => GetString("ParseError_Unexpected_EndOfFile_At_Start_Of_CodeBlock"); } /// /// End-of-file was found after the "@" character. "@" must be followed by a valid code block. If you want to output an "@", escape it using the sequence: "@@" /// internal static string FormatParseError_Unexpected_EndOfFile_At_Start_Of_CodeBlock() => GetString("ParseError_Unexpected_EndOfFile_At_Start_Of_CodeBlock"); /// /// End-of-file was found after the "@" character. "@" must be followed by a valid code block. If you want to output an "@", escape it using the sequence: "@@" /// internal static string ParseError_Unexpected_EndOfFile_At_Start_Of_CodeBlock1 { get => GetString("ParseError_Unexpected_EndOfFile_At_Start_Of_CodeBlock1"); } /// /// End-of-file was found after the "@" character. "@" must be followed by a valid code block. If you want to output an "@", escape it using the sequence: "@@" /// internal static string FormatParseError_Unexpected_EndOfFile_At_Start_Of_CodeBlock1() => GetString("ParseError_Unexpected_EndOfFile_At_Start_Of_CodeBlock1"); /// /// Unexpected "{" after "@" character. Once inside the body of a code block (@if {}, @{}, etc.) you do not need to use "@{" to switch to code. /// internal static string ParseError_Unexpected_Nested_CodeBlock { get => GetString("ParseError_Unexpected_Nested_CodeBlock"); } /// /// Unexpected "{" after "@" character. Once inside the body of a code block (@if {}, @{}, etc.) you do not need to use "@{" to switch to code. /// internal static string FormatParseError_Unexpected_Nested_CodeBlock() => GetString("ParseError_Unexpected_Nested_CodeBlock"); /// /// A space or line break was encountered after the "@" character. Only valid identifiers, keywords, comments, "(" and "{" are valid at the start of a code block and they must occur immediately following "@" with no space in between. /// internal static string ParseError_Unexpected_WhiteSpace_At_Start_Of_CodeBlock_CS { get => GetString("ParseError_Unexpected_WhiteSpace_At_Start_Of_CodeBlock_CS"); } /// /// A space or line break was encountered after the "@" character. Only valid identifiers, keywords, comments, "(" and "{" are valid at the start of a code block and they must occur immediately following "@" with no space in between. /// internal static string FormatParseError_Unexpected_WhiteSpace_At_Start_Of_CodeBlock_CS() => GetString("ParseError_Unexpected_WhiteSpace_At_Start_Of_CodeBlock_CS"); /// /// End of file or an unexpected character was reached before the "{0}" tag could be parsed. Elements inside markup blocks must be complete. They must either be self-closing ("<br />") or have matching end tags ("<p>Hello</p>"). If you intended to display a "<" character, use the "&lt;" HTML entity. /// internal static string ParseError_UnfinishedTag { get => GetString("ParseError_UnfinishedTag"); } /// /// End of file or an unexpected character was reached before the "{0}" tag could be parsed. Elements inside markup blocks must be complete. They must either be self-closing ("<br />") or have matching end tags ("<p>Hello</p>"). If you intended to display a "<" character, use the "&lt;" HTML entity. /// internal static string FormatParseError_UnfinishedTag(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("ParseError_UnfinishedTag"), p0); /// /// Unterminated string literal. Strings that start with a quotation mark (") must be terminated before the end of the line. However, strings that start with @ and a quotation mark (@") can span multiple lines. /// internal static string ParseError_Unterminated_String_Literal { get => GetString("ParseError_Unterminated_String_Literal"); } /// /// Unterminated string literal. Strings that start with a quotation mark (") must be terminated before the end of the line. However, strings that start with @ and a quotation mark (@") can span multiple lines. /// internal static string FormatParseError_Unterminated_String_Literal() => GetString("ParseError_Unterminated_String_Literal"); /// /// Cannot complete the tree, StartBlock must be called at least once. /// internal static string ParserContext_CannotCompleteTree_NoRootBlock { get => GetString("ParserContext_CannotCompleteTree_NoRootBlock"); } /// /// Cannot complete the tree, StartBlock must be called at least once. /// internal static string FormatParserContext_CannotCompleteTree_NoRootBlock() => GetString("ParserContext_CannotCompleteTree_NoRootBlock"); /// /// Cannot complete the tree, there are still open blocks. /// internal static string ParserContext_CannotCompleteTree_OutstandingBlocks { get => GetString("ParserContext_CannotCompleteTree_OutstandingBlocks"); } /// /// Cannot complete the tree, there are still open blocks. /// internal static string FormatParserContext_CannotCompleteTree_OutstandingBlocks() => GetString("ParserContext_CannotCompleteTree_OutstandingBlocks"); /// /// Cannot finish span, there is no current block. Call StartBlock at least once before finishing a span /// internal static string ParserContext_NoCurrentBlock { get => GetString("ParserContext_NoCurrentBlock"); } /// /// Cannot finish span, there is no current block. Call StartBlock at least once before finishing a span /// internal static string FormatParserContext_NoCurrentBlock() => GetString("ParserContext_NoCurrentBlock"); /// /// Cannot complete action, the parser has finished. Only CompleteParse can be called to extract the final parser results after the parser has finished /// internal static string ParserContext_ParseComplete { get => GetString("ParserContext_ParseComplete"); } /// /// Cannot complete action, the parser has finished. Only CompleteParse can be called to extract the final parser results after the parser has finished /// internal static string FormatParserContext_ParseComplete() => GetString("ParserContext_ParseComplete"); /// /// Parser was started with a null Context property. The Context property must be set BEFORE calling any methods on the parser. /// internal static string Parser_Context_Not_Set { get => GetString("Parser_Context_Not_Set"); } /// /// Parser was started with a null Context property. The Context property must be set BEFORE calling any methods on the parser. /// internal static string FormatParser_Context_Not_Set() => GetString("Parser_Context_Not_Set"); /// /// Attribute '{0}' on tag helper element '{1}' requires a value. Tag helper bound attributes of type '{2}' cannot be empty or contain only whitespace. /// internal static string RewriterError_EmptyTagHelperBoundAttribute { get => GetString("RewriterError_EmptyTagHelperBoundAttribute"); } /// /// Attribute '{0}' on tag helper element '{1}' requires a value. Tag helper bound attributes of type '{2}' cannot be empty or contain only whitespace. /// internal static string FormatRewriterError_EmptyTagHelperBoundAttribute(object p0, object p1, object p2) => string.Format(CultureInfo.CurrentCulture, GetString("RewriterError_EmptyTagHelperBoundAttribute"), p0, p1, p2); /// /// @section Header { ... } /// internal static string SectionExample_CS { get => GetString("SectionExample_CS"); } /// /// @section Header { ... } /// internal static string FormatSectionExample_CS() => GetString("SectionExample_CS"); /// /// Cannot perform '{1}' operations on '{0}' instances with different file paths. /// internal static string SourceLocationFilePathDoesNotMatch { get => GetString("SourceLocationFilePathDoesNotMatch"); } /// /// Cannot perform '{1}' operations on '{0}' instances with different file paths. /// internal static string FormatSourceLocationFilePathDoesNotMatch(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("SourceLocationFilePathDoesNotMatch"), p0, p1); /// /// <<unknown>> /// internal static string Symbol_Unknown { get => GetString("Symbol_Unknown"); } /// /// <<unknown>> /// internal static string FormatSymbol_Unknown() => GetString("Symbol_Unknown"); /// /// The tag helper attribute '{0}' in element '{1}' is missing a key. The syntax is '<{1} {0}{{ key }}="value">'. /// internal static string TagHelperBlockRewriter_IndexerAttributeNameMustIncludeKey { get => GetString("TagHelperBlockRewriter_IndexerAttributeNameMustIncludeKey"); } /// /// The tag helper attribute '{0}' in element '{1}' is missing a key. The syntax is '<{1} {0}{{ key }}="value">'. /// internal static string FormatTagHelperBlockRewriter_IndexerAttributeNameMustIncludeKey(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("TagHelperBlockRewriter_IndexerAttributeNameMustIncludeKey"), p0, p1); /// /// TagHelper attributes must be well-formed. /// internal static string TagHelperBlockRewriter_TagHelperAttributeListMustBeWellFormed { get => GetString("TagHelperBlockRewriter_TagHelperAttributeListMustBeWellFormed"); } /// /// TagHelper attributes must be well-formed. /// internal static string FormatTagHelperBlockRewriter_TagHelperAttributeListMustBeWellFormed() => GetString("TagHelperBlockRewriter_TagHelperAttributeListMustBeWellFormed"); /// /// The parent <{0}> tag helper does not allow non-tag content. Only child tag helper(s) targeting tag name(s) '{1}' are allowed. /// internal static string TagHelperParseTreeRewriter_CannotHaveNonTagContent { get => GetString("TagHelperParseTreeRewriter_CannotHaveNonTagContent"); } /// /// The parent <{0}> tag helper does not allow non-tag content. Only child tag helper(s) targeting tag name(s) '{1}' are allowed. /// internal static string FormatTagHelperParseTreeRewriter_CannotHaveNonTagContent(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("TagHelperParseTreeRewriter_CannotHaveNonTagContent"), p0, p1); /// /// Found an end tag (</{0}>) for tag helper '{1}' with tag structure that disallows an end tag ('{2}'). /// internal static string TagHelperParseTreeRewriter_EndTagTagHelperMustNotHaveAnEndTag { get => GetString("TagHelperParseTreeRewriter_EndTagTagHelperMustNotHaveAnEndTag"); } /// /// Found an end tag (</{0}>) for tag helper '{1}' with tag structure that disallows an end tag ('{2}'). /// internal static string FormatTagHelperParseTreeRewriter_EndTagTagHelperMustNotHaveAnEndTag(object p0, object p1, object p2) => string.Format(CultureInfo.CurrentCulture, GetString("TagHelperParseTreeRewriter_EndTagTagHelperMustNotHaveAnEndTag"), p0, p1, p2); /// /// Tag helpers '{0}' and '{1}' targeting element '{2}' must not expect different {3} values. /// internal static string TagHelperParseTreeRewriter_InconsistentTagStructure { get => GetString("TagHelperParseTreeRewriter_InconsistentTagStructure"); } /// /// Tag helpers '{0}' and '{1}' targeting element '{2}' must not expect different {3} values. /// internal static string FormatTagHelperParseTreeRewriter_InconsistentTagStructure(object p0, object p1, object p2, object p3) => string.Format(CultureInfo.CurrentCulture, GetString("TagHelperParseTreeRewriter_InconsistentTagStructure"), p0, p1, p2, p3); /// /// The <{0}> tag is not allowed by parent <{1}> tag helper. Only child tags with name(s) '{2}' are allowed. /// internal static string TagHelperParseTreeRewriter_InvalidNestedTag { get => GetString("TagHelperParseTreeRewriter_InvalidNestedTag"); } /// /// The <{0}> tag is not allowed by parent <{1}> tag helper. Only child tags with name(s) '{2}' are allowed. /// internal static string FormatTagHelperParseTreeRewriter_InvalidNestedTag(object p0, object p1, object p2) => string.Format(CultureInfo.CurrentCulture, GetString("TagHelperParseTreeRewriter_InvalidNestedTag"), p0, p1, p2); /// /// Found a malformed '{0}' tag helper. Tag helpers must have a start and end tag or be self closing. /// internal static string TagHelpersParseTreeRewriter_FoundMalformedTagHelper { get => GetString("TagHelpersParseTreeRewriter_FoundMalformedTagHelper"); } /// /// Found a malformed '{0}' tag helper. Tag helpers must have a start and end tag or be self closing. /// internal static string FormatTagHelpersParseTreeRewriter_FoundMalformedTagHelper(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("TagHelpersParseTreeRewriter_FoundMalformedTagHelper"), p0); /// /// Missing close angle for tag helper '{0}'. /// internal static string TagHelpersParseTreeRewriter_MissingCloseAngle { get => GetString("TagHelpersParseTreeRewriter_MissingCloseAngle"); } /// /// Missing close angle for tag helper '{0}'. /// internal static string FormatTagHelpersParseTreeRewriter_MissingCloseAngle(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("TagHelpersParseTreeRewriter_MissingCloseAngle"), p0); /// /// Tag Helper '{0}'s attributes must have names. /// internal static string TagHelpers_AttributesMustHaveAName { get => GetString("TagHelpers_AttributesMustHaveAName"); } /// /// Tag Helper '{0}'s attributes must have names. /// internal static string FormatTagHelpers_AttributesMustHaveAName(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("TagHelpers_AttributesMustHaveAName"), p0); /// /// The tag helper '{0}' must not have C# in the element's attribute declaration area. /// internal static string TagHelpers_CannotHaveCSharpInTagDeclaration { get => GetString("TagHelpers_CannotHaveCSharpInTagDeclaration"); } /// /// The tag helper '{0}' must not have C# in the element's attribute declaration area. /// internal static string FormatTagHelpers_CannotHaveCSharpInTagDeclaration(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("TagHelpers_CannotHaveCSharpInTagDeclaration"), p0); /// /// Code blocks (e.g. @{{var variable = 23;}}) must not appear in non-string tag helper attribute values. /// Already in an expression (code) context. If necessary an explicit expression (e.g. @(@readonly)) may be used. /// internal static string TagHelpers_CodeBlocks_NotSupported_InAttributes { get => GetString("TagHelpers_CodeBlocks_NotSupported_InAttributes"); } /// /// Code blocks (e.g. @{{var variable = 23;}}) must not appear in non-string tag helper attribute values. /// Already in an expression (code) context. If necessary an explicit expression (e.g. @(@readonly)) may be used. /// internal static string FormatTagHelpers_CodeBlocks_NotSupported_InAttributes() => GetString("TagHelpers_CodeBlocks_NotSupported_InAttributes"); /// /// Inline markup blocks (e.g. @<p>content</p>) must not appear in non-string tag helper attribute values. /// Expected a '{0}' attribute value, not a string. /// internal static string TagHelpers_InlineMarkupBlocks_NotSupported_InAttributes { get => GetString("TagHelpers_InlineMarkupBlocks_NotSupported_InAttributes"); } /// /// Inline markup blocks (e.g. @<p>content</p>) must not appear in non-string tag helper attribute values. /// Expected a '{0}' attribute value, not a string. /// internal static string FormatTagHelpers_InlineMarkupBlocks_NotSupported_InAttributes(object p0) => string.Format(CultureInfo.CurrentCulture, GetString("TagHelpers_InlineMarkupBlocks_NotSupported_InAttributes"), p0); /// /// In order to put a symbol back, it must have been the symbol which ended at the current position. The specified symbol ends at {0}, but the current position is {1} /// internal static string TokenizerView_CannotPutBack { get => GetString("TokenizerView_CannotPutBack"); } /// /// In order to put a symbol back, it must have been the symbol which ended at the current position. The specified symbol ends at {0}, but the current position is {1} /// internal static string FormatTokenizerView_CannotPutBack(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("TokenizerView_CannotPutBack"), p0, p1); /// /// Unexpected literal following the '{0}' directive. Expected '{1}'. /// internal static string UnexpectedDirectiveLiteral { get => GetString("UnexpectedDirectiveLiteral"); } /// /// Unexpected literal following the '{0}' directive. Expected '{1}'. /// internal static string FormatUnexpectedDirectiveLiteral(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("UnexpectedDirectiveLiteral"), p0, p1); /// /// Unexpected end of file following the '{0}' directive. Expected '{1}'. /// internal static string UnexpectedEOFAfterDirective { get => GetString("UnexpectedEOFAfterDirective"); } /// /// Unexpected end of file following the '{0}' directive. Expected '{1}'. /// internal static string FormatUnexpectedEOFAfterDirective(object p0, object p1) => string.Format(CultureInfo.CurrentCulture, GetString("UnexpectedEOFAfterDirective"), p0, p1); private static string GetString(string name, params string[] formatterNames) { var value = _resourceManager.GetString(name); System.Diagnostics.Debug.Assert(value != null); if (formatterNames != null) { for (var i = 0; i < formatterNames.Length; i++) { value = value.Replace("{" + formatterNames[i] + "}", "{" + i + "}"); } } return value; } } }