From e5aef3587d1b49de25aab844836b07a92e9cc958 Mon Sep 17 00:00:00 2001 From: Chidozie Ononiwu Date: Wed, 18 Sep 2024 00:56:20 -0700 Subject: [PATCH] Remove unused directory --- src/dotnet/APIView/TestLibrary/TestClass.cs | 252 ------------------ .../APIView/TestLibrary/TestLibrary.csproj | 17 -- 2 files changed, 269 deletions(-) delete mode 100644 src/dotnet/APIView/TestLibrary/TestClass.cs delete mode 100644 src/dotnet/APIView/TestLibrary/TestLibrary.csproj diff --git a/src/dotnet/APIView/TestLibrary/TestClass.cs b/src/dotnet/APIView/TestLibrary/TestClass.cs deleted file mode 100644 index 9a87650d707..00000000000 --- a/src/dotnet/APIView/TestLibrary/TestClass.cs +++ /dev/null @@ -1,252 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Diagnostics; -using System.Reflection.Metadata; -using System.Security; -using System.Threading.Tasks; - -namespace TestLibrary -{ - public delegate int publicDelegate(int num = 10); - - public struct PublicStruct - { - public PublicStruct(int x, int y) - { - - } - } - - public class PublicClass - { - public enum PublicEnum - { - One, Two, Three - } - - public readonly int publicField = 1; - public const string publicString = "constant string"; - private int privateField; - protected int protectedField; - internal int internalField; - protected internal int protectedInternalField; - private protected int privateProtectedField; - - public uint propertyGet { get; } - public int propertyBoth { get; set; } - private bool privateProperty { get; } - protected object protectedProperty { get; set; } - internal string internalProperty { get; set; } - protected internal uint protectedInternalProperty { get; } - private protected string privateProtectedProperty { get; set; } - - public event EventHandler PublicEvent; - private event EventHandler PrivateEvent; - protected event EventHandler ProtectedEvent; - internal event EventHandler InternalEvent; - protected internal event EventHandler ProtectedInternalEvent; - private protected event EventHandler PrivateProtectedEvent; - - public PublicClass(int value) - { - - } - - [Conditional("DEBUG")] - public static void StaticVoid(string[] args) - { - - } - - private static int PrivateMethod(int times) - { - return times; - } - - public class Repeater - { - public static void Repeat(string phrase) - { - - } - } - - private class PrivateClass - { - - } - - protected class ProtectedClass - { - - } - - internal class InternalClass - { - - } - - protected internal class ProtectedInternalClass - { - - } - - private protected class PrivateProtectedClass - { - - } - } - - public class SomeEventsSomeFieldsNoMethodsSomeNamedTypes - { - public string publicField; - private object privateField; - protected int protectedField; - internal double[] internalField; - protected internal string protectedInternalField; - private protected double privateProtectedField; - - public event EventHandler PublicEvent; - private event EventHandler PrivateEvent; - protected event EventHandler protectedEvent; - internal event EventHandler internalEvent; - protected internal event EventHandler protectedInternalEvent; - private protected event EventHandler privateProtectedEvent; - - private void PrivateMethod() - { - - } - - internal void InternalMethod() - { - - } - - protected internal void ProtectedInternalMethod() - { - - } - - private protected void PrivateProtectedMethod() - { - - } - - public class PublicNestedClass - { - - } - - private class PrivateNestedClass - { - - } - - protected class ProtectedNestedClass - { - - } - - internal class InternalNestedClass - { - - } - - protected internal class ProtectedInternalNestedClass - { - - } - - private protected class PrivateProtectedNestedClass - { - - } - } - - class Class // internal by default - { - public string phrase = "This is a test"; - - internal void ProtectedMethod(int times = 1) - { - - } - - protected internal void ProtectedInternalMethod() - { - - } - - private protected void PrivateProtectedMethod() - { - - } - } - - internal class InternalClass - { - - } - - public interface PublicInterface - { - int TypeParamParamsMethod(T param, string str = "hello"); - - string RefKindParamMethod(ref string str); - - [Custom("Test", Named="Param"), New()] - int AttributesTypeParamsMethod(); - } - - public class NewAttribute : Attribute - { - } - - public class CustomAttribute : Attribute - { - public CustomAttribute(string str) - { - - } - - public string Named { get; set; } - } - - public class ImplementingClass : PublicInterface - { - public enum PublicEnum : long - { - One = 1, Two = 2, Three = 3 - } - - public void MethodTakingEnum(PublicEnum publicEnum) - { - - } - - public string RefKindParamMethod(ref string str) - { - throw new NotImplementedException(); - } - - public int TypeParamParamsMethod(T param, string str = "hello") - { - throw new NotImplementedException(); - } - - public int AttributesTypeParamsMethod() - { - throw new NotImplementedException(); - } - } - - public class TestClass - { - public void TestMethod(List testParam) - { - - } - } -} diff --git a/src/dotnet/APIView/TestLibrary/TestLibrary.csproj b/src/dotnet/APIView/TestLibrary/TestLibrary.csproj deleted file mode 100644 index 7335aefda2c..00000000000 --- a/src/dotnet/APIView/TestLibrary/TestLibrary.csproj +++ /dev/null @@ -1,17 +0,0 @@ - - - - net6.0 - - - - false - - 0 - - - - - - -