> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class XmlReaderExtension

Namespace: [VM](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/2025-r1/lib/VM)\
Assembly: VM.dll

This class is to represent the xml reader utility.

```csharp theme={null}
public static class XmlReaderExtension
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[XmlReaderExtension](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/2025-r1/lib/VM.XmlReaderExtension.md)

## Methods

### ReadEndElementSafely(XmlReader)

Read end-element, safely.

```csharp theme={null}
public static void ReadEndElementSafely(this XmlReader reader)
```

#### Parameters

`reader` [XmlReader](https://learn.microsoft.com/dotnet/api/system.xml.xmlreader)

The XmlReader stream
