-
Notifications
You must be signed in to change notification settings - Fork 2
Multi Targeting
Kieron Lanning edited this page Feb 19, 2025
·
5 revisions
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.
Important
Consider helping children around the world affected by conflict. You can donate any amount to War Child here - any amount can help save a life.