Method CannotBeUsedFrom
CannotBeUsedFrom(IVerifier<IDeclaration>, Func<ReferencePredicateBuilder, ReferencePredicate>, String, ReferenceKinds)
Reports a warning when any type in the current scope is used from the context matching the specified predicate.
Declaration
public static void CannotBeUsedFrom(this IVerifier<IDeclaration> verifier, Func<ReferencePredicateBuilder, ReferencePredicate> scope, string description = null, ReferenceKinds referenceKinds)
Parameters
Type | Name | Description |
---|---|---|
IVerifier<IDeclaration> | verifier | |
Func<ReferencePredicateBuilder, ReferencePredicate> | scope | |
String | description | |
ReferenceKinds | referenceKinds |