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

CreateReflectionException() private method

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