mirror of https://github.com/icsharpcode/ILSpy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
421 B
18 lines
421 B
#if !NETCORE |
|
|
|
#nullable enable |
|
|
|
namespace System.Diagnostics.CodeAnalysis |
|
{ |
|
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue, AllowMultiple = true)] |
|
internal sealed class NotNullIfNotNullAttribute : Attribute |
|
{ |
|
public string ParameterName { get; } |
|
|
|
public NotNullIfNotNullAttribute(string parameterName) |
|
{ |
|
ParameterName = parameterName; |
|
} |
|
} |
|
} |
|
#endif
|
|
|