Struct NestingVerdict
Result of evaluating an against one enclosing scope.
public readonly record struct NestingVerdict : IEquatable<NestingVerdict>
Implements
Properties
Methods
Forbid(string)
Ill-formed — fail the build with the given message.
public static NestingVerdict Forbid(string message)
Warn(string)
Allowed but risky — warn with the given message.
public static NestingVerdict Warn(string message)
Constructors
NestingVerdict(NestingPolicy, string?)
Result of evaluating an against one enclosing scope.