blob: b3638b01a42d5de1fb0a37ef5bc83627b1dff8a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace Mono.Linker.Tests.Cases.Expectations.Assertions
{
[AttributeUsage (AttributeTargets.Class | AttributeTargets.Struct, Inherited = false, AllowMultiple = true)]
public class KeptDelegateCacheFieldAttribute : KeptAttribute
{
public KeptDelegateCacheFieldAttribute (string classIndex, string fieldName)
{
if (string.IsNullOrEmpty (classIndex))
throw new ArgumentNullException (nameof (classIndex));
if (string.IsNullOrEmpty (fieldName))
throw new ArgumentNullException (nameof (fieldName));
}
}
}
|