Skip to content

Commit edecbcb

Browse files
committed
Fix summaries & symbols compiling
1 parent 25fbcc9 commit edecbcb

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

DFPWMStream.cs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,25 @@ public DFPWMStream(Profile profile, uint sampleRate)
8585
{
8686
Profile = profile ?? throw new ArgumentNullException(nameof(profile));
8787
if (sampleRate == 0)
88-
throw new ArgumentException("Sample rate must be greater than zero.", nameof(sampleRate));
88+
throw new ArgumentException("Sample rate must be greater than zero.",
89+
nameof(sampleRate));
8990
SampleRate = sampleRate;
9091
}
9192

9293

94+
/// <summary>
95+
/// Gets or sets the current position within the stream,
96+
/// automatically adapts to the last bit.
97+
/// </summary>
98+
///
99+
/// <returns>
100+
/// The current position within the stream.
101+
/// </returns>
102+
///
103+
/// <exception cref="ArgumentOutOfRangeException">
104+
/// </exception>
105+
/// <exception cref="ObjectDisposedException">
106+
/// </exception>
93107
public override long Position
94108
{
95109
get => base.Position;

MeowingDFPWM.csproj

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>warnings</Nullable>
88
<SignAssembly>False</SignAssembly>
9+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
10+
<IncludeSymbols>true</IncludeSymbols>
11+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
12+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
13+
<PrivateRepositoryUrl>https://github.com/0KepOnline/MeowingDFPWM</PrivateRepositoryUrl>
14+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
915
<Title>MeowingDFPWM</Title>
1016
<Authors>0KepOnline</Authors>
1117
<Description>DFPWM implementation for .NET with DFPWM/DFPWM1a profiles support.</Description>
@@ -17,7 +23,7 @@
1723
<PackageTags>dfpwm;dfpwm1a;computronics;opencomputers;computercraft;minecraft</PackageTags>
1824
<NeutralLanguage>en</NeutralLanguage>
1925
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
20-
<Version>1.0.1</Version>
26+
<Version>1.0.1</Version>
2127
</PropertyGroup>
2228

2329
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
@@ -29,6 +35,13 @@
2935
<DebugType>portable</DebugType>
3036
</PropertyGroup>
3137

38+
<ItemGroup>
39+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0">
40+
<PrivateAssets>all</PrivateAssets>
41+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
42+
</PackageReference>
43+
</ItemGroup>
44+
3245
<ItemGroup>
3346
<None Update="MeowingDFPWMIcon-128px.png">
3447
<Pack>True</Pack>

0 commit comments

Comments
 (0)