PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Type­Signature­Extensions Class / Type­Signature­Extensions Methods / Type­Signature­Extensions.​Is­Nullable Method

TypeSignatureExtensions.IsNullable Method

Determines whether a given type signature can be assigned a null value.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: (
public static bool IsNullable(
	this ITypeSignature typeSignature


Type: PostSharp.Sdk.CodeModel.ITypeSignature
A type signature.

Return Value

Type: Boolean
true if a location of type typeSignature can be assigned a null value, otherwise false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ITypeSignature. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also