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

LinkAttributeErrorCases.xml « LinkAttributes « Mono.Linker.Tests.Cases « test - github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8471864ed77aef9818f335be8163cb301423665a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0" encoding="utf-8" ?>
<linker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../src/ILLink.Shared/ILLink.LinkAttributes.xsd">
  <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
    <type fullname="Mono.Linker.Tests.Cases.LinkAttributes.LinkAttributeErrorCases">
      <!-- IL2030 -->
      <attribute fullname="AttributeTypeName" assembly="NonExistentAssembly1"/>
      <attribute fullname="AttributeTypeName" assembly="MalformedAssemblyName, thisiswrong"/>
      
      <!-- IL2031 -->
      <attribute fullname="NonExistentAttribute"/>

      <!-- IL2022 -->
      <attribute fullname="Mono.Linker.Tests.Cases.LinkAttributes.LinkAttributeErrorCases/AttributeWithNoParametersAttribute">
        <argument>ExtraArgumentValue</argument>
      </attribute>

      <!-- IL2054 -->
      <attribute fullname="Mono.Linker.Tests.Cases.LinkAttributes.LinkAttributeErrorCases/AttributeWithEnumParameterAttribute">
        <argument>NonExistentEnumValue</argument>
      </attribute>

      <!-- IL2054 -->
      <attribute fullname="Mono.Linker.Tests.Cases.LinkAttributes.LinkAttributeErrorCases/AttributeWithIntParameterAttribute">
        <argument>NotANumber</argument>
      </attribute>

      <!-- IL2051 -->
      <attribute fullname="Mono.Linker.Tests.Cases.LinkAttributes.LinkAttributeErrorCases/AttributeWithPropertyAttribute">
        <property>StringValue</property>
      </attribute>

      <!-- IL2052 -->
      <attribute fullname="Mono.Linker.Tests.Cases.LinkAttributes.LinkAttributeErrorCases/AttributeWithPropertyAttribute">
        <property name="NonExistentPropertyName">StringValue</property>
      </attribute>

      <!-- IL2052 -->
      <attribute fullname="Mono.Linker.Tests.Cases.LinkAttributes.LinkAttributeErrorCases/AttributeWithPropertyAttribute">
        <property name="IntProperty">StringValue</property>
      </attribute>

      <!-- IL2023 -->
      <method name="GetTypeMethod">
        <return>
          <attribute fullname="Mono.Linker.Tests.Cases.LinkAttributes.LinkAttributeErrorCases/FirstAttribute" />
        </return>
        <return>
          <attribute fullname="Mono.Linker.Tests.Cases.LinkAttributes.LinkAttributeErrorCases/SecondAttribute" />
        </return>
      </method>

      <!-- IL2024 -->
      <method name="MethodWithParameter">
        <parameter name="methodParameter">
          <attribute fullname="Mono.Linker.Tests.Cases.LinkAttributes.LinkAttributeErrorCases/FirstAttribute" />
        </parameter>
        <parameter name="methodParameter">
          <attribute fullname="Mono.Linker.Tests.Cases.LinkAttributes.LinkAttributeErrorCases/SecondAttribute" />
        </parameter>
      </method>
    </type>

    <!-- IL2029 -->
    <attribute/>
    <attribute fullname=""/>
  </assembly>
  <assembly fullname="NonExistentAssembly2" />
</linker>