AspectSharp.Lang.Steps.Types.PruneTypesStep.AssertIsInterceptor C# (CSharp) Method

AssertIsInterceptor() private method

private AssertIsInterceptor ( LexicalInfo info, Type type, String message ) : void
info AspectSharp.Lang.AST.LexicalInfo
type System.Type
message String
return void
		private void AssertIsInterceptor(LexicalInfo info, Type type, String message)
		{
			if (!typeof (IInterceptor).IsAssignableFrom(type))
			{
				Context.RaiseErrorEvent(info, message);
			}
		}
	}