System.Xml.Serialization.XmlReflectionImporter.InvalidAttributeUseException C# (CSharp) Method

InvalidAttributeUseException() private static method

private static InvalidAttributeUseException ( Type type ) : Exception
type System.Type
return System.Exception
        private static Exception InvalidAttributeUseException(Type type)
        {
            return new InvalidOperationException(SR.Format(SR.XmlInvalidAttributeUse, type.FullName));
        }