blob: 0eb9542d2098d5d6acd232288668b2d70a73b64a (
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
|
using System;
using Mono.Linker.Tests.Cases.Expectations.Assertions;
namespace Mono.Linker.Tests.Cases.LinkXml
{
[KeptMember (".ctor()")]
class CanPreserveTypesUsingRegex {
public static void Main () {
}
[Kept]
void UnusedHelper () {
}
[Kept]
[KeptMember (".ctor()")]
class Bar {
}
}
}
namespace Mono.Linker.Tests.Cases.LinkXml.PreserveNamespace {
[Kept]
[KeptMember (".ctor()")]
class Type1 {
}
[Kept]
[KeptMember (".ctor()")]
class Type2 {
}
}
|