Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump System.Security.Permissions from 7.0.0 to 8.0.0 #1676

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Documentation/CodeTutorials/Packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
| SixLabors.ImageSharp.Drawing | [GitHub](https://github.com/SixLabors/ImageSharp.Drawing) | [Apache 2.0](https://github.com/SixLabors/ImageSharp/blob/main/LICENSE) | Font handling for ImageSharp | |
| System.Threading.AccessControl | [GitHub](https://github.com/dotnet/runtime) |[MIT](https://opensource.org/licenses/MIT) | Required by Scintilla for sync primitives | |
| System.Threading.ThreadPool | [GitHub](https://github.com/dotnet/corefx) |[MIT](https://opensource.org/licenses/MIT) | Required to compile native linux binaries | |
| System.Security.Permissions |[GitHub](https://github.com/dotnet/corefx) |[MIT](https://opensource.org/licenses/MIT) | Provides common types for Xml doc reading in UI code | |
| [AutoComplete Console](https://www.codeproject.com/Articles/1182358/Using-Autocomplete-in-Windows-Console-Applications) by Jasper Lammers | Embedded | [CPOL](https://www.codeproject.com/info/cpol10.aspx) | Provides interactive autocomplete in console input | |
| System.Resources.Extensions | [GitHub](https://github.com/dotnet/corefx) | [MIT](https://opensource.org/licenses/MIT) | Allows [publishing with dotnet publish on machines with netcoreapp3.0 SDK installed](https://github.com/microsoft/msbuild/issues/4704#issuecomment-530034240) | |
| Spectre.Console | [GitHub](https://github.com/spectreconsole/spectre.console) | [MIT](https://opensource.org/licenses/MIT) | Allows richer command line interactions| |
Expand Down
6 changes: 3 additions & 3 deletions Rdmp.Core/Reports/DublinCore/DublinCoreDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System;
using System.IO;
using System.Linq;
using System.Security;
using System.Xml;
using System.Xml.Linq;

namespace Rdmp.Core.Reports.DublinCore;
Expand Down Expand Up @@ -105,7 +105,7 @@ public void WriteXml(Stream to)
public void LoadFrom(XElement element)
{
if (element.Name != "metadata")
throw new XmlSyntaxException($"Expected metadata element but got {element}");
throw new XmlException($"Expected metadata element but got {element}");

var descendants = element.Descendants().ToArray();
Title = GetElement(descendants, "title", true);
Expand Down Expand Up @@ -137,7 +137,7 @@ private static string GetElement(XElement[] descendants, string tagLocalName, bo
e.Name.LocalName.Equals(tagLocalName, StringComparison.CurrentCultureIgnoreCase));

if (match == null)
return mandatory ? throw new XmlSyntaxException($"Failed to find mandatory tag {tagLocalName}") : null;
return mandatory ? throw new XmlException($"Failed to find mandatory tag {tagLocalName}") : null;

return match.Value.Trim();
}
Expand Down
1 change: 0 additions & 1 deletion Rdmp.UI/Rdmp.UI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
</PackageReference>
<PackageReference Include="ObjectListView.Repack.NET6Plus" Version="2.9.4" />
<PackageReference Include="Scintilla.NET" Version="5.3.2.9" />
<PackageReference Include="System.Security.Permissions" Version="7.0.0" />
<PackageReference Include="System.Resources.Extensions" Version="7.0.0" />
<PackageReference Include="System.Threading.AccessControl" Version="7.0.1" />
<PackageReference Include="VPKSoft.ScintillaLexers.NET" Version="1.1.16" />
Expand Down