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/Tools/LeanCode.CodeAnalysis/NetStandard21Compatibility/System.Diagnostics.CodeAnalysis.NullableAttributes.cs
+11-68Lines changed: 11 additions & 68 deletions
Original file line number
Diff line number
Diff line change
@@ -6,57 +6,31 @@
6
6
7
7
namespaceSystem.Diagnostics.CodeAnalysis;
8
8
9
-
#if !NETSTANDARD2_1
10
9
/// <summary>Specifies that null is allowed as an input even if the corresponding type disallows it.</summary>
/// <summary>Specifies that an output will not be null even if the corresponding type allows it. Specifies that an input argument was not null when the call returns.</summary>
/// <summary>Specifies that when a method returns <see cref="ReturnValue"/>, the parameter may be null even if the corresponding type disallows it.</summary>
/// <summary>Initializes the attribute with the specified return value condition.</summary>
62
36
/// <param name="returnValue">
@@ -70,12 +44,7 @@ sealed class MaybeNullWhenAttribute : Attribute
70
44
71
45
/// <summary>Specifies that when a method returns <see cref="ReturnValue"/>, the parameter will not be null even if the corresponding type allows it.</summary>
/// <summary>Initializes the attribute with a field or property member.</summary>
153
101
/// <param name="member">
@@ -167,12 +115,7 @@ sealed class MemberNotNullAttribute : Attribute
167
115
168
116
/// <summary>Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition.</summary>
0 commit comments