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

CreateTypeReflectionException() private method

private CreateTypeReflectionException ( string context, Exception e ) : Exception
context string
e System.Exception
return System.Exception
        private Exception CreateTypeReflectionException(string context, Exception e)
        {
            return new InvalidOperationException(SR.Format(SR.XmlTypeReflectionError, context), e);
        }