System.Xml.Serialization.XmlSerializationReader.CreateInaccessibleConstructorException C# (CSharp) Method

CreateInaccessibleConstructorException() protected method

protected CreateInaccessibleConstructorException ( string typeName ) : Exception
typeName string
return Exception
        protected Exception CreateInaccessibleConstructorException(string typeName)
        {
            return new InvalidOperationException(SR.Format(SR.XmlConstructorInaccessible, typeName));
        }