rspec/rules/S2259/how-dotnet.adoc
2023-07-03 17:26:15 +02:00

18 lines
367 B
Plaintext

== How to fix it
To fix the issue the access of the `{null-keyword}` value needs to be prevented by either:
* ensuring the variable has a value, or
* by checking if the value is not `{null-keyword}`
=== Code examples
==== Noncompliant code example
include::{language}/noncompliant-code.adoc[]
==== Compliant solution
include::{language}/compliant-code.adoc[]