Skip to content

Commit

Permalink
Add missing slash to paramref tags (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBlubb14 authored Apr 5, 2022
1 parent 243b24a commit 77a1994
Show file tree
Hide file tree
Showing 15 changed files with 33 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ public bool TryMatch(out int i)
/// </summary>
/// <param name="i">The delegate to invoke with the stored value if it is of type <see cref="int"/>.</param>
/// <returns><see langword="true"/> if Variant_class_nullable_disable contained a value of type <see cref="int"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="i"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="i"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<int> i)
{
if (this.Index == 1)
Expand Down Expand Up @@ -611,7 +611,7 @@ public bool TryMatch(out float f)
/// </summary>
/// <param name="f">The delegate to invoke with the stored value if it is of type <see cref="float"/>.</param>
/// <returns><see langword="true"/> if Variant_class_nullable_disable contained a value of type <see cref="float"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="f"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="f"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<float> f)
{
if (this.Index == 2)
Expand Down Expand Up @@ -741,7 +741,7 @@ public bool TryMatch(out string s)
/// </summary>
/// <param name="s">The delegate to invoke with the stored value if it is of type <see cref="string"/>.</param>
/// <returns><see langword="true"/> if Variant_class_nullable_disable contained a value of type <see cref="string"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="s"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="s"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<string> s)
{
if (this.Index == 3)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ public bool TryMatch([global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
/// </summary>
/// <param name="i">The delegate to invoke with the stored value if it is of type <see cref="int"/>.</param>
/// <returns><see langword="true"/> if Variant_class_nullable_enable contained a value of type <see cref="int"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="i"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="i"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<int> i)
{
if (this.Index == 1)
Expand Down Expand Up @@ -703,7 +703,7 @@ public bool TryMatch([global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
/// </summary>
/// <param name="f">The delegate to invoke with the stored value if it is of type <see cref="float"/>.</param>
/// <returns><see langword="true"/> if Variant_class_nullable_enable contained a value of type <see cref="float"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="f"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="f"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<float> f)
{
if (this.Index == 2)
Expand Down Expand Up @@ -833,7 +833,7 @@ public bool TryMatch([global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
/// </summary>
/// <param name="s">The delegate to invoke with the stored value if it is of type <see cref="string"/>.</param>
/// <returns><see langword="true"/> if Variant_class_nullable_enable contained a value of type <see cref="string"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="s"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="s"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<string> s)
{
if (this.Index == 3)
Expand Down Expand Up @@ -963,7 +963,7 @@ public bool TryMatch(out global::System.Array? a)
/// </summary>
/// <param name="a">The delegate to invoke with the stored value if it is of type <see cref="global::System.Array?"/>.</param>
/// <returns><see langword="true"/> if Variant_class_nullable_enable contained a value of type <see cref="global::System.Array?"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="a"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="a"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<global::System.Array?> a)
{
if (this.Index == 4)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ public bool TryMatch(out int i)
/// </summary>
/// <param name="i">The delegate to invoke with the stored value if it is of type <see cref="int"/>.</param>
/// <returns><see langword="true"/> if Variant_disposable contained a value of type <see cref="int"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="i"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="i"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<int> i)
{
if (this.Index == 1)
Expand Down Expand Up @@ -550,7 +550,7 @@ public bool TryMatch(out global::System.IO.Stream stream)
/// </summary>
/// <param name="stream">The delegate to invoke with the stored value if it is of type <see cref="global::System.IO.Stream"/>.</param>
/// <returns><see langword="true"/> if Variant_disposable contained a value of type <see cref="global::System.IO.Stream"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="stream"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="stream"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<global::System.IO.Stream> stream)
{
if (this.Index == 2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ public bool TryMatch(out T1? a)
/// </summary>
/// <param name="a">The delegate to invoke with the stored value if it is of type <see cref="T1?"/>.</param>
/// <returns><see langword="true"/> if Variant contained a value of type <see cref="T1?"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="a"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="a"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<T1?> a)
{
if (this.Index == 1)
Expand Down Expand Up @@ -898,7 +898,7 @@ public bool TryMatch(out T2? b)
/// </summary>
/// <param name="b">The delegate to invoke with the stored value if it is of type <see cref="T2?"/>.</param>
/// <returns><see langword="true"/> if Variant contained a value of type <see cref="T2?"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="b"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="b"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<T2?> b)
{
if (this.Index == 2)
Expand Down Expand Up @@ -1028,7 +1028,7 @@ public bool TryMatch(out T3? c)
/// </summary>
/// <param name="c">The delegate to invoke with the stored value if it is of type <see cref="T3?"/>.</param>
/// <returns><see langword="true"/> if Variant contained a value of type <see cref="T3?"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="c"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="c"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<T3?> c)
{
if (this.Index == 3)
Expand Down Expand Up @@ -1158,7 +1158,7 @@ public bool TryMatch(out T4? d)
/// </summary>
/// <param name="d">The delegate to invoke with the stored value if it is of type <see cref="T4?"/>.</param>
/// <returns><see langword="true"/> if Variant contained a value of type <see cref="T4?"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="d"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="d"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<T4?> d)
{
if (this.Index == 4)
Expand Down Expand Up @@ -1288,7 +1288,7 @@ public bool TryMatch(out T5? e)
/// </summary>
/// <param name="e">The delegate to invoke with the stored value if it is of type <see cref="T5?"/>.</param>
/// <returns><see langword="true"/> if Variant contained a value of type <see cref="T5?"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="e"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="e"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<T5?> e)
{
if (this.Index == 5)
Expand Down Expand Up @@ -1418,7 +1418,7 @@ public bool TryMatch(out T6? f)
/// </summary>
/// <param name="f">The delegate to invoke with the stored value if it is of type <see cref="T6?"/>.</param>
/// <returns><see langword="true"/> if Variant contained a value of type <see cref="T6?"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="f"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="f"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<T6?> f)
{
if (this.Index == 6)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ public bool TryMatch(out T? value)
/// </summary>
/// <param name="value">The delegate to invoke with the stored value if it is of type <see cref="T"/>.</param>
/// <returns><see langword="true"/> if Variant contained a value of type <see cref="T"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="value"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="value"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<T> value)
{
if (this.Index == 1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ public bool TryMatch([global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
/// </summary>
/// <param name="value">The delegate to invoke with the stored value if it is of type <see cref="T"/>.</param>
/// <returns><see langword="true"/> if Variant contained a value of type <see cref="T"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="value"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="value"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<T> value)
{
if (this.Index == 1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ public bool TryMatch([global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
/// </summary>
/// <param name="a">The delegate to invoke with the stored value if it is of type <see cref="T1"/>.</param>
/// <returns><see langword="true"/> if Variant contained a value of type <see cref="T1"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="a"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="a"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<T1> a)
{
if (this.Index == 1)
Expand Down Expand Up @@ -645,7 +645,7 @@ public bool TryMatch([global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
/// </summary>
/// <param name="b">The delegate to invoke with the stored value if it is of type <see cref="T2"/>.</param>
/// <returns><see langword="true"/> if Variant contained a value of type <see cref="T2"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="b"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="b"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<T2> b)
{
if (this.Index == 2)
Expand Down Expand Up @@ -775,7 +775,7 @@ public bool TryMatch([global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
/// </summary>
/// <param name="c">The delegate to invoke with the stored value if it is of type <see cref="T3"/>.</param>
/// <returns><see langword="true"/> if Variant contained a value of type <see cref="T3"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="c"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="c"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<T3> c)
{
if (this.Index == 3)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ public bool TryMatch([global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
/// </summary>
/// <param name="value">The delegate to invoke with the stored value if it is of type <see cref="T"/>.</param>
/// <returns><see langword="true"/> if Variant contained a value of type <see cref="T"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="value"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="value"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<T> value)
{
if (this.Index == 1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ public bool TryMatch([global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
/// </summary>
/// <param name="value">The delegate to invoke with the stored value if it is of type <see cref="T"/>.</param>
/// <returns><see langword="true"/> if Variant contained a value of type <see cref="T"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="value"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="value"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<T> value)
{
if (this.Index == 1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public bool TryMatch(out T? value)
/// </summary>
/// <param name="value">The delegate to invoke with the stored value if it is of type <see cref="T"/>.</param>
/// <returns><see langword="true"/> if Variant contained a value of type <see cref="T"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="value"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="value"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<T> value)
{
if (this.Index == 1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public bool TryMatch(out int? i)
/// </summary>
/// <param name="i">The delegate to invoke with the stored value if it is of type <see cref="int?"/>.</param>
/// <returns><see langword="true"/> if Variant_nullable_value_type contained a value of type <see cref="int?"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="i"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="i"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<int?> i)
{
if (this.Index == 1)
Expand Down
4 changes: 2 additions & 2 deletions src/dotVariant.Generator.Test/samples/Variant-public.out.cs
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ public bool TryMatch(out int i)
/// </summary>
/// <param name="i">The delegate to invoke with the stored value if it is of type <see cref="int"/>.</param>
/// <returns><see langword="true"/> if Variant_public contained a value of type <see cref="int"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="i"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="i"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<int> i)
{
if (this.Index == 1)
Expand Down Expand Up @@ -521,7 +521,7 @@ public bool TryMatch(out string s)
/// </summary>
/// <param name="s">The delegate to invoke with the stored value if it is of type <see cref="string"/>.</param>
/// <returns><see langword="true"/> if Variant_public contained a value of type <see cref="string"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="s"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="s"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<string> s)
{
if (this.Index == 2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ public bool TryMatch(out long l)
/// </summary>
/// <param name="l">The delegate to invoke with the stored value if it is of type <see cref="long"/>.</param>
/// <returns><see langword="true"/> if Variant_struct_nullable_disable contained a value of type <see cref="long"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="l"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="l"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<long> l)
{
if (this.Index == 1)
Expand Down Expand Up @@ -609,7 +609,7 @@ public bool TryMatch(out double d)
/// </summary>
/// <param name="d">The delegate to invoke with the stored value if it is of type <see cref="double"/>.</param>
/// <returns><see langword="true"/> if Variant_struct_nullable_disable contained a value of type <see cref="double"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="d"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="d"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<double> d)
{
if (this.Index == 2)
Expand Down Expand Up @@ -739,7 +739,7 @@ public bool TryMatch(out object o)
/// </summary>
/// <param name="o">The delegate to invoke with the stored value if it is of type <see cref="object"/>.</param>
/// <returns><see langword="true"/> if Variant_struct_nullable_disable contained a value of type <see cref="object"/>.</returns>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="o"> is rethrown.</exception>
/// <exception cref="global::System.Exception">Any exception thrown from <paramref name="o"/> is rethrown.</exception>
public bool TryMatch(global::System.Action<object> o)
{
if (this.Index == 3)
Expand Down
Loading

0 comments on commit 77a1994

Please sign in to comment.