Table of Contents

Class ItemNotNullAttribute

Namespace
Stride.Core.Annotations
Assembly
Stride.Core.dll

Can be appplied to symbols of types derived from IEnumerable<T> as well as to symbols of Task and Lazy<T> classes to indicate that the value of a collection item, of the Task.Result property or of the Lazy.Value property can never be null.

[AttributeUsage(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Parameter|AttributeTargets.Delegate)]
public sealed class ItemNotNullAttribute : Attribute
Inheritance
ItemNotNullAttribute
Inherited Members