Uploaded image for project: 'SonarHTML'
  1. SonarHTML
  2. SONARHTML-119

FP UnclosedTagCheck: generic type model in cshtml

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3
    • Component/s: Rules
    • Labels:

      Description

      False positive for rule UnclosedTagCheck (RSPEC-1458) is on first line, as <Namespace.Model> is wrongly considered as a tag, while it's a generic type of cshtml.

      See Razor syntax.

      @model List<Namespace.Model>
      <div>
      </div>
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              quentin.jaquier Quentin Jaquier
              Reporter:
              elena.vilchik Elena Vilchik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: