You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kieron Lanning edited this page Feb 19, 2025
·
7 revisions
Basics
You may also specify a combination of activity, logging, or metric target generation on a single interface. However, inferring method usage is disabled when one or more targets exist.
This means each method must be explicitly marked with a single generation target attribute.
Generation does not support multiple targets on a method. A log method, for example, may not also be an activity or metric target.
Multiple targets will generate the TSG1002 diagnostic, and a method that does not contain a any generation target attribute, or the excluded attribute will result in the TSG1001 diagnostic.