MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / csharp-member-initializers.test.ts

File csharp-member-initializers.test.ts

__tests__/csharp-member-initializers.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * C# field and property initializers belong to the member they initialize.
3 * `private readonly ILogger _log = LogManager.GetLogger(typeof(X));` and
4 * `public List<Foo> Items { get; } = new List<Foo>();` used to be skipped by

Callers

nothing calls this directly

Calls 6

describeFunction · 0.85
targetsFunction · 0.70
memberFunction · 0.70
closeMethod · 0.65
joinMethod · 0.45
initMethod · 0.45

Tested by

no test coverage detected