MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeType­ExtensionsDefault­Value
Open sandboxFocus

TypeExtensions.DefaultValue Method

DefaultValue(IType)

Generates the default(T) syntax for the type.

Declaration
[Obsolete("Use meta.Default(IType).")]
public static dynamic? DefaultValue(this IType type)
Parameters
Type Name Description
IType type
Returns
Type Description
dynamic