Skip to content

Commit 0ef9c72

Browse files
authored
Merge pull request #64 from Atypical-Consulting/feature/net8
Add .NET8 / C#12 support
2 parents 18b9a01 + d3d3ec0 commit 0ef9c72

File tree

11 files changed

+8
-54
lines changed

11 files changed

+8
-54
lines changed

Atypical.VirtualFileSystem.DemoCli/Atypical.VirtualFileSystem.DemoCli.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net7.0</TargetFramework>
6-
<ImplicitUsings>enable</ImplicitUsings>
7-
<Nullable>enable</Nullable>
85
</PropertyGroup>
96

107
<ItemGroup>

Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<Project>
22
<PropertyGroup>
3-
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
3+
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
44
<ImplicitUsings>enable</ImplicitUsings>
55
<Nullable>enable</Nullable>
6-
<LangVersion>11</LangVersion>
6+
<LangVersion>12</LangVersion>
77
<Company>Atypical Consulting SRL</Company>
88
</PropertyGroup>
99

docs/api/VFSException.VFSException(SerializationInfo,StreamingContext).md

Lines changed: 0 additions & 24 deletions
This file was deleted.

docs/api/VFSException.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ Inheritance [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.O
1616
| [VFSException()](VFSException.VFSException().md 'Atypical.VirtualFileSystem.Core.Exceptions.VFSException.VFSException()') | Initializes a new instance of the [VFSException](VFSException.md 'Atypical.VirtualFileSystem.Core.Exceptions.VFSException') class. |
1717
| [VFSException(string, Exception)](VFSException.VFSException(string,Exception).md 'Atypical.VirtualFileSystem.Core.Exceptions.VFSException.VFSException(string, System.Exception)') | Initializes a new instance of the [VFSException](VFSException.md 'Atypical.VirtualFileSystem.Core.Exceptions.VFSException') class with a message and an inner exception that is the cause<br/>of this exception. |
1818
| [VFSException(string)](VFSException.VFSException(string).md 'Atypical.VirtualFileSystem.Core.Exceptions.VFSException.VFSException(string)') | Initializes a new instance of the [VFSException](VFSException.md 'Atypical.VirtualFileSystem.Core.Exceptions.VFSException') class with a message that describes the error. |
19-
| [VFSException(SerializationInfo, StreamingContext)](VFSException.VFSException(SerializationInfo,StreamingContext).md 'Atypical.VirtualFileSystem.Core.Exceptions.VFSException.VFSException(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)') | Initializes a new instance of the [VFSException](VFSException.md 'Atypical.VirtualFileSystem.Core.Exceptions.VFSException') class with a specified error message and a reference to the<br/>inner exception that is the cause of this exception. |

docs/api/VirtualFileSystem.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,6 @@
217217
- **[VFSException(string, Exception)](VFSException.VFSException(string,Exception).md 'Atypical.VirtualFileSystem.Core.Exceptions.VFSException.VFSException(string, System.Exception)')** `Constructor` Initializes a new instance of the [VFSException](VFSException.md 'Atypical.VirtualFileSystem.Core.Exceptions.VFSException') class with a message and an inner exception that is the cause
218218
of this exception.
219219
- **[VFSException(string)](VFSException.VFSException(string).md 'Atypical.VirtualFileSystem.Core.Exceptions.VFSException.VFSException(string)')** `Constructor` Initializes a new instance of the [VFSException](VFSException.md 'Atypical.VirtualFileSystem.Core.Exceptions.VFSException') class with a message that describes the error.
220-
- **[VFSException(SerializationInfo, StreamingContext)](VFSException.VFSException(SerializationInfo,StreamingContext).md 'Atypical.VirtualFileSystem.Core.Exceptions.VFSException.VFSException(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)')** `Constructor` Initializes a new instance of the [VFSException](VFSException.md 'Atypical.VirtualFileSystem.Core.Exceptions.VFSException') class with a specified error message and a reference to the
221-
inner exception that is the cause of this exception.
222220

223221
<a name='Atypical.VirtualFileSystem.Core.Models'></a>
224222

docs/links

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ T:Atypical.VirtualFileSystem.Core.Models.RootNode|RootNode.md|RootNode
8181
M:Atypical.VirtualFileSystem.Core.Exceptions.VFSException.#ctor|VFSException.VFSException().md|VFSException()
8282
M:Atypical.VirtualFileSystem.Core.Exceptions.VFSException.#ctor(System.String)|VFSException.VFSException(string).md|VFSException(string)
8383
M:Atypical.VirtualFileSystem.Core.Exceptions.VFSException.#ctor(System.String,System.Exception)|VFSException.VFSException(string,Exception).md|VFSException(string, Exception)
84-
M:Atypical.VirtualFileSystem.Core.Exceptions.VFSException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)|VFSException.VFSException(SerializationInfo,StreamingContext).md|VFSException(SerializationInfo, StreamingContext)
8584
N:Atypical.VirtualFileSystem.Core.Exceptions|VirtualFileSystem.md#Atypical.VirtualFileSystem.Core.Exceptions|Atypical.VirtualFileSystem.Core.Exceptions
8685
T:Atypical.VirtualFileSystem.Core.Exceptions.VFSException|VFSException.md|VFSException
8786
P:Atypical.VirtualFileSystem.Core.Contracts.IDirectoryNode.Directories|IDirectoryNode.Directories.md|Directories

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "7.0.0",
3+
"version": "8.0.0",
44
"rollForward": "latestMajor",
55
"allowPrerelease": true
66
}

src/Atypical.VirtualFileSystem.Core/Atypical.VirtualFileSystem.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<PrivateAssets>all</PrivateAssets>
2222
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2323
</PackageReference>
24-
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
24+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0" />
2525
</ItemGroup>
2626

2727
<!-- NuGet metadata -->

src/Atypical.VirtualFileSystem.Core/Contracts/IRootNode.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,4 @@ namespace Atypical.VirtualFileSystem.Core.Contracts;
1010
/// Represents the root of a virtual file system.
1111
/// This is the entry point for all operations on the file system.
1212
/// </summary>
13-
public interface IRootNode : IDirectoryNode
14-
{
15-
}
13+
public interface IRootNode : IDirectoryNode;

src/Atypical.VirtualFileSystem.Core/Exceptions/VFSException.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
// This source code is licensed under the BSD-style license found in the
55
// LICENSE file in the root directory of this source tree.
66

7-
using System.Runtime.Serialization;
8-
97
namespace Atypical.VirtualFileSystem.Core.Exceptions;
108

119
/// <summary>
@@ -43,16 +41,5 @@ public VFSException(string message, Exception innerException)
4341
: base(message, innerException)
4442
{
4543
}
46-
47-
/// <summary>
48-
/// Initializes a new instance of the <see cref="VFSException"/> class with a specified error message and a reference to the
49-
/// inner exception that is the cause of this exception.
50-
/// </summary>
51-
/// <param name="info">The <see cref="SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
52-
/// <param name="context">The <see cref="StreamingContext"/> that contains contextual information about the source or destination.</param>
53-
protected VFSException(SerializationInfo info, StreamingContext context)
54-
: base(info, context)
55-
{
56-
}
5744
}
5845

0 commit comments

Comments
 (0)