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: F1Game.UDP.SourceGenerator.Tests/snapshots/AutoInlineArrayGeneratorTests.ArrayIsNotPartial_AddsDiagnostic#F1Game.UDP.SourceGenerator.AutoInlineArrayAttribute.Generated.verified.cs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ internal sealed class AutoInlineArrayAttribute : Attribute
32
32
{
33
33
/// <summary>Initializes a new instance of the <see cref="AutoInlineArrayAttribute"/> class.</summary>
34
34
/// <param name="length">The number of elements in the inline array. Must be greater than 0.</param>
35
+
/// <param name="elementType">The type of the element in the inline array. Optional if it can be inferred.</param>
Copy file name to clipboardExpand all lines: F1Game.UDP.SourceGenerator.Tests/snapshots/AutoInlineArrayGeneratorTests.ArrayWithField_GeneratesArrayCode#F1Game.UDP.SourceGenerator.AutoInlineArrayAttribute.Generated.verified.cs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ internal sealed class AutoInlineArrayAttribute : Attribute
32
32
{
33
33
/// <summary>Initializes a new instance of the <see cref="AutoInlineArrayAttribute"/> class.</summary>
34
34
/// <param name="length">The number of elements in the inline array. Must be greater than 0.</param>
35
+
/// <param name="elementType">The type of the element in the inline array. Optional if it can be inferred.</param>
Copy file name to clipboardExpand all lines: F1Game.UDP.SourceGenerator.Tests/snapshots/AutoInlineArrayGeneratorTests.ArrayWithField_GeneratesArrayCode#MyCode.InlineArray.Generated.verified.cs
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
namespaceMyCode;
11
11
12
12
/// <summary>
13
-
/// Represents an inline array InlineArray with 42 elements of type <see cref="global::MyCode.Element"/>.
13
+
/// Represents an inline array <see cref="InlineArray"/> with 42 elements.
14
14
/// Provides basic equality comparison and hashing. Access elements using the indexer (e.g., myArray[0]).
15
15
/// </summary>
16
16
[InlineArray(42)]
@@ -23,28 +23,28 @@ partial struct InlineArray
23
23
publicintLength=>42;
24
24
25
25
/// <summary>
26
-
/// Returns a <see cref="Span{T}"/> that represents the elements of this inline array.
26
+
/// Returns a <see cref="Span{global::MyCode.Element}"/> that represents the elements of this inline array.
27
27
/// </summary>
28
28
/// <returns>
29
-
/// A <see cref="Span{T}"/> of length <c>42</c> that provides mutable access to the elements of the inline array.
29
+
/// A <see cref="Span{global::MyCode.Element}"/> of length <c>42</c> that provides mutable access to the elements of the inline array.
Copy file name to clipboardExpand all lines: F1Game.UDP.SourceGenerator.Tests/snapshots/AutoInlineArrayGeneratorTests.ArrayWithNegativeLength_AddsDiagnostic#F1Game.UDP.SourceGenerator.AutoInlineArrayAttribute.Generated.verified.cs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ internal sealed class AutoInlineArrayAttribute : Attribute
32
32
{
33
33
/// <summary>Initializes a new instance of the <see cref="AutoInlineArrayAttribute"/> class.</summary>
34
34
/// <param name="length">The number of elements in the inline array. Must be greater than 0.</param>
35
+
/// <param name="elementType">The type of the element in the inline array. Optional if it can be inferred.</param>
Copy file name to clipboardExpand all lines: F1Game.UDP.SourceGenerator.Tests/snapshots/AutoInlineArrayGeneratorTests.ArrayWithTwoAttributes_AddsDiagnostic#F1Game.UDP.SourceGenerator.AutoInlineArrayAttribute.Generated.verified.cs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ internal sealed class AutoInlineArrayAttribute : Attribute
32
32
{
33
33
/// <summary>Initializes a new instance of the <see cref="AutoInlineArrayAttribute"/> class.</summary>
34
34
/// <param name="length">The number of elements in the inline array. Must be greater than 0.</param>
35
+
/// <param name="elementType">The type of the element in the inline array. Optional if it can be inferred.</param>
Copy file name to clipboardExpand all lines: F1Game.UDP.SourceGenerator.Tests/snapshots/AutoInlineArrayGeneratorTests.ArrayWithTwoInstanceFields_AddsDiagnostic#F1Game.UDP.SourceGenerator.AutoInlineArrayAttribute.Generated.verified.cs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ internal sealed class AutoInlineArrayAttribute : Attribute
32
32
{
33
33
/// <summary>Initializes a new instance of the <see cref="AutoInlineArrayAttribute"/> class.</summary>
34
34
/// <param name="length">The number of elements in the inline array. Must be greater than 0.</param>
35
+
/// <param name="elementType">The type of the element in the inline array. Optional if it can be inferred.</param>
Copy file name to clipboardExpand all lines: F1Game.UDP.SourceGenerator.Tests/snapshots/AutoInlineArrayGeneratorTests.ArrayWithTypeInAttributeAndField_AddsDiagnostic#F1Game.UDP.SourceGenerator.AutoInlineArrayAttribute.Generated.verified.cs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ internal sealed class AutoInlineArrayAttribute : Attribute
32
32
{
33
33
/// <summary>Initializes a new instance of the <see cref="AutoInlineArrayAttribute"/> class.</summary>
34
34
/// <param name="length">The number of elements in the inline array. Must be greater than 0.</param>
35
+
/// <param name="elementType">The type of the element in the inline array. Optional if it can be inferred.</param>
Copy file name to clipboardExpand all lines: F1Game.UDP.SourceGenerator.Tests/snapshots/AutoInlineArrayGeneratorTests.ArrayWithTypeInAttribute_GeneratesArrayCode#F1Game.UDP.SourceGenerator.AutoInlineArrayAttribute.Generated.verified.cs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ internal sealed class AutoInlineArrayAttribute : Attribute
32
32
{
33
33
/// <summary>Initializes a new instance of the <see cref="AutoInlineArrayAttribute"/> class.</summary>
34
34
/// <param name="length">The number of elements in the inline array. Must be greater than 0.</param>
35
+
/// <param name="elementType">The type of the element in the inline array. Optional if it can be inferred.</param>
Copy file name to clipboardExpand all lines: F1Game.UDP.SourceGenerator.Tests/snapshots/AutoInlineArrayGeneratorTests.ArrayWithTypeInAttribute_GeneratesArrayCode#MyCode.ByteInlineArray.Generated.verified.cs
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
namespaceMyCode;
11
11
12
12
/// <summary>
13
-
/// Represents an inline array ByteInlineArray with 42 elements of type <see cref="byte"/>.
13
+
/// Represents an inline array <see cref="ByteInlineArray"/> with 42 elements.
14
14
/// Provides basic equality comparison and hashing. Access elements using the indexer (e.g., myArray[0]).
15
15
/// </summary>
16
16
[InlineArray(42)]
@@ -25,28 +25,28 @@ partial record struct ByteInlineArray
25
25
publicintLength=>42;
26
26
27
27
/// <summary>
28
-
/// Returns a <see cref="Span{T}"/> that represents the elements of this inline array.
28
+
/// Returns a <see cref="Span{byte}"/> that represents the elements of this inline array.
29
29
/// </summary>
30
30
/// <returns>
31
-
/// A <see cref="Span{T}"/> of length <c>42</c> that provides mutable access to the elements of the inline array.
31
+
/// A <see cref="Span{byte}"/> of length <c>42</c> that provides mutable access to the elements of the inline array.
Copy file name to clipboardExpand all lines: F1Game.UDP.SourceGenerator.Tests/snapshots/AutoInlineArrayGeneratorTests.ArrayWithZeroLength_AddsDiagnostic#F1Game.UDP.SourceGenerator.AutoInlineArrayAttribute.Generated.verified.cs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ internal sealed class AutoInlineArrayAttribute : Attribute
32
32
{
33
33
/// <summary>Initializes a new instance of the <see cref="AutoInlineArrayAttribute"/> class.</summary>
34
34
/// <param name="length">The number of elements in the inline array. Must be greater than 0.</param>
35
+
/// <param name="elementType">The type of the element in the inline array. Optional if it can be inferred.</param>
0 commit comments