MetalamaAPI documentationExtensions APIMetalama.​Extensions.​MetricsSyntax­Nodes­Count
Open sandboxFocus

SyntaxNodesCount Struct

A metric that counts the number of syntax nodes in a declaration.

Namespace: Metalama.Extensions.Metrics
Assembly: Metalama.Extensions.Metrics.dll
Syntax
public struct SyntaxNodesCount : IMetric<IMethodBase>, IMetric<INamedType>, IMetric<INamespace>, IMetric<ICompilation>, IMetric

Properties

Name Description
Value

Gets the total number of statements.

Methods

Name Description
ToString()