Skip to content

Commit

Permalink
Added: Public API Analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
Sewer56 committed Jul 6, 2022
1 parent c3a7da8 commit adc12ca
Show file tree
Hide file tree
Showing 10 changed files with 2,500 additions and 1 deletion.
623 changes: 623 additions & 0 deletions Source/Reloaded.Memory/PublicAPI/net5.0/PublicAPI.Shipped.txt

Large diffs are not rendered by default.

Empty file.
623 changes: 623 additions & 0 deletions Source/Reloaded.Memory/PublicAPI/net6.0/PublicAPI.Shipped.txt

Large diffs are not rendered by default.

Empty file.
622 changes: 622 additions & 0 deletions Source/Reloaded.Memory/PublicAPI/netstandard2.0/PublicAPI.Shipped.txt

Large diffs are not rendered by default.

Empty file.
623 changes: 623 additions & 0 deletions Source/Reloaded.Memory/PublicAPI/netstandard2.1/PublicAPI.Shipped.txt

Large diffs are not rendered by default.

Empty file.
9 changes: 9 additions & 0 deletions Source/Reloaded.Memory/Reloaded.Memory.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@
</PropertyGroup>

<ItemGroup>
<AdditionalFiles Include="PublicAPI/$(TargetFramework)/PublicAPI.Shipped.txt" />
<AdditionalFiles Include="PublicAPI/$(TargetFramework)/PublicAPI.Unshipped.txt" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="3.3.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.Memory" Version="4.5.3" Condition="'$(TargetFramework)' == 'netstandard2.0'" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.7.0" Condition="'$(TargetFramework)' != 'net5.0' And '$(TargetFramework)' != 'net6.0'" />
</ItemGroup>
Expand Down
1 change: 0 additions & 1 deletion Source/Reloaded.Memory/Streams/ExtendedMemoryStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ public ExtendedMemoryStream(int capacity) : base(capacity) { }
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void Write<T>(ref T structure) where T : unmanaged => StreamExtensions.Write(this, ref structure);


#if FEATURE_NATIVE_SPAN
/// <summary>
/// Writes the sequence of bytes contained in source into the current memory stream and advances the current position within this memory stream by the number of bytes written.
Expand Down

0 comments on commit adc12ca

Please sign in to comment.