Classes
| Class | Description | |
|---|---|---|
|
|
AllowInstancesAttribute |
Indicates that instances of the specified types
are allowed to exist after the target method has
been executed.
|
|
|
AllowNewInstancesAttribute |
Indicates that new instances of the specified types
are allowed to exist after the target method has
been executed.
|
|
|
AssertionAttribute |
Represents the base class for all memory assertion attributes.
|
|
|
AssertionsDefinition |
Defines the expected memory usage of operations performed between two
heap snapshots.
|
|
|
MaxBytesAttribute |
Checks that no more than a specific number of bytes
exist after the target method has been executed.
|
|
|
MaxInstancesAttribute |
Checks that no more than a specific number of instances
exist after the target method has been executed.
|
|
|
MaxNewBytesAttribute |
Checks that no more than a specific number of new bytes
exist after the target method has been executed.
|
|
|
MaxNewInstancesAttribute |
Checks that no more than a specific number of new instances
exist after the target method has been executed.
|
|
|
MemAssertion |
The MemAssertion class provides static methods for making assertions
about the memory usage of the profiled process.
|
|
|
MemProfiler |
The MemProfiler class provides static methods for interacting with the profiler,
from within the profiled process.
|
|
|
NoInstancesAttribute |
Checks that no instances of the specified types exists after the
target method has been executed.
|
|
|
NoNewInstancesAttribute |
Checks that no new instances of the specified types exists after
the target method has been executed.
|
|
|
TypeSet |
The TypeSet class is used to define an immutable set of Types that can be used when
building an AssertionsDefinition.
|
Structures
| Structure | Description | |
|---|---|---|
|
|
MemAssertion..::..AssertionsSession |
AssertionsSession represents an assertions session started by a call
to BeginAssertions()()()().
By disposing an AssertionsSession instance the memory assertions session will be ended. |
|
|
MemSnapShot |
The MemSnapShot structure represents a snapshot of the garbage collected heap.
It is returned by FastSnapShot()()()() and FullSnapShot()()()().
It can be used as a reference snapshot in calls to the MemAssertion methods.
|
Enumerations
| Enumeration | Description | |
|---|---|---|
|
|
AssertionsThread |
This enum defines the possible values for the assertionsThread parameter to
the assertion methods NoNewInstances()()()() and NoNewInstancesExcept(Type).
|