IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
IKVM.Tools.Importer.MapXml.ExceptionBlock Class Referencesealed
Inheritance diagram for IKVM.Tools.Importer.MapXml.ExceptionBlock:
IKVM.Tools.Importer.MapXml.Instruction IKVM.Tools.Importer.MapXml.MapXmlElement

Static Public Member Functions

static new ExceptionBlock Read (XElement element)
 Reads the XML element into a new ExceptionBlock instance.
 
static void Load (ExceptionBlock inst, XElement element)
 Loads the XML element into the instruction.
 
- Static Public Member Functions inherited from IKVM.Tools.Importer.MapXml.Instruction
static Instruction Read (XElement element)
 Reads the XML element into a new InstructionList instance.
 

Properties

InstructionList Try [get, set]
 
CatchBlock Catch [get, set]
 
InstructionList Finally [get, set]
 
- Properties inherited from IKVM.Tools.Importer.MapXml.MapXmlElement
int LineNumber [get, set]
 Gets the line number in the source file where this element occurs.
 
int LinePosition [get, set]
 Gets the line position in the source file where this element occurs.
 

Additional Inherited Members

- Static Protected Member Functions inherited from IKVM.Tools.Importer.MapXml.MapXmlElement
static void Load (MapXmlElement e, XElement element)
 Loads the XML element into the instance.
 
- Package Functions inherited from IKVM.Tools.Importer.MapXml.Instruction

Detailed Description

Definition at line 36 of file ExceptionBlock.cs.

Member Function Documentation

◆ Load()

static void IKVM.Tools.Importer.MapXml.ExceptionBlock.Load ( ExceptionBlock inst,
XElement element )
static

Loads the XML element into the instruction.

Parameters
inst
element

Definition at line 56 of file ExceptionBlock.cs.

57 {
58 Load((Instruction)inst, element);
59 inst.Try = element.Elements(MapXmlSerializer.NS + "try").Select(InstructionList.Read).FirstOrDefault();
60 inst.Catch = element.Elements(MapXmlSerializer.NS + "catch").Select(CatchBlock.Read).FirstOrDefault();
61 inst.Finally = element.Elements(MapXmlSerializer.NS + "finally").Select(InstructionList.Read).FirstOrDefault();
62 }
IKVM.Runtime.ClassFile.Method.Instruction Instruction
Definition compiler.cs:44

◆ Read()

static new ExceptionBlock IKVM.Tools.Importer.MapXml.ExceptionBlock.Read ( XElement element)
static

Reads the XML element into a new ExceptionBlock instance.

Parameters
element
Returns

Definition at line 44 of file ExceptionBlock.cs.

45 {
46 var inst = new ExceptionBlock();
47 Load(inst, element);
48 return inst;
49 }

Property Documentation

◆ Catch

CatchBlock IKVM.Tools.Importer.MapXml.ExceptionBlock.Catch
getset

Definition at line 66 of file ExceptionBlock.cs.

66{ get; set; }

◆ Finally

InstructionList IKVM.Tools.Importer.MapXml.ExceptionBlock.Finally
getset

Definition at line 68 of file ExceptionBlock.cs.

68{ get; set; }

◆ Try

InstructionList IKVM.Tools.Importer.MapXml.ExceptionBlock.Try
getset

Definition at line 64 of file ExceptionBlock.cs.

64{ get; set; }

The documentation for this class was generated from the following file: