Open sandboxFocus

Method IsWellKnownGeneratedDeclaration

IsWellKnownGeneratedDeclaration(IMember)

Returns whether the given declaration is a member marked for generation by a source generator and should not be overridden by Metalama.

Declaration
bool IsWellKnownGeneratedDeclaration(IMember member)
Parameters
Type Name Description
IMember member
Returns
Type Description
bool
Remarks

This checks that the declaration is a partial member with one of a list of known source generator attributes applied.