void ISerializerGeneratorConfiguration.Validate()
{
if ( this.AssemblyName == null )
{
throw new InvalidOperationException( "AssemblyName property is required." );
}
try
{
// ReSharper disable ReturnValueOfPureMethodIsNotUsed
Path.GetFullPath( "." + Path.DirectorySeparatorChar + this.AssemblyName.Name );
// ReSharper restore ReturnValueOfPureMethodIsNotUsed
}
catch ( ArgumentException ex )
{
throw CreateValidationError( ex );
}
catch ( NotSupportedException ex )
{
throw CreateValidationError( ex );
}
}