File: System\Runtime\Serialization\Configuration\DeclaredTypeValidatorAttribute.cs
Project: ndp\cdf\src\WCF\Serialization\System.Runtime.Serialization.csproj (System.Runtime.Serialization)
//------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation.  All rights reserved.
//------------------------------------------------------------------------------
 
namespace System.Runtime.Serialization.Configuration
{
    using System;
    using System.Configuration;
 
    [AttributeUsage(AttributeTargets.Property)]
    internal sealed class DeclaredTypeValidatorAttribute : ConfigurationValidatorAttribute
    {
        public override ConfigurationValidatorBase ValidatorInstance
        {
            get { return new DeclaredTypeValidator(); }
        }
    }
}