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; }
}

Similar 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>");
}

PascalABC.NET

V3110 Possible infinite recursion inside 'SetRange' method. TreeConverter SymbolInfoArrayList.cs 439


public void SetRange(int index,SymbolInfo[] tnarr)
{
  SetRange(index,tnarr);
}

public void SetRange(int index,SymbolInfoArrayList tnarl)
{
  SetRange(index,tnarl);
}

Similar errors can be found in some other places:

  • V3110 Possible infinite recursion inside 'SetRange' method. TreeConverter SymbolInfoArrayList.cs 444
  • V3110 Possible infinite recursion inside 'node_kind' property. TreeConverter functions.cs 2528
  • V3110 Possible infinite recursion inside 'node_location_kind' property. TreeConverter functions.cs 2590
  • And 3 additional diagnostic messages.

FastReport

V3110 Possible infinite recursion inside 'ParagraphFormat' property. TextObject.cs 281


public ParagraphFormat ParagraphFormat
{
  get { return paragraphFormat; }
  set { ParagraphFormat = value; }
}


Bugs Found

Checked Projects
334
Collected Errors
12 668