// namespace Microsoft.AspNet.Razor { using System.Globalization; using System.Reflection; using System.Resources; internal static class RazorResources { private static readonly ResourceManager _resourceManager = new ResourceManager("Microsoft.AspNet.Razor.RazorResources", typeof(RazorResources).GetTypeInfo().Assembly); /// /// The active parser must be the same as either the markup or code parser. /// internal static string ActiveParser_Must_Be_Code_Or_Markup_Parser { get { return GetString("ActiveParser_Must_Be_Code_Or_Markup_Parser"); } } /// /// The active parser must be the same as either the markup or code parser. /// internal static string FormatActiveParser_Must_Be_Code_Or_Markup_Parser() { return GetString("ActiveParser_Must_Be_Code_Or_Markup_Parser"); } /// /// code /// internal static string BlockName_Code { get { return GetString("BlockName_Code"); } } /// /// code /// internal static string FormatBlockName_Code() { return GetString("BlockName_Code"); } /// /// explicit expression /// internal static string BlockName_ExplicitExpression { get { return GetString("BlockName_ExplicitExpression"); } } /// /// explicit expression /// internal static string FormatBlockName_ExplicitExpression() { return GetString("BlockName_ExplicitExpression"); } /// /// The "CancelBacktrack" method can be called only while in a look-ahead process started with the "BeginLookahead" method. /// internal static string CancelBacktrack_Must_Be_Called_Within_Lookahead { get { return GetString("CancelBacktrack_Must_Be_Called_Within_Lookahead"); } } /// /// The "CancelBacktrack" method can be called only while in a look-ahead process started with the "BeginLookahead" method. /// internal static string FormatCancelBacktrack_Must_Be_Called_Within_Lookahead() { return GetString("CancelBacktrack_Must_Be_Called_Within_Lookahead"); } /// /// "EndBlock" was called without a matching call to "StartBlock". /// internal static string EndBlock_Called_Without_Matching_StartBlock { get { return GetString("EndBlock_Called_Without_Matching_StartBlock"); } } /// /// "EndBlock" was called without a matching call to "StartBlock". /// internal static string FormatEndBlock_Called_Without_Matching_StartBlock() { return GetString("EndBlock_Called_Without_Matching_StartBlock"); } /// /// 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 { return 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() { return 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 { return 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() { return GetString("ParseError_BlockComment_Not_Terminated"); } /// /// An opening "{0}" is missing the corresponding closing "{1}". /// internal static string ParseError_Expected_CloseBracket_Before_EOF { get { return 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) { return 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 { return 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) { return string.Format(CultureInfo.CurrentCulture, GetString("ParseError_Expected_EndOfBlock_Before_EOF"), p0, p1, p2); } /// /// Expected "{0}". /// internal static string ParseError_Expected_X { get { return GetString("ParseError_Expected_X"); } } /// /// Expected "{0}". /// internal static string FormatParseError_Expected_X(object p0) { return string.Format(CultureInfo.CurrentCulture, GetString("ParseError_Expected_X"), p0); } /// /// 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 { return 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() { return 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 { return 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() { return 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 { return 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) { return 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 { return 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() { return 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 { return 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() { return GetString("ParseError_NamespaceImportAndTypeAlias_Cannot_Exist_Within_CodeBlock"); } /// /// 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 { return 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) { return string.Format(CultureInfo.CurrentCulture, GetString("ParseError_SingleLine_ControlFlowStatements_Not_Allowed"), p0, p1); } /// /// Encountered end tag "{0}" with no matching start tag. Are your start/end tags properly balanced? /// internal static string ParseError_UnexpectedEndTag { get { return 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) { return 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 { return 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) { return 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 { return 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) { return string.Format(CultureInfo.CurrentCulture, GetString("ParseError_Unexpected_Character_At_Start_Of_CodeBlock_CS"), p0); } /// /// 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 { return 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) { return 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 { return 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() { return GetString("ParseError_Unterminated_String_Literal"); } /// /// @section Header { ... } /// internal static string SectionExample_CS { get { return GetString("SectionExample_CS"); } } /// /// @section Header { ... } /// internal static string FormatSectionExample_CS() { return GetString("SectionExample_CS"); } /// /// "<text>" and "</text>" tags cannot contain attributes. /// internal static string ParseError_TextTagCannotContainAttributes { get { return GetString("ParseError_TextTagCannotContainAttributes"); } } /// /// "<text>" and "</text>" tags cannot contain attributes. /// internal static string FormatParseError_TextTagCannotContainAttributes() { return GetString("ParseError_TextTagCannotContainAttributes"); } /// /// 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 { return 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() { return GetString("ParseError_Unexpected_WhiteSpace_At_Start_Of_CodeBlock_CS"); } /// /// 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 { return 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() { return GetString("ParseError_InheritsKeyword_Must_Be_Followed_By_TypeName"); } /// /// 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 { return 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() { return 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 { return 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() { return GetString("ParseError_RazorComment_Not_Terminated"); } /// /// "{0}" character /// internal static string ErrorComponent_Character { get { return GetString("ErrorComponent_Character"); } } /// /// "{0}" character /// internal static string FormatErrorComponent_Character(object p0) { return string.Format(CultureInfo.CurrentCulture, GetString("ErrorComponent_Character"), p0); } /// /// end of file /// internal static string ErrorComponent_EndOfFile { get { return GetString("ErrorComponent_EndOfFile"); } } /// /// end of file /// internal static string FormatErrorComponent_EndOfFile() { return GetString("ErrorComponent_EndOfFile"); } /// /// space or line break /// internal static string ErrorComponent_Whitespace { get { return GetString("ErrorComponent_Whitespace"); } } /// /// space or line break /// internal static string FormatErrorComponent_Whitespace() { return GetString("ErrorComponent_Whitespace"); } /// /// 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 { return 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() { return GetString("ParseError_Unexpected_EndOfFile_At_Start_Of_CodeBlock"); } /// /// The {0} property of the {1} structure cannot be null. /// internal static string Structure_Member_CannotBeNull { get { return GetString("Structure_Member_CannotBeNull"); } } /// /// The {0} property of the {1} structure cannot be null. /// internal static string FormatStructure_Member_CannotBeNull(object p0, object p1) { return string.Format(CultureInfo.CurrentCulture, GetString("Structure_Member_CannotBeNull"), p0, p1); } /// /// 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 { return 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() { return GetString("Parser_Context_Not_Set"); } /// /// "{0}" is a reserved word and cannot be used in implicit expressions. An explicit expression ("@()") must be used. /// internal static string ParseError_ReservedWord { get { return 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) { return string.Format(CultureInfo.CurrentCulture, GetString("ParseError_ReservedWord"), p0); } /// /// Cannot resume this symbol. Only the symbol immediately preceding the current one can be resumed. /// internal static string Tokenizer_CannotResumeSymbolUnlessIsPrevious { get { return GetString("Tokenizer_CannotResumeSymbolUnlessIsPrevious"); } } /// /// Cannot resume this symbol. Only the symbol immediately preceding the current one can be resumed. /// internal static string FormatTokenizer_CannotResumeSymbolUnlessIsPrevious() { return GetString("Tokenizer_CannotResumeSymbolUnlessIsPrevious"); } /// /// Cannot finish span, there is no current block. Call StartBlock at least once before finishing a span /// internal static string ParserContext_NoCurrentBlock { get { return 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() { return GetString("ParserContext_NoCurrentBlock"); } /// /// Cannot complete the tree, there are still open blocks. /// internal static string ParserContext_CannotCompleteTree_OutstandingBlocks { get { return GetString("ParserContext_CannotCompleteTree_OutstandingBlocks"); } } /// /// Cannot complete the tree, there are still open blocks. /// internal static string FormatParserContext_CannotCompleteTree_OutstandingBlocks() { return GetString("ParserContext_CannotCompleteTree_OutstandingBlocks"); } /// /// Cannot complete the tree, StartBlock must be called at least once. /// internal static string ParserContext_CannotCompleteTree_NoRootBlock { get { return GetString("ParserContext_CannotCompleteTree_NoRootBlock"); } } /// /// Cannot complete the tree, StartBlock must be called at least once. /// internal static string FormatParserContext_CannotCompleteTree_NoRootBlock() { return GetString("ParserContext_CannotCompleteTree_NoRootBlock"); } /// /// 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 { return 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() { return GetString("ParserContext_ParseComplete"); } /// /// Block cannot be built because a Type has not been specified in the BlockBuilder /// internal static string Block_Type_Not_Specified { get { return 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() { return GetString("Block_Type_Not_Specified"); } /// /// <<character literal>> /// internal static string CSharpSymbol_CharacterLiteral { get { return GetString("CSharpSymbol_CharacterLiteral"); } } /// /// <<character literal>> /// internal static string FormatCSharpSymbol_CharacterLiteral() { return GetString("CSharpSymbol_CharacterLiteral"); } /// /// <<comment>> /// internal static string CSharpSymbol_Comment { get { return GetString("CSharpSymbol_Comment"); } } /// /// <<comment>> /// internal static string FormatCSharpSymbol_Comment() { return GetString("CSharpSymbol_Comment"); } /// /// <<identifier>> /// internal static string CSharpSymbol_Identifier { get { return GetString("CSharpSymbol_Identifier"); } } /// /// <<identifier>> /// internal static string FormatCSharpSymbol_Identifier() { return GetString("CSharpSymbol_Identifier"); } /// /// <<integer literal>> /// internal static string CSharpSymbol_IntegerLiteral { get { return GetString("CSharpSymbol_IntegerLiteral"); } } /// /// <<integer literal>> /// internal static string FormatCSharpSymbol_IntegerLiteral() { return GetString("CSharpSymbol_IntegerLiteral"); } /// /// <<keyword>> /// internal static string CSharpSymbol_Keyword { get { return GetString("CSharpSymbol_Keyword"); } } /// /// <<keyword>> /// internal static string FormatCSharpSymbol_Keyword() { return GetString("CSharpSymbol_Keyword"); } /// /// <<newline sequence>> /// internal static string CSharpSymbol_Newline { get { return GetString("CSharpSymbol_Newline"); } } /// /// <<newline sequence>> /// internal static string FormatCSharpSymbol_Newline() { return GetString("CSharpSymbol_Newline"); } /// /// <<real literal>> /// internal static string CSharpSymbol_RealLiteral { get { return GetString("CSharpSymbol_RealLiteral"); } } /// /// <<real literal>> /// internal static string FormatCSharpSymbol_RealLiteral() { return GetString("CSharpSymbol_RealLiteral"); } /// /// <<string literal>> /// internal static string CSharpSymbol_StringLiteral { get { return GetString("CSharpSymbol_StringLiteral"); } } /// /// <<string literal>> /// internal static string FormatCSharpSymbol_StringLiteral() { return GetString("CSharpSymbol_StringLiteral"); } /// /// <<white space>> /// internal static string CSharpSymbol_Whitespace { get { return GetString("CSharpSymbol_Whitespace"); } } /// /// <<white space>> /// internal static string FormatCSharpSymbol_Whitespace() { return GetString("CSharpSymbol_Whitespace"); } /// /// <<unknown>> /// internal static string Symbol_Unknown { get { return GetString("Symbol_Unknown"); } } /// /// <<unknown>> /// internal static string FormatSymbol_Unknown() { return GetString("Symbol_Unknown"); } /// /// 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 { return 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) { return string.Format(CultureInfo.CurrentCulture, GetString("TokenizerView_CannotPutBack"), p0, p1); } /// /// 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 { return 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() { return GetString("ParseError_Unexpected_Nested_CodeBlock"); } /// /// line break /// internal static string ErrorComponent_Newline { get { return GetString("ErrorComponent_Newline"); } } /// /// line break /// internal static string FormatErrorComponent_Newline() { return GetString("ErrorComponent_Newline"); } /// /// <<newline sequence>> /// internal static string HtmlSymbol_NewLine { get { return GetString("HtmlSymbol_NewLine"); } } /// /// <<newline sequence>> /// internal static string FormatHtmlSymbol_NewLine() { return GetString("HtmlSymbol_NewLine"); } /// /// <<razor comment>> /// internal static string HtmlSymbol_RazorComment { get { return GetString("HtmlSymbol_RazorComment"); } } /// /// <<razor comment>> /// internal static string FormatHtmlSymbol_RazorComment() { return GetString("HtmlSymbol_RazorComment"); } /// /// <<text>> /// internal static string HtmlSymbol_Text { get { return GetString("HtmlSymbol_Text"); } } /// /// <<text>> /// internal static string FormatHtmlSymbol_Text() { return GetString("HtmlSymbol_Text"); } /// /// <<white space>> /// internal static string HtmlSymbol_WhiteSpace { get { return GetString("HtmlSymbol_WhiteSpace"); } } /// /// <<white space>> /// internal static string FormatHtmlSymbol_WhiteSpace() { return GetString("HtmlSymbol_WhiteSpace"); } /// /// The parser provided to the ParserContext was not a Markup Parser. /// internal static string ParserIsNotAMarkupParser { get { return GetString("ParserIsNotAMarkupParser"); } } /// /// The parser provided to the ParserContext was not a Markup Parser. /// internal static string FormatParserIsNotAMarkupParser() { return GetString("ParserIsNotAMarkupParser"); } /// /// 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 { return 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() { return GetString("Language_Does_Not_Support_RazorComment"); } /// /// [BG][{0}] Shutdown /// internal static string Trace_BackgroundThreadShutdown { get { return GetString("Trace_BackgroundThreadShutdown"); } } /// /// [BG][{0}] Shutdown /// internal static string FormatTrace_BackgroundThreadShutdown(object p0) { return string.Format(CultureInfo.CurrentCulture, GetString("Trace_BackgroundThreadShutdown"), p0); } /// /// [BG][{0}] Startup /// internal static string Trace_BackgroundThreadStart { get { return GetString("Trace_BackgroundThreadStart"); } } /// /// [BG][{0}] Startup /// internal static string FormatTrace_BackgroundThreadStart(object p0) { return string.Format(CultureInfo.CurrentCulture, GetString("Trace_BackgroundThreadStart"), p0); } /// /// [BG][{0}] {1} changes arrived /// internal static string Trace_ChangesArrived { get { return GetString("Trace_ChangesArrived"); } } /// /// [BG][{0}] {1} changes arrived /// internal static string FormatTrace_ChangesArrived(object p0, object p1) { return string.Format(CultureInfo.CurrentCulture, GetString("Trace_ChangesArrived"), p0, p1); } /// /// [BG][{0}] Discarded {1} changes /// internal static string Trace_ChangesDiscarded { get { return GetString("Trace_ChangesDiscarded"); } } /// /// [BG][{0}] Discarded {1} changes /// internal static string FormatTrace_ChangesDiscarded(object p0, object p1) { return string.Format(CultureInfo.CurrentCulture, GetString("Trace_ChangesDiscarded"), p0, p1); } /// /// [BG][{0}] Collecting {1} discarded changes /// internal static string Trace_CollectedDiscardedChanges { get { return GetString("Trace_CollectedDiscardedChanges"); } } /// /// [BG][{0}] Collecting {1} discarded changes /// internal static string FormatTrace_CollectedDiscardedChanges(object p0, object p1) { return string.Format(CultureInfo.CurrentCulture, GetString("Trace_CollectedDiscardedChanges"), p0, p1); } /// /// Disabled /// internal static string Trace_Disabled { get { return GetString("Trace_Disabled"); } } /// /// Disabled /// internal static string FormatTrace_Disabled() { return GetString("Trace_Disabled"); } /// /// [P][{0}] {3} Change in {2} milliseconds: {1} /// internal static string Trace_EditorProcessedChange { get { return GetString("Trace_EditorProcessedChange"); } } /// /// [P][{0}] {3} Change in {2} milliseconds: {1} /// internal static string FormatTrace_EditorProcessedChange(object p0, object p1, object p2, object p3) { return string.Format(CultureInfo.CurrentCulture, GetString("Trace_EditorProcessedChange"), p0, p1, p2, p3); } /// /// [P][{0}] Received Change: {1} /// internal static string Trace_EditorReceivedChange { get { return GetString("Trace_EditorReceivedChange"); } } /// /// [P][{0}] Received Change: {1} /// internal static string FormatTrace_EditorReceivedChange(object p0, object p1) { return string.Format(CultureInfo.CurrentCulture, GetString("Trace_EditorReceivedChange"), p0, p1); } /// /// Enabled /// internal static string Trace_Enabled { get { return GetString("Trace_Enabled"); } } /// /// Enabled /// internal static string FormatTrace_Enabled() { return GetString("Trace_Enabled"); } /// /// [Razor] {0} /// internal static string Trace_Format { get { return GetString("Trace_Format"); } } /// /// [Razor] {0} /// internal static string FormatTrace_Format(object p0) { return string.Format(CultureInfo.CurrentCulture, GetString("Trace_Format"), p0); } /// /// [BG][{0}] no changes arrived? /// internal static string Trace_NoChangesArrived { get { return GetString("Trace_NoChangesArrived"); } } /// /// [BG][{0}] no changes arrived? /// internal static string FormatTrace_NoChangesArrived(object p0) { return string.Format(CultureInfo.CurrentCulture, GetString("Trace_NoChangesArrived"), p0); } /// /// [BG][{0}] Parse Complete in {1} milliseconds /// internal static string Trace_ParseComplete { get { return GetString("Trace_ParseComplete"); } } /// /// [BG][{0}] Parse Complete in {1} milliseconds /// internal static string FormatTrace_ParseComplete(object p0, object p1) { return string.Format(CultureInfo.CurrentCulture, GetString("Trace_ParseComplete"), p0, p1); } /// /// [M][{0}] Queuing Parse for: {1} /// internal static string Trace_QueuingParse { get { return GetString("Trace_QueuingParse"); } } /// /// [M][{0}] Queuing Parse for: {1} /// internal static string FormatTrace_QueuingParse(object p0, object p1) { return string.Format(CultureInfo.CurrentCulture, GetString("Trace_QueuingParse"), p0, p1); } /// /// [Razor] Editor Tracing {0} /// internal static string Trace_Startup { get { return GetString("Trace_Startup"); } } /// /// [Razor] Editor Tracing {0} /// internal static string FormatTrace_Startup(object p0) { return string.Format(CultureInfo.CurrentCulture, GetString("Trace_Startup"), p0); } /// /// [BG][{0}] Trees Compared in {1} milliseconds. Different = {2} /// internal static string Trace_TreesCompared { get { return GetString("Trace_TreesCompared"); } } /// /// [BG][{0}] Trees Compared in {1} milliseconds. Different = {2} /// internal static string FormatTrace_TreesCompared(object p0, object p1, object p2) { return string.Format(CultureInfo.CurrentCulture, GetString("Trace_TreesCompared"), p0, p1, p2); } /// /// Section blocks ("{0}") cannot be nested. Only one level of section blocks are allowed. /// internal static string ParseError_Sections_Cannot_Be_Nested { get { return 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) { return string.Format(CultureInfo.CurrentCulture, GetString("ParseError_Sections_Cannot_Be_Nested"), p0); } /// /// Tag Helper '{0}'s attributes must have names. /// internal static string TagHelpers_AttributesMustHaveAName { get { return GetString("TagHelpers_AttributesMustHaveAName"); } } /// /// Tag Helper '{0}'s attributes must have names. /// internal static string FormatTagHelpers_AttributesMustHaveAName(object p0) { return 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 { return 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) { return string.Format(CultureInfo.CurrentCulture, GetString("TagHelpers_CannotHaveCSharpInTagDeclaration"), p0); } /// /// Directive '{0}' must have a value. /// internal static string ParseError_DirectiveMustHaveValue { get { return GetString("ParseError_DirectiveMustHaveValue"); } } /// /// Directive '{0}' must have a value. /// internal static string FormatParseError_DirectiveMustHaveValue(object p0) { return string.Format(CultureInfo.CurrentCulture, GetString("ParseError_DirectiveMustHaveValue"), p0); } /// /// 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 { return 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) { return string.Format(CultureInfo.CurrentCulture, GetString("TagHelpersParseTreeRewriter_FoundMalformedTagHelper"), p0); } /// /// Missing close angle for tag helper '{0}'. /// internal static string TagHelpersParseTreeRewriter_MissingCloseAngle { get { return GetString("TagHelpersParseTreeRewriter_MissingCloseAngle"); } } /// /// Missing close angle for tag helper '{0}'. /// internal static string FormatTagHelpersParseTreeRewriter_MissingCloseAngle(object p0) { return string.Format(CultureInfo.CurrentCulture, GetString("TagHelpersParseTreeRewriter_MissingCloseAngle"), p0); } /// /// TagHelper attributes must be well-formed. /// internal static string TagHelperBlockRewriter_TagHelperAttributeListMustBeWellFormed { get { return GetString("TagHelperBlockRewriter_TagHelperAttributeListMustBeWellFormed"); } } /// /// TagHelper attributes must be well-formed. /// internal static string FormatTagHelperBlockRewriter_TagHelperAttributeListMustBeWellFormed() { return GetString("TagHelperBlockRewriter_TagHelperAttributeListMustBeWellFormed"); } /// /// 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 { return 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) { return string.Format(CultureInfo.CurrentCulture, GetString("TagHelperBlockRewriter_IndexerAttributeNameMustIncludeKey"), p0, p1); } /// /// Non-string tag helper attribute values must not be empty. Add an expression to this attribute value. /// internal static string TagHelpers_AttributeExpressionRequired { get { return GetString("TagHelpers_AttributeExpressionRequired"); } } /// /// Non-string tag helper attribute values must not be empty. Add an expression to this attribute value. /// internal static string FormatTagHelpers_AttributeExpressionRequired() { return GetString("TagHelpers_AttributeExpressionRequired"); } /// /// 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 { return 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() { return GetString("TagHelpers_CodeBlocks_NotSupported_InAttributes"); } /// /// @'{0}' directives must not appear in non-string tag helper attribute values. /// internal static string TagHelpers_Directives_NotSupported_InAttributes { get { return GetString("TagHelpers_Directives_NotSupported_InAttributes"); } } /// /// @'{0}' directives must not appear in non-string tag helper attribute values. /// internal static string FormatTagHelpers_Directives_NotSupported_InAttributes(object p0) { return string.Format(CultureInfo.CurrentCulture, GetString("TagHelpers_Directives_NotSupported_InAttributes"), p0); } /// /// 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 { return 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) { return string.Format(CultureInfo.CurrentCulture, GetString("TagHelpers_InlineMarkupBlocks_NotSupported_InAttributes"), p0); } /// /// 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 { return 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) { return string.Format(CultureInfo.CurrentCulture, GetString("RewriterError_EmptyTagHelperBoundAttribute"), p0, p1, p2); } /// /// Cannot perform '{1}' operations on '{0}' instances with different file paths. /// internal static string SourceLocationFilePathDoesNotMatch { get { return GetString("SourceLocationFilePathDoesNotMatch"); } } /// /// Cannot perform '{1}' operations on '{0}' instances with different file paths. /// internal static string FormatSourceLocationFilePathDoesNotMatch(object p0, object p1) { return string.Format(CultureInfo.CurrentCulture, GetString("SourceLocationFilePathDoesNotMatch"), p0, p1); } /// /// Tag helpers '{0}' and '{1}' targeting element '{2}' must not expect different {3} values. /// internal static string TagHelperParseTreeRewriter_InconsistentTagStructure { get { return 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) { return string.Format(CultureInfo.CurrentCulture, GetString("TagHelperParseTreeRewriter_InconsistentTagStructure"), p0, p1, p2, p3); } /// /// Found an end tag (</{0}>) for tag helper '{1}' with tag structure that disallows an end tag ('{2}'). /// internal static string TagHelperParseTreeRewriter_EndTagTagHelperMustNotHaveAnEndTag { get { return 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) { return string.Format(CultureInfo.CurrentCulture, GetString("TagHelperParseTreeRewriter_EndTagTagHelperMustNotHaveAnEndTag"), p0, p1, p2); } /// /// 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 { return 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) { return string.Format(CultureInfo.CurrentCulture, GetString("TagHelperParseTreeRewriter_CannotHaveNonTagContent"), p0, p1); } /// /// 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 { return 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) { return string.Format(CultureInfo.CurrentCulture, GetString("TagHelperParseTreeRewriter_InvalidNestedTag"), p0, p1, p2); } /// /// The {0} directive is not supported. /// internal static string ParseError_HelperDirectiveNotAvailable { get { return GetString("ParseError_HelperDirectiveNotAvailable"); } } /// /// The {0} directive is not supported. /// internal static string FormatParseError_HelperDirectiveNotAvailable(object p0) { return 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 { return GetString("ParseError_IncompleteQuotesAroundDirective"); } } /// /// Optional quote around the directive '{0}' is missing the corresponding opening or closing quote. /// internal static string FormatParseError_IncompleteQuotesAroundDirective(object p0) { return string.Format(CultureInfo.CurrentCulture, GetString("ParseError_IncompleteQuotesAroundDirective"), p0); } 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; } } }