You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
850 B
20 lines
850 B
#if NET20 || NET30 || NET35 || !NET_4_6 |
|
|
|
// Licensed to the .NET Foundation under one or more agreements. |
|
// The .NET Foundation licenses this file to you under the MIT license. |
|
// See the LICENSE file in the project root for more information. |
|
|
|
namespace System.Diagnostics.Contracts |
|
{ |
|
/// <summary> |
|
/// Methods and classes marked with this attribute can be used within calls to Contract methods. Such methods not make any visible state changes. |
|
/// </summary> |
|
[Conditional("CONTRACTS_FULL")] |
|
[AttributeUsage(AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Event | AttributeTargets.Delegate | AttributeTargets.Class | AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)] |
|
public sealed class PureAttribute : Attribute |
|
{ |
|
// Empty |
|
} |
|
} |
|
|
|
#endif |