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: src/Thinktecture.Runtime.Extensions.SourceGenerator/CodeAnalysis/ValueObjects/KeyedValueObjectCodeGenerator.cs
/// Explicit conversion to the type ").AppendTypeForXmlComment(keyMember).Append(@".
249
249
/// </summary>
250
250
/// <param name=""obj"">Object to covert.</param>
251
-
/// <returns>The <see cref=""").Append(keyMember.Name).Append(@"""/> of provided <paramref name=""obj""/> or <c>default</c> if <paramref name=""obj""/> is <c>null</c>.</returns>
251
+
/// <returns>The <see cref=""").Append(keyMember.Name).Append(@"""/> of provided <paramref name=""obj""/>.</returns>
252
+
/// <exception cref=""System.NullReferenceException"">If <paramref name=""obj""/> is <c>null</c>.</exception>
Copy file name to clipboardExpand all lines: test/Thinktecture.Runtime.Extensions.SourceGenerator.Tests/SourceGeneratorTests/Snapshots/ValueObjectSourceGeneratorTests.Should_generate_DateOnly_based_keyed_class_0.verified.cs
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,8 @@ public static bool TryCreate(
103
103
/// Explicit conversion to the type <see cref="global::System.DateOnly"/>.
104
104
/// </summary>
105
105
/// <param name="obj">Object to covert.</param>
106
-
/// <returns>The <see cref="_value"/> of provided <paramref name="obj"/> or <c>default</c> if <paramref name="obj"/> is <c>null</c>.</returns>
106
+
/// <returns>The <see cref="_value"/> of provided <paramref name="obj"/>.</returns>
107
+
/// <exception cref="System.NullReferenceException">If <paramref name="obj"/> is <c>null</c>.</exception>
Copy file name to clipboardExpand all lines: test/Thinktecture.Runtime.Extensions.SourceGenerator.Tests/SourceGeneratorTests/Snapshots/ValueObjectSourceGeneratorTests.Should_generate_DateOnly_based_keyed_class_with_DefaultWithKeyTypeOverloads_0.verified.cs
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,8 @@ public static bool TryCreate(
103
103
/// Explicit conversion to the type <see cref="global::System.DateOnly"/>.
104
104
/// </summary>
105
105
/// <param name="obj">Object to covert.</param>
106
-
/// <returns>The <see cref="_value"/> of provided <paramref name="obj"/> or <c>default</c> if <paramref name="obj"/> is <c>null</c>.</returns>
106
+
/// <returns>The <see cref="_value"/> of provided <paramref name="obj"/>.</returns>
107
+
/// <exception cref="System.NullReferenceException">If <paramref name="obj"/> is <c>null</c>.</exception>
Copy file name to clipboardExpand all lines: test/Thinktecture.Runtime.Extensions.SourceGenerator.Tests/SourceGeneratorTests/Snapshots/ValueObjectSourceGeneratorTests.Should_generate_int_based_keyed_class_0.verified.cs
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,8 @@ public static bool TryCreate(
103
103
/// Explicit conversion to the type <see cref="int"/>.
104
104
/// </summary>
105
105
/// <param name="obj">Object to covert.</param>
106
-
/// <returns>The <see cref="_value"/> of provided <paramref name="obj"/> or <c>default</c> if <paramref name="obj"/> is <c>null</c>.</returns>
106
+
/// <returns>The <see cref="_value"/> of provided <paramref name="obj"/>.</returns>
107
+
/// <exception cref="System.NullReferenceException">If <paramref name="obj"/> is <c>null</c>.</exception>
Copy file name to clipboardExpand all lines: test/Thinktecture.Runtime.Extensions.SourceGenerator.Tests/SourceGeneratorTests/Snapshots/ValueObjectSourceGeneratorTests.Should_generate_int_based_keyed_class_with_DefaultWithKeyTypeOverloads_0.verified.cs
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,8 @@ public static bool TryCreate(
103
103
/// Explicit conversion to the type <see cref="int"/>.
104
104
/// </summary>
105
105
/// <param name="obj">Object to covert.</param>
106
-
/// <returns>The <see cref="_value"/> of provided <paramref name="obj"/> or <c>default</c> if <paramref name="obj"/> is <c>null</c>.</returns>
106
+
/// <returns>The <see cref="_value"/> of provided <paramref name="obj"/>.</returns>
107
+
/// <exception cref="System.NullReferenceException">If <paramref name="obj"/> is <c>null</c>.</exception>
Copy file name to clipboardExpand all lines: test/Thinktecture.Runtime.Extensions.SourceGenerator.Tests/SourceGeneratorTests/Snapshots/ValueObjectSourceGeneratorTests.Should_not_generate_factory_methods_if_SkipFactoryMethods_is_true_0.verified.cs
0 commit comments