Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
public sealed class IntroduceMemberAttribute : Advice
Thetype exposes the following members.
Initializes a new instance of theclass
A human-readable description of the current advice.(Inherited from Advice.)
Determines whether the IsVirtual property has been specified.
Determines whether the introduced member should be virtual.
Reduction in the code lines count achieved by applying the advice instance to one code element.(Inherited from Advice.)
Determines the action to be overtaken when the member to be introduced already exists in the type to which the aspect is applied, or to a base type.
Methods, properties and events annotated withmust be public.
If the method, event or property is in a C# 8.0 nullable annotations context, its nullability information will be copied into the types as well.