Our website uses cookies to enhance your browsing experience.
Accept
to the top
>
>
>
Examples of errors detected by the...

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

AWS SDK for .NET

V3110 [CWE-674] Possible infinite recursion inside 'OnFailure' property. AWSSDK.ElasticMapReduce.Net45 ResizeJobFlowStep.cs 171


OnFailure? onFailure = null;
....
public OnFailure? OnFailure
{
  get { return  this.OnFailure; }  // <=
  set { this.onFailure = value; }
}

AWS SDK for .NET

V3110 [CWE-674] Possible infinite recursion inside 'SSES3' property. AWSSDK.S3.Net45 InventoryEncryption.cs 37


private SSES3 sSES3;
....
public SSES3 SSES3
{
  get { return this.SSES3; }
  set { this.SSES3 = value; }
}

.NET Core Libraries (CoreFX)

V3110 Possible infinite recursion inside 'WriteValue' method. XmlAttributeCache.cs 166


public override void WriteValue(string value)
{
  WriteValue(value);
}

Orchard CMS

V3110 Possible infinite recursion inside 'TryValidateModel' method. PrefixedModuleUpdater.cs 48


public bool TryValidateModel(object model, string prefix)
{
  return TryValidateModel(model, Prefix(prefix));
}

ScottPlot

V3110 Possible infinite recursion inside 'BackAngleSweep' property. ScottPlot RadialGauge.cs 45


internal double BackAngleSweep
{
  get
  {
    double maxBackAngle = CircularBackground ? 360 : MaximumSizeAngle;
    if (!Clockwise) maxBackAngle = -maxBackAngle;
    return maxBackAngle;
  }

  private set { BackAngleSweep = value; }      // <=
}