Class MaxAllocatedBytesAttribute
Checks that no more than a specific number of bytes are allocated by the target method.
Inherited Members
System.Attribute.Equals(System.Object)
System.Attribute.GetHashCode()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SciTech.NetMemProfiler
Assembly: SciTech.MemProfilerApi.dll
Syntax
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
public sealed class MaxAllocatedBytesAttribute : AssertionAttribute
Remarks
This attribute can be applied to methods to define that no more than a specific number of bytes should be allocated by the target method.
For more information see
Constructors
Name | Description |
---|---|
Max |
|
Max |
|
Max |
Initializes a new instance of Max |
Max |
Properties
Name | Description |
---|---|
Byte |
Gets a value indicating the maximum number of bytes that should be allocated by the target method. |