Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ public static RazorDiagnostic Create_UnsupportedTagHelperDirective(SourceSpan? s

public static readonly RazorDiagnosticDescriptor CodeBlockInAttribute =
new($"{DiagnosticPrefix}9979",
"Code blocks delimited by '@{{...}}' like '@{{ {0} }}' for attributes are no longer supported. " +
"Code blocks delimited by '@{{...}}' like '@{{{0}}}' for attributes are no longer supported. " +
"These features have been changed to use attribute syntax. " +
"Use 'attr=\"@(x => {{... }}\"'.",
"Use 'attr=\"@(x => {{...}}\"'.",
RazorDiagnosticSeverity.Error);

public static RazorDiagnostic Create_CodeBlockInAttribute(SourceSpan? source, string expression)
Expand Down
Loading