MetalamaAPI documentationPatterns APIMetalama.​Patterns.​ContractsContract­ExtensionsVerify­Not­Nullable­Declarations
Open sandboxFocus

ContractExtensions.VerifyNotNullableDeclarations Method

VerifyNotNullableDeclarations(IAspectReceiver<ICompilation>, Boolean)

Declaration
public static void VerifyNotNullableDeclarations(this IAspectReceiver<ICompilation> compilation, bool includeInternalApis = false)
Parameters
Type Name Description
IAspectReceiver<ICompilation> compilation
System.Boolean includeInternalApis

VerifyNotNullableDeclarations(IAspectReceiver<INamespace>, Boolean)

Declaration
public static void VerifyNotNullableDeclarations(this IAspectReceiver<INamespace> ns, bool includeInternalApis = false)
Parameters
Type Name Description
IAspectReceiver<INamespace> ns
System.Boolean includeInternalApis

VerifyNotNullableDeclarations(IAspectReceiver<INamedType>, Boolean)

Declaration
public static void VerifyNotNullableDeclarations(this IAspectReceiver<INamedType> types, bool includeInternalApis = false)
Parameters
Type Name Description
IAspectReceiver<INamedType> types
System.Boolean includeInternalApis