MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeIMember­Or­Named­TypeIs­New
Open sandboxFocus

IMemberOrNamedType.IsNew Property

IsNew

Gets a value indicating whether the member hides another member defined in base types. When true, this is equivalent to new keyword being expected in the source code although this property will return true even when the new keyword is not present but expected.

Declaration
bool IsNew { get; }
Property Value
Type Description
System.Boolean