Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
AliveDevil committed Aug 23, 2024
2 parents 2da8a19 + 85bafa1 commit b0eebd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions src/IKVM.Runtime/System/Index.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
// See the LICENSE file in the project root for more information.

#if NETSTANDARD2_1 || NET
using System.Runtime.CompilerServices;

[assembly: TypeForwardedTo(typeof(System.Index))]
#else
using System.Runtime.CompilerServices;

Expand All @@ -19,7 +16,7 @@ namespace System;
/// int lastElement = someArray[^1]; // lastElement = 5
/// </code>
/// </remarks>
public readonly struct Index : IEquatable<Index>
readonly struct Index : IEquatable<Index>
{
private readonly int _value;

Expand Down
5 changes: 1 addition & 4 deletions src/IKVM.Runtime/System/Range.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
// See the LICENSE file in the project root for more information.

#if NETSTANDARD2_1 || NET
using System.Runtime.CompilerServices;

[assembly: TypeForwardedTo(typeof(global::System.Range))]
#else
using System.Runtime.CompilerServices;

Expand All @@ -20,7 +17,7 @@ namespace System;
/// int[] subArray2 = someArray[1..^0]; // { 2, 3, 4, 5 }
/// </code>
/// </remarks>
public readonly struct Range : IEquatable<Range>
readonly struct Range : IEquatable<Range>
{
/// <summary>Represent the inclusive start index of the Range.</summary>
public Index Start { get; }
Expand Down

0 comments on commit b0eebd8

Please sign in to comment.