You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/Thinktecture.Runtime.Extensions.SourceGenerator.Tests/Extensions/NamedTypeSymbolExtensionsTests/GetValidateFactoryArgumentsReturnType.cs
Copy file name to clipboardExpand all lines: test/Thinktecture.Runtime.Extensions.SourceGenerator.Tests/Extensions/TypeSymbolExtensionsTests/ToFullyQualifiedDisplayString.cs
Copy file name to clipboardExpand all lines: test/Thinktecture.Runtime.Extensions.SourceGenerator.Tests/SourceGeneratorTests/AdHocUnionSourceGeneratorTests.Should_generate_class_with_tuple_types_file=Thinktecture.Tests.TestUnion.AdHocUnion.g.cs.verified.txt
+22-22Lines changed: 22 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -15,19 +15,19 @@ namespace Thinktecture.Tests
15
15
{
16
16
MemberTypes = new global::System.Collections.Generic.List<global::System.Type>
/// Indication whether the current value is of type <c>global::System.ValueTuple<int, string></c>.
30
+
/// Indication whether the current value is of type <c>(int, string)</c>.
31
31
/// </summary>
32
32
public bool IsValueTupleOfInt32String => this._valueIndex == 1;
33
33
@@ -37,10 +37,10 @@ namespace Thinktecture.Tests
37
37
public bool IsBoolean => this._valueIndex == 2;
38
38
39
39
/// <summary>
40
-
/// Gets the current value as <c>global::System.ValueTuple<int, string></c>.
40
+
/// Gets the current value as <c>(int, string)</c>.
41
41
/// </summary>
42
-
/// <exception cref="global::System.InvalidOperationException">If the current value is not of type <c>global::System.ValueTuple<int, string></c>.</exception>
43
-
public global::System.ValueTuple<int, string> AsValueTupleOfInt32String => IsValueTupleOfInt32String ? this._valueTupleOfInt32String : throw new global::System.InvalidOperationException($"'{nameof(global::Thinktecture.Tests.TestUnion)}' is not of type '(int, string)'.");
42
+
/// <exception cref="global::System.InvalidOperationException">If the current value is not of type <c>(int, string)</c>.</exception>
43
+
public (int, string) AsValueTupleOfInt32String => IsValueTupleOfInt32String ? this._valueTupleOfInt32String : throw new global::System.InvalidOperationException($"'{nameof(global::Thinktecture.Tests.TestUnion)}' is not of type '(int, string)'.");
44
44
45
45
/// <summary>
46
46
/// Gets the current value as <see cref="bool"/>.
@@ -62,7 +62,7 @@ namespace Thinktecture.Tests
62
62
/// Initializes new instance with <paramref name="valueTupleOfInt32String"/>.
63
63
/// </summary>
64
64
/// <param name="valueTupleOfInt32String">Value to create a new instance for.</param>
65
-
public TestUnion(global::System.ValueTuple<int, string> @valueTupleOfInt32String)
65
+
public TestUnion((int, string) @valueTupleOfInt32String)
/// Executes an action depending on the current value.
84
84
/// </summary>
85
-
/// <param name="valueTupleOfInt32String">The action to execute if the current value is of type <c>global::System.ValueTuple<int, string></c>.</param>
85
+
/// <param name="valueTupleOfInt32String">The action to execute if the current value is of type <c>(int, string)</c>.</param>
86
86
/// <param name="boolean">The action to execute if the current value is of type <see cref="bool"/>.</param>
/// Executes an action depending on the current value.
109
109
/// </summary>
110
110
/// <param name="state">State to be passed to the callbacks.</param>
111
-
/// <param name="valueTupleOfInt32String">The action to execute if the current value is of type <c>global::System.ValueTuple<int, string></c>.</param>
111
+
/// <param name="valueTupleOfInt32String">The action to execute if the current value is of type <c>(int, string)</c>.</param>
112
112
/// <param name="boolean">The action to execute if the current value is of type <see cref="bool"/>.</param>
/// Executes a function depending on the current value.
139
139
/// </summary>
140
-
/// <param name="valueTupleOfInt32String">The function to execute if the current value is of type <c>global::System.ValueTuple<int, string></c>.</param>
140
+
/// <param name="valueTupleOfInt32String">The function to execute if the current value is of type <c>(int, string)</c>.</param>
141
141
/// <param name="boolean">The function to execute if the current value is of type <see cref="bool"/>.</param>
/// Executes a function depending on the current value.
165
165
/// </summary>
166
166
/// <param name="state">State to be passed to the callbacks.</param>
167
-
/// <param name="valueTupleOfInt32String">The function to execute if the current value is of type <c>global::System.ValueTuple<int, string></c>.</param>
167
+
/// <param name="valueTupleOfInt32String">The function to execute if the current value is of type <c>(int, string)</c>.</param>
168
168
/// <param name="boolean">The function to execute if the current value is of type <see cref="bool"/>.</param>
/// Maps current value to an instance of type <typeparamref name="TResult"/>.
193
193
/// </summary>
194
-
/// <param name="valueTupleOfInt32String">The instance to return if the current value is of type <c>global::System.ValueTuple<int, string></c>.</param>
194
+
/// <param name="valueTupleOfInt32String">The instance to return if the current value is of type <c>(int, string)</c>.</param>
195
195
/// <param name="boolean">The instance to return if the current value is of type <see cref="bool"/>.</param>
0 commit comments