
Inline adoc files when they are included exactly once. Also fix language tags because this inlining gives us better information on what language the code is written in.
52 lines
1.0 KiB
Plaintext
52 lines
1.0 KiB
Plaintext
include::../description.adoc[]
|
|
|
|
include::../ask-yourself.adoc[]
|
|
|
|
include::../recommended.adoc[]
|
|
|
|
== Sensitive Code Example
|
|
|
|
----
|
|
namespace MyNamespace
|
|
{
|
|
class Program
|
|
{
|
|
static void Main(string[] args) // Sensitive if there is a reference to "args" in the method.
|
|
{
|
|
string myarg = args[0];
|
|
// ...
|
|
}
|
|
}
|
|
}
|
|
----
|
|
|
|
include::../see.adoc[]
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
include::../message.adoc[]
|
|
|
|
=== Highlighting
|
|
|
|
main: command line parameter in the ``++Main++`` method prototype
|
|
|
|
secondaries: references to ``++args++``.
|
|
|
|
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
=== on 16 Oct 2018, 15:46:03 Nicolas Harraudeau wrote:
|
|
*Implementation details*:
|
|
|
|
An issue should be created if and only if ``++args++`` is used in the ``++Main++`` function. The issue should be created on the ``++Main++`` function prototype, with a highlight on the ``++args++`` parameter.
|
|
|
|
include::../comments-and-links.adoc[]
|
|
|
|
endif::env-github,rspecator-view[]
|