Throws an ArgumentNullException if a pointer is null.
Namespace:
PostSharp
Assembly:
PostSharp.Core (in PostSharp.Core.dll)
Syntax
| Visual Basic (Declaration) |
|---|
<ConditionalAttribute("ASSERT")> _
Public Shared Sub AssertArgumentNotNull ( _
value As Void*, _
parameterName As String _
) |
| C# |
|---|
[ConditionalAttribute("ASSERT")]
public static void AssertArgumentNotNull(
void* value,
string parameterName
) |
| Visual C++ |
|---|
[ConditionalAttribute(L"ASSERT")]
public:
static void AssertArgumentNotNull(
void* value,
String^ parameterName
) |
Parameters
- value
- Type:
System..::.Void
*
A pointer.
- parameterName
- Type: System..::.String
Parameter name.
See Also