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

github.com/mono/api-doc-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Luo <basehello@icloud.com>2021-04-14 18:20:54 +0300
committerGitHub <noreply@github.com>2021-04-14 18:20:54 +0300
commit806f222aad9a217efc587776915ffba95f92a20f (patch)
tree3f0aa84640e4c842a92aa3744b7f836d2282cb87 /mdoc/mdoc.Test/SampleClasses/AttributeDataTypeAttribute.cs
parent38d866cbbf3eb19b0a1a523153a3303a9ac2b1f3 (diff)
Improve argument value formatter (#539)
https://dev.azure.com/ceapex/Engineering/_workitems/edit/366340
Diffstat (limited to 'mdoc/mdoc.Test/SampleClasses/AttributeDataTypeAttribute.cs')
-rw-r--r--mdoc/mdoc.Test/SampleClasses/AttributeDataTypeAttribute.cs57
1 files changed, 57 insertions, 0 deletions
diff --git a/mdoc/mdoc.Test/SampleClasses/AttributeDataTypeAttribute.cs b/mdoc/mdoc.Test/SampleClasses/AttributeDataTypeAttribute.cs
new file mode 100644
index 00000000..ce49992e
--- /dev/null
+++ b/mdoc/mdoc.Test/SampleClasses/AttributeDataTypeAttribute.cs
@@ -0,0 +1,57 @@
+using System;
+
+namespace mdoc.Test.SampleClasses
+{
+ public class AttributeDataTypeAttribute : Attribute
+ {
+ public object ObjectType { get; set; }
+
+ public Type TypeType { get; set; }
+
+ public bool BoolType { get; set; }
+
+ public SByte SByteType { get; set; }
+
+ public Byte ByteType { get; set; }
+
+ public Int16 Int16Type { get; set; }
+
+ public UInt16 UInt16Type { get; set; }
+
+ public Int32 Int32Type { get; set; }
+
+ public Int32? NullableOfInt32Type { get; set; }
+
+ public UInt32 UInt32Type { get; set; }
+
+ public Int64 Int64Type { get; set; }
+
+ public UInt64 UInt64Type { get; set; }
+
+ public Single SingleType { get; set; }
+
+ public Double DoubleType { get; set; }
+
+ public char CharType { get; set; }
+
+ public string StringType { get; set; }
+
+ public int[] ArrayOfIntType { get; set; }
+
+ public ConsoleColor EnumType { get; set; }
+
+ public SomeNestedTypes.NestedEnum NestedEnumType { get; set; }
+
+ public SomeNestedTypes.NestedFlagsEnum NestedFlagsEnumType { get; set; }
+
+ public SomeFlagsEnum DuplicateFlagsEnumType { get; set; }
+
+ public AttributeTargets FlagsEnumType { get; set; }
+
+ public NotApplyAttributeValidFlagsEnum NotApplyAttributeFlagsEnumType { get; set; }
+
+ public NotApplyAttributeInvalidFlagsEnum NotApplyAttributeInvalidFlagsEnumType { get; set; }
+
+ public ObjCRuntime.Platform ApplePlatformFlagsEnumType { get; set; }
+ }
+}