NDepend.API Documentation
MergeCodeGeneratedByCompiler Property
NDepend.Project Namespace > IProjectProperties Interface : MergeCodeGeneratedByCompiler Property
Gets or sets a boolean value indicating whether at analysis time, types and methods generated by the C# and VB.NET compilers to handle language constructs like lambda, iterators, anonymous and asynchronous methods, are merged within their declaring methods.
Syntax
bool MergeCodeGeneratedByCompiler {get; set;}
Remarks
The default value is true. In most situations you'll want to avoid having to deal with such generated types and methods.
Anonymous types are not merged since they are explicitly created and used in the source code.
Types created by the Microsoft Code Contract infrastructure are not merged as well.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

IProjectProperties Interface
IProjectProperties Members