Verifies that the attribute is being used correctly.

Namespace:  MbUnit.Framework
Assembly:  MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
protected override void Validate(
	IPatternScope containingScope,
	IMethodInfo method
)
Visual Basic (Declaration)
Protected Overrides Sub Validate ( _
	containingScope As IPatternScope, _
	method As IMethodInfo _
)

Parameters

containingScope
Type: Gallio.Framework.Pattern..::.IPatternScope
The containing scope.
method
Type: Gallio.Common.Reflection..::.IMethodInfo
The method.

Exceptions

ExceptionCondition
Gallio.Framework.Pattern..::.PatternUsageErrorExceptionThrown if the attribute is being used incorrectly.

See Also