You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ImmediateReflection/Extensions/ImmediateAttributesExtensions.cs
+11-11
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
#if SUPPORTS_CACHING
1
+
#if SUPPORTS_CACHING
2
2
usingSystem;
3
3
usingSystem.Collections.Generic;
4
4
usingSystem.Reflection;
@@ -22,7 +22,7 @@ public static class ImmediateAttributesExtensions
22
22
/// <param name="member">Member to get its custom attributes.</param>
23
23
/// <param name="inherit">Indicates if inherited attributes should be taken into account.</param>
24
24
/// <returns>True if an attribute matches requested type, otherwise false.</returns>
25
-
/// <exception cref="ArgumentNullException">If the given <paramref name="member"/> is null.</exception>
25
+
/// <exception cref="T:System.ArgumentNullException">If the given <paramref name="member"/> is null.</exception>
26
26
[PublicAPI]
27
27
[ContractAnnotation("member:null => halt")]
28
28
#if SUPPORTS_AGGRESSIVE_INLINING
@@ -52,9 +52,9 @@ public static bool IsDefinedImmediateAttribute<TAttribute>(
52
52
/// <param name="attributeType">Type of the attribute to search.</param>
53
53
/// <param name="inherit">Indicates if inherited attributes should be taken into account.</param>
54
54
/// <returns>True if an attribute matches requested type, otherwise false.</returns>
55
-
/// <exception cref="ArgumentNullException">If the given <paramref name="member"/> is null.</exception>
56
-
/// <exception cref="ArgumentNullException">If the given <paramref name="attributeType"/> is null.</exception>
57
-
/// <exception cref="ArgumentException">If the given <paramref name="attributeType"/> is not an <see cref="Attribute"/> type.</exception>
55
+
/// <exception cref="T:System.ArgumentNullException">If the given <paramref name="member"/> is null.</exception>
56
+
/// <exception cref="T:System.ArgumentNullException">If the given <paramref name="attributeType"/> is null.</exception>
57
+
/// <exception cref="T:System.ArgumentException">If the given <paramref name="attributeType"/> is not an <see cref="T:System.Attribute"/> type.</exception>
@@ -84,7 +84,7 @@ public static bool IsDefinedImmediateAttribute(
84
84
/// <param name="member">Member to get its custom attributes.</param>
85
85
/// <param name="inherit">Indicates if inherited attributes should be taken into account.</param>
86
86
/// <returns>The first attribute matching requested type, otherwise null.</returns>
87
-
/// <exception cref="ArgumentNullException">If the given <paramref name="member"/> is null.</exception>
87
+
/// <exception cref="T:System.ArgumentNullException">If the given <paramref name="member"/> is null.</exception>
88
88
[PublicAPI]
89
89
[CanBeNull]
90
90
[ContractAnnotation("member:null => halt")]
@@ -115,8 +115,8 @@ public static TAttribute GetImmediateAttribute<TAttribute>(
115
115
/// <param name="attributeType">Type of the attribute to search.</param>
116
116
/// <param name="inherit">Indicates if inherited attributes should be taken into account.</param>
117
117
/// <returns>The first attribute matching requested type, otherwise null.</returns>
118
-
/// <exception cref="ArgumentNullException">If the given <paramref name="member"/> or the <paramref name="attributeType"/> is null.</exception>
119
-
/// <exception cref="ArgumentException">If the given <paramref name="attributeType"/> is not an <see cref="Attribute"/> type.</exception>
118
+
/// <exception cref="T:System.ArgumentNullException">If the given <paramref name="member"/> or the <paramref name="attributeType"/> is null.</exception>
119
+
/// <exception cref="T:System.ArgumentException">If the given <paramref name="attributeType"/> is not an <see cref="T:System.Attribute"/> type.</exception>
0 commit comments