2
0

SetsRequiredMembersAttribute.cs 524 B

123456789101112
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the MIT license.
  3. // ReSharper disable once CheckNamespace
  4. namespace System.Diagnostics.CodeAnalysis;
  5. /// <summary>
  6. /// Specifies that this constructor sets all required members for the current type, and callers
  7. /// do not need to set any required members themselves.
  8. /// </summary>
  9. [AttributeUsage (AttributeTargets.Constructor)]
  10. public sealed class SetsRequiredMembersAttribute : Attribute;