Examples of errors detected by the V3110 diagnostic

V3110. Possible infinite recursion.


Orchard CMS

V3110 Possible infinite recursion inside 'ReturnTypeCustomAttributes' property. ContentItemAlteration.cs 121


public override ICustomAttributeProvider
  ReturnTypeCustomAttributes
{
  get { return ReturnTypeCustomAttributes; }
}

Identical errors can be found in some other places:

  • V3110 Possible infinite recursion inside 'IsDefined' method. ContentItemAlteration.cs 101

Umbraco

V3110 Possible infinite recursion inside 'Render' method. MenuSplitButton.cs 30


protected override void
Render(System.Web.UI.HtmlTextWriter writer)
{
  writer.Write("</div>");
  base.Render(writer);
  this.Render(writer);
  writer.Write("<div class='btn-group>");
}


Do you make errors in the code?

Check your code
with PVS-Studio

Static code analysis
for C, C++ and C#

goto PVS-Studio;