Link to C# Variant-compatible section directly

(cherry picked from commit 8b94fc9501)
This commit is contained in:
31
2024-02-03 19:46:56 -08:00
committed by Max Hilbrunner
parent a1be0931b0
commit 33ceecab84
9 changed files with 24 additions and 17 deletions

View File

@@ -16,7 +16,8 @@ Cause
-----
An unsupported type is specified for a member annotated with the ``[Export]``
attribute when a :ref:`Variant-compatible <doc_c_sharp_variant>` type is expected.
attribute when a
:ref:`Variant-compatible type <c_sharp_variant_compatible_types>` is expected.
Rule description
----------------

View File

@@ -16,8 +16,8 @@ Cause
-----
An unsupported type is specified for a parameter of a delegate annotated with
the ``[Signal]`` attribute when a :ref:`Variant-compatible <doc_c_sharp_variant>`
type is expected.
the ``[Signal]`` attribute when a
:ref:`Variant-compatible type <c_sharp_variant_compatible_types>` is expected.
Rule description
----------------

View File

@@ -14,7 +14,7 @@ Cause
-----
An unsupported type is specified for a generic type argument when a
:ref:`Variant-compatible <doc_c_sharp_variant>` type is expected.
:ref:`Variant-compatible type <c_sharp_variant_compatible_types>` is expected.
Rule description
----------------

View File

@@ -14,8 +14,9 @@ Cause
-----
A generic type is specified for a generic type argument when a
:ref:`Variant-compatible <doc_c_sharp_variant>` type is expected, but the
specified generic type is not annotated with the ``[MustBeVariant]`` attribute.
:ref:`Variant-compatible type <c_sharp_variant_compatible_types>` is expected,
but the specified generic type is not annotated with the ``[MustBeVariant]``
attribute.
Rule description
----------------