Skip to content

Commit

Permalink
chore: Added missing documentation and remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
SOsterbrink committed Nov 17, 2023
1 parent 6086c53 commit 3abdc02
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
-->
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<NoWarn>$(NoWarn),1573,1591,1712</NoWarn>
<WarningLevel>4</WarningLevel>
</PropertyGroup>


Expand Down
3 changes: 1 addition & 2 deletions src/dscom.demo/assembly1/assembly1.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<AnalysisMode>Recommended</AnalysisMode>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<NoWarn>CA1416;CA1401;CA1707;CA1720;CA1711;CA2201;CA1200;CA5351;CS0618;CA1305;</NoWarn>
<NoWarn>CA1416;CA1401;CA1707;CA1720;CA1711;CA2201;CA1200;CA5351;CS0618;CA1305;CS1591</NoWarn>
<Platforms>AnyCPU;x86</Platforms>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<!-- <EnableComHosting>true</EnableComHosting> -->
</PropertyGroup>

Expand Down
9 changes: 9 additions & 0 deletions src/dscom/internal/structs/CUSTDATA.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,19 @@ namespace dSPACE.Runtime.InteropServices.ComTypes.Internal;
[ExcludeFromCodeCoverage]
public struct CUSTDATA
{
/// <summary>
/// The cCustData
/// </summary>
public uint cCustData;

/// <summary>
/// And <see cref="IntPtr"/> to the prgCustData.
/// </summary>
public IntPtr prgCustData;

/// <summary>
/// The CUSTDATAITEM items
/// </summary>
[SuppressMessage("Style", "IDE0004:Remove Unnecessary Cast", Justification = "Required for ambiguous signature match.")]
public CUSTDATAITEM[] Items
{
Expand Down

0 comments on commit 3abdc02

Please sign in to comment.