C# Class Microsoft.CodeAnalysis.Sarif.Converters.Extensions

Mostra file Open project: Microsoft/sarif-sdk

Private Methods

Method Description
CreateException ( this xmlReader, string message ) : XmlException

Creates an exception with line number and position data from an XmlReader.

CreateRegion ( int startLine ) : Region

Creates a new region with the start line filled out.

IgnoreElement ( this xmlReader, string elementName, IgnoreOptions options ) : void

Asserts that the local name of a given element is the name indicated, and ignores the element's contents.

IsOnElement ( XmlReader xmlReader, string elementName ) : bool
ReadOptionalElementContentAsString ( this xmlReader, string elementName ) : string

An XmlReader extension method that reads optional element's content as string.