no more windows??
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
namespace System.Diagnostics.CodeAnalysis;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)]
|
||||
internal sealed class AllowNullAttribute : Attribute
|
||||
namespace System.Diagnostics.CodeAnalysis
|
||||
{
|
||||
|
||||
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)]
|
||||
internal sealed class AllowNullAttribute : Attribute
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,12 +1,13 @@
|
||||
namespace System.Diagnostics.CodeAnalysis;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Parameter)]
|
||||
internal class DoesNotReturnIfAttribute : Attribute
|
||||
namespace System.Diagnostics.CodeAnalysis
|
||||
{
|
||||
public DoesNotReturnIfAttribute(bool parameterValue)
|
||||
[AttributeUsage(AttributeTargets.Parameter)]
|
||||
internal class DoesNotReturnIfAttribute : Attribute
|
||||
{
|
||||
ParameterValue = parameterValue;
|
||||
}
|
||||
public DoesNotReturnIfAttribute(bool parameterValue)
|
||||
{
|
||||
ParameterValue = parameterValue;
|
||||
}
|
||||
|
||||
public bool ParameterValue { get; }
|
||||
public bool ParameterValue { get; }
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,8 @@
|
||||
namespace System.Diagnostics.CodeAnalysis;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter |
|
||||
AttributeTargets.ReturnValue)]
|
||||
internal sealed class MaybeNullAttribute : Attribute
|
||||
namespace System.Diagnostics.CodeAnalysis
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter |
|
||||
AttributeTargets.ReturnValue)]
|
||||
internal sealed class MaybeNullAttribute : Attribute
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,9 @@
|
||||
namespace System.Diagnostics.CodeAnalysis;
|
||||
|
||||
[AttributeUsage(
|
||||
AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter |
|
||||
AttributeTargets.ReturnValue, AllowMultiple = true)]
|
||||
internal sealed class NotNullAttribute : Attribute
|
||||
namespace System.Diagnostics.CodeAnalysis
|
||||
{
|
||||
[AttributeUsage(
|
||||
AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter |
|
||||
AttributeTargets.ReturnValue, AllowMultiple = true)]
|
||||
internal sealed class NotNullAttribute : Attribute
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,12 +1,13 @@
|
||||
namespace System.Diagnostics.CodeAnalysis;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Parameter)]
|
||||
internal sealed class NotNullWhenAttribute : Attribute
|
||||
namespace System.Diagnostics.CodeAnalysis
|
||||
{
|
||||
public NotNullWhenAttribute(bool returnValue)
|
||||
[AttributeUsage(AttributeTargets.Parameter)]
|
||||
internal sealed class NotNullWhenAttribute : Attribute
|
||||
{
|
||||
ReturnValue = returnValue;
|
||||
}
|
||||
public NotNullWhenAttribute(bool returnValue)
|
||||
{
|
||||
ReturnValue = returnValue;
|
||||
}
|
||||
|
||||
public bool ReturnValue { get; }
|
||||
public bool ReturnValue { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user