Open sandboxFocus

Property Granularity

Granularity

Gets level of declarations at which the analysis should be performed. For instance, if the ValidateReferences(ReferenceValidationContext) method only depends on the namespace of the referencing syntax (as opposed to its declaring member or type), then Granularity should be set to Namespace, and ValidateReferences(ReferenceValidationContext) will be invoked a single time per namespace.

Declaration
public override ReferenceGranularity Granularity { get; }
Property Value
Type Description
ReferenceGranularity
Overrides