IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
InstructionAttribute.cs
Go to the documentation of this file.
1using System;
2
4{
5
9 [AttributeUsage(AttributeTargets.Class)]
11 {
12
13 readonly string elementName;
14
20 public InstructionAttribute(string elementName)
21 {
22 this.elementName = elementName ?? throw new ArgumentNullException(nameof(elementName));
23 }
24
28 public string ElementName => elementName;
29
30 }
31
32}
string ElementName
Gets the name of the XML element corresponding to the instruction.
InstructionAttribute(string elementName)
Initializes a new instance.