IValidatorReceiver<TDeclaration>.ValidateReferences Method
Registers a reference validator, provided by a delegate that provides an instance of the ReferenceValidator abstract class.
The reference validator will be invoked to validate references to any declaration in the current set. Only source code references
are validated. References added by aspects are ignored by design.
Declaration
void ValidateReferences<TValidator>(Func<TDeclaration, TValidator> validator)
where TValidator : ReferenceValidator
Parameters
Type |
Name |
Description |
System.Func<TDeclaration, TValidator> |
validator |
|
Type Parameters
Name |
Description |
TValidator |
|