NDepend.API Documentation
IsPropertyInit Property
NDepend.CodeModel Namespace > IMethod Interface : IsPropertyInit Property
Gets a value indicating whether this method is a property initializer defined with the C# keyword init.
Syntax
bool IsPropertyInit {get;}
Remarks
Notice that if this value is true IMethod.IsPropertySetter is also true.
Requirements

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

See Also

Reference

IMethod Interface
IMethod Members