Initializes a new instance of AllowNewInstancesAttribute which
will allow new instances of all types.
Namespace:
SciTech.NetMemProfilerAssembly: MemProfiler2 (in MemProfiler2.dll)
Syntax
| C# |
|---|
public AllowNewInstancesAttribute() |
| Visual Basic |
|---|
Public Sub New |
| Visual C++ |
|---|
public: AllowNewInstancesAttribute() |
Remarks
For more information see
AssertionsDefinition.AllowNewInstances(Type, Boolean) and
AssertionAttribute.