See Also: ResourceExposureAttribute Members
The System.Runtime.Versioning.ResourceConsumptionAttribute attribute must be applied to a member calling a member that has the System.Runtime.Versioning.ResourceExposureAttribute attribute applied. Public members cannot expose ResourceScope.Assembly or ResourceScope.Private resources. Members with ResourceScope.Assembly scope cannot expose ResourceScope.Private resources.
The graph of methods terminates when an System.Runtime.Versioning.ResourceExposureAttribute attribute with a resource scope of ResourceScope.None is applied to a method.