Table of Contents

Class DoesNotReturnIfAttribute

Namespace
System.Diagnostics.CodeAnalysis
Assembly
nanoFramework.System.Runtime.dll

Specifies that the method will not return if the associated Boolean parameter is passed the specified value.

[AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
public sealed class DoesNotReturnIfAttribute : Attribute
Inheritance
DoesNotReturnIfAttribute
Inherited Members
Extension Methods

Constructors

DoesNotReturnIfAttribute(bool)

Initializes the attribute with the specified parameter value.

public DoesNotReturnIfAttribute(bool parameterValue)

Parameters

parameterValue bool

The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to the associated parameter matches this value.

Properties

ParameterValue

Gets the condition parameter value.

public bool ParameterValue { get; }

Property Value

bool