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

A Problem element from an Android Studio file.
Mostra file Open project: Microsoft/sarif-sdk Class Usage Examples

Public Properties

Property Type Description
AttributeKey string
Description string
EntryPointName string
EntryPointType string
File string
Hints ImmutableArray
Line int
Module string
Package string
ProblemClass string
Severity string

Public Methods

Method Description
AndroidStudioProblem ( Builder b ) : System

Initializes a new instance of the AndroidStudioProblem class.

Parse ( XmlReader reader, AndroidStudioStrings strings ) : AndroidStudioProblem

Parses a "problem" node from an Android Studio log and consumes that node.

ReadHints ( XmlReader reader, AndroidStudioStrings strings ) : ImmutableArray

Reads a "hints" element, consuming the element.

Private Methods

Method Description
ReadEntryPointElement ( Builder &b, XmlReader reader, AndroidStudioStrings strings ) : void
ReadProblemClassElement ( Builder &b, XmlReader reader, AndroidStudioStrings strings ) : void

Method Details

AndroidStudioProblem() public method

Initializes a new instance of the AndroidStudioProblem class.
Thrown when one or more arguments have unsupported or /// illegal values.
public AndroidStudioProblem ( Builder b ) : System
b Builder The from which the problem shall be constructed.
return System

Parse() public static method

Parses a "problem" node from an Android Studio log and consumes that node.
Thrown when the Android Studio file is incorrect.
public static Parse ( XmlReader reader, AndroidStudioStrings strings ) : AndroidStudioProblem
reader System.Xml.XmlReader The reader from which the problem shall be parsed.
strings AndroidStudioStrings NameTable strings used to parse Android Studio files.
return AndroidStudioProblem

ReadHints() public static method

Reads a "hints" element, consuming the element.
Thrown when the Android Studio file is incorrect.
public static ReadHints ( XmlReader reader, AndroidStudioStrings strings ) : ImmutableArray
reader System.Xml.XmlReader The reader from which the hints shall be parsed.
strings AndroidStudioStrings NameTable strings used to parse Android Studio files.
return ImmutableArray

Property Details

AttributeKey public_oe property

The attribute key. (Not entirely sure what this is at the moment)
public string AttributeKey
return string

Description public_oe property

The user-readable description.
public string Description
return string

EntryPointName public_oe property

Fully qualified name of the entry point.
public string EntryPointName
return string

EntryPointType public_oe property

Type of the entry point.
public string EntryPointType
return string

File public_oe property

The file in which the problem occurs.
public string File
return string

Hints public_oe property

The hint values reported.
public ImmutableArray Hints
return ImmutableArray

Line public_oe property

The line on which the problem occurs in P:File if known; otherwise, 0.
public int Line
return int

Module public_oe property

The module in which the problem occurs.
public string Module
return string

Package public_oe property

The package in which the problem occurs.
public string Package
return string

ProblemClass public_oe property

The problem class; that is, the kind of problem.
public string ProblemClass
return string

Severity public_oe property

The severity of the problem type.
public string Severity
return string