Click or drag to resize

XmlUtils.FixUpXmlExceptionFromSource Method

Fixes up XML exception with real xml from the source represented by streamReader. It reads 10 lines max around the line number in the exception.

Namespace:  SD.LLBLGen.Pro.Core.Xml
Assembly:  SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public static void FixUpXmlExceptionFromSource(
	Exception ex,
	StreamReader streamReader
)

Parameters

ex
Type: System.Exception
The ex.
streamReader
Type: System.IO.StreamReader
The stream reader.
See Also