Specifies what an IntroduceFieldAdviceInstance does when a member of the target type has the requested name but is not a compatible field, for instance a property, a method, or a field of another type or static kind.
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
public enum IntroduceFieldIncompatibleActionRemarks
This applies only to a request that has a Name: a request without a name finds fields by their type, and its new field gets a generated name that cannot conflict with another member.
Fields
| Name | Description |
|---|---|
| Fail | The build fails with the error LA0272. |
| IntroduceAnother | A new field is introduced with the requested name followed by a number that makes it unique in the type, such as |