mirror of
https://github.com/chylex/.NET-Community-Toolkit.git
synced 2025-08-16 23:31:47 +02:00
.github
CommunityToolkit.Common
CommunityToolkit.Diagnostics
CommunityToolkit.HighPerformance
CommunityToolkit.Mvvm
CommunityToolkit.Mvvm.SourceGenerators
Attributes
ComponentModel
Diagnostics
EmbeddedResources
INotifyPropertyChanged.cs
NotNullAttribute.cs
NotNullIfNotNullAttribute.cs
ObservableObject.cs
ObservableRecipient.cs
Extensions
Helpers
Input
Messaging
Models
System.Runtime.CompilerServices
AnalyzerReleases.Shipped.md
AnalyzerReleases.Unshipped.md
CommunityToolkit.Mvvm.SourceGenerators.csproj
build
tests
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.runsettings
CODE_OF_CONDUCT.md
Contributing.md
Directory.Build.props
Directory.Build.targets
License.md
README.md
ThirdPartyNotices.txt
azure-pipelines.yml
dotnet Community Toolkit.sln
toolkit.snk
version.json
27 lines
1008 B
C#
27 lines
1008 B
C#
// <auto-generated/>
|
|
|
|
#pragma warning disable
|
|
|
|
namespace System.Diagnostics.CodeAnalysis
|
|
{
|
|
/// <summary>
|
|
/// Specifies that the output will be non-null if the named parameter is non-null.
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)]
|
|
internal sealed class NotNullIfNotNullAttribute : Attribute
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="NotNullIfNotNullAttribute"/> class.
|
|
/// </summary>
|
|
/// <param name="parameterName"> The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null.</param>
|
|
public NotNullIfNotNullAttribute(string parameterName)
|
|
{
|
|
ParameterName = parameterName;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the associated parameter name.
|
|
/// </summary>
|
|
public string ParameterName { get; }
|
|
}
|
|
} |