diff options
Diffstat (limited to 'test/Mono.Linker.Tests.Cases.Expectations/Assertions/RemovedAttributeInAssembly.cs')
-rw-r--r-- | test/Mono.Linker.Tests.Cases.Expectations/Assertions/RemovedAttributeInAssembly.cs | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/test/Mono.Linker.Tests.Cases.Expectations/Assertions/RemovedAttributeInAssembly.cs b/test/Mono.Linker.Tests.Cases.Expectations/Assertions/RemovedAttributeInAssembly.cs new file mode 100644 index 000000000..b418357ad --- /dev/null +++ b/test/Mono.Linker.Tests.Cases.Expectations/Assertions/RemovedAttributeInAssembly.cs @@ -0,0 +1,66 @@ +using System; + +namespace Mono.Linker.Tests.Cases.Expectations.Assertions { + [AttributeUsage (AttributeTargets.Class, AllowMultiple = true, Inherited = false)] + public class RemovedAttributeInAssembly : BaseInAssemblyAttribute { + /// <summary> + /// Asserts a CustomAttribute was kept on an assembly + /// </summary> + /// <param name="assemblyName"></param> + /// <param name="attributeTypeName"></param> + public RemovedAttributeInAssembly (string assemblyName, string attributeTypeName) + { + } + + /// <summary> + /// Asserts a CustomAttribute was kept on an assembly + /// </summary> + /// <param name="assemblyName"></param> + /// <param name="attributeType"></param> + public RemovedAttributeInAssembly (string assemblyName, Type attributeType) + { + } + + /// <summary> + /// Asserts a CustomAttribute was kept on a specific type + /// </summary> + /// <param name="assemblyName"></param> + /// <param name="attributeTypeName"></param> + /// <param name="onType"></param> + public RemovedAttributeInAssembly (string assemblyName, string attributeTypeName, string onType) + { + } + + /// <summary> + /// Asserts a CustomAttribute was kept on a specific type + /// </summary> + /// <param name="assemblyName"></param> + /// <param name="attributeType"></param> + /// <param name="onType"></param> + public RemovedAttributeInAssembly (string assemblyName, Type attributeType, Type onType) + { + } + + /// <summary> + /// Asserts a CustomAttribute was kept on a member in a specific type + /// </summary> + /// <param name="assemblyName"></param> + /// <param name="attributeTypeName"></param> + /// <param name="onType"></param> + /// <param name="member"></param> + public RemovedAttributeInAssembly (string assemblyName, string attributeTypeName, string onType, string member) + { + } + + /// <summary> + /// Asserts a CustomAttribute was kept on a member in a specific type + /// </summary> + /// <param name="assemblyName"></param> + /// <param name="attributeType"></param> + /// <param name="onType"></param> + /// <param name="member"></param> + public RemovedAttributeInAssembly (string assemblyName, Type attributeType, Type onType, string member) + { + } + } +}
\ No newline at end of file |