-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reproduce: global using alias with value type
- Loading branch information
Showing
8 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
Chickensoft.Introspection.Generator.Tests/test_cases/GlobalUsing.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#pragma warning disable IDE0005 // Using directive is unnecessary. | ||
global using MyExampleStruct = | ||
Chickensoft.Introspection.Generator.Tests.TestCases.ExampleStruct; | ||
global using MyOutsideExampleStruct = | ||
Chickensoft.Introspection.OutsideAssemblyForTests.ExampleStruct; | ||
#pragma warning restore IDE0005 // Using directive is unnecessary. |
3 changes: 3 additions & 0 deletions
3
Chickensoft.Introspection.Generator.Tests/test_cases/GlobalUsingValueType.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
namespace Chickensoft.Introspection.Generator.Tests.TestCases; | ||
|
||
public readonly record struct ExampleStruct; |
9 changes: 9 additions & 0 deletions
9
...spection.OutsideAssemblyForTests/Chickensoft.Introspection.OutsideAssemblyForTests.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net7.0</TargetFramework> | ||
<ImplicitUsings>disable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
</Project> |
3 changes: 3 additions & 0 deletions
3
Chickensoft.Introspection.OutsideAssemblyForTests/ExampleStruct.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
namespace Chickensoft.Introspection.OutsideAssemblyForTests; | ||
|
||
public readonly record struct ExampleStruct; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"sdk": { | ||
"version": "7.0.404", | ||
"version": "9.0.100", | ||
"rollForward": "latestMinor" | ||
}, | ||
"msbuild-sdks": { | ||
"Godot.NET.Sdk": "4.2.2" | ||
} | ||
} | ||
} |