27 references to Create
Microsoft.CodeAnalysis.Razor.Compiler (26)
Language\Components\ComponentDiagnosticFactory.cs (6)
24=> RazorDiagnostic.Create(UnsupportedTagHelperDirective, source); 121=> RazorDiagnostic.Create(PageDirective_MustSpecifyRoute, source); 165=> RazorDiagnostic.Create(DisallowedScriptTag, source); 173=> RazorDiagnostic.Create(TemplateInvalidLocation, source); 286=> RazorDiagnostic.Create(UnsupportedComponentImportContent, source); 426=> RazorDiagnostic.Create(FormName_NotAForm, source);
Language\RazorDiagnosticFactory.cs (20)
37=> RazorDiagnostic.Create(Parsing_UnterminatedStringLiteral, location); 45=> RazorDiagnostic.Create(Parsing_BlockCommentNotTerminated, location); 61=> RazorDiagnostic.Create(Parsing_UnexpectedWhiteSpaceAtStartOfCodeBlock, location); 69=> RazorDiagnostic.Create(Parsing_UnexpectedEndOfFileAtStartOfCodeBlock, location); 101=> RazorDiagnostic.Create(Parsing_SingleLineControlFlowStatementsNotAllowed, location); 109=> RazorDiagnostic.Create(Parsing_AtInCodeMustBeFollowedByColonParenOrIdentifierStart, location); 117=> RazorDiagnostic.Create(Parsing_UnexpectedNestedCodeBlock, location); 205=> RazorDiagnostic.Create(Parsing_MarkupBlockMustStartWithTag, location); 213=> RazorDiagnostic.Create(Parsing_OuterTagMissingName, location); 221=> RazorDiagnostic.Create(Parsing_TextTagCannotContainAttributes, location); 261=> RazorDiagnostic.Create(Parsing_RazorCommentNotTerminated, location); 277=> RazorDiagnostic.Create(Parsing_TagHelperAttributeListMustBeWellFormed, location); 381=> RazorDiagnostic.Create(Parsing_PreprocessorDirectivesMustBeAtTheStartOfLine, location); 389=> RazorDiagnostic.Create(Parsing_PossibleMisplacedPreprocessorDirective, location); 397=> RazorDiagnostic.Create(Parsing_DefineAndUndefNotAllowed, location); 435=> RazorDiagnostic.Create(Parsing_InlineMarkupBlocksCannotBeNested, location); 443=> RazorDiagnostic.Create(Parsing_NamespaceImportAndTypeAliasCannotExistWithinCodeBlock, location); 459=> RazorDiagnostic.Create(TagHelper_CodeBlocksNotSupportedInAttributes, location); 676=> RazorDiagnostic.Create(Rewriter_InsufficientStack, location); 690=> RazorDiagnostic.Create(CssRewriting_ImportNotAllowed, location);
rzc (1)
Json\ObjectReaders.cs (1)
28return RazorDiagnostic.Create(descriptor, span);