Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/Mono.PEToolkit/build/srcgen/elem-type.xsl')
-rw-r--r--mcs/class/Mono.PEToolkit/build/srcgen/elem-type.xsl36
1 files changed, 36 insertions, 0 deletions
diff --git a/mcs/class/Mono.PEToolkit/build/srcgen/elem-type.xsl b/mcs/class/Mono.PEToolkit/build/srcgen/elem-type.xsl
new file mode 100644
index 00000000000..48493493b79
--- /dev/null
+++ b/mcs/class/Mono.PEToolkit/build/srcgen/elem-type.xsl
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+
+
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:output method="text"/>
+
+
+<xsl:template match="/">// Auto-generated file - DO NOT EDIT!
+// Please edit md-schema.xml or elem-type.xsl if you want to make changes.
+
+using System;
+
+namespace Mono.PEToolkit.Metadata {
+
+<xsl:text><![CDATA[
+ /// <summary>
+ /// Element types.
+ /// </summary>
+ /// <remarks>
+ /// Partition II, 22.1.14 Element Types used in Signatures
+ /// </remarks>
+ public enum ElementType {
+
+]]></xsl:text>
+
+<xsl:for-each select="md-schema/element-types/type">
+<xsl:text>&#9;&#9;</xsl:text><xsl:value-of select="@name"/> = <xsl:value-of select="@value"/>,
+</xsl:for-each>
+ }
+
+}
+</xsl:template>
+
+
+</xsl:stylesheet>