Skip to content

Commit

Permalink
test: cross module
Browse files Browse the repository at this point in the history
  • Loading branch information
labbbirder committed Aug 24, 2023
1 parent 2446f50 commit 875d6cd
Show file tree
Hide file tree
Showing 11 changed files with 55 additions and 9,008 deletions.
10 changes: 6 additions & 4 deletions Runtime/InheritRetrieveAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
using System.Text;
using UnityEngine.Scripting;

namespace com.bbbirder {
namespace com.bbbirder
{
[Preserve]
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Interface,Inherited =true)]
public sealed partial class InheritRetrieveAttribute : DirectRetrieveAttribute{

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, Inherited = true)]
public sealed partial class InheritRetrieveAttribute : DirectRetrieveAttribute
{

}
}
2 changes: 1 addition & 1 deletion VSProj~/Benchmark/Benchmark.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Common\Common.csproj" />
<ProjectReference Include="..\Common\com.bbbirder.directattribute.csproj" />
</ItemGroup>

</Project>
File renamed without changes.
8 changes: 7 additions & 1 deletion VSProj~/DirectAttributes.sln
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DirectAttribute.sg", "Direc
{67AA7D27-D1EF-45D5-AF12-5DF829E62E5C} = {67AA7D27-D1EF-45D5-AF12-5DF829E62E5C}
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Common", "Common\Common.csproj", "{67AA7D27-D1EF-45D5-AF12-5DF829E62E5C}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "com.bbbirder.directattribute", "Common\com.bbbirder.directattribute.csproj", "{67AA7D27-D1EF-45D5-AF12-5DF829E62E5C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestApp", "TestApp\TestApp.csproj", "{57585AE4-D16F-42F4-A83C-2B17646B28A2}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Benchmark", "Benchmark\Benchmark.csproj", "{A45AA6DA-1035-4BAB-A82D-4CCF7446445D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OtherModule", "OtherModule\OtherModule.csproj", "{9DD16244-79CC-4633-AA99-F6D49A069653}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -36,6 +38,10 @@ Global
{A45AA6DA-1035-4BAB-A82D-4CCF7446445D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A45AA6DA-1035-4BAB-A82D-4CCF7446445D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A45AA6DA-1035-4BAB-A82D-4CCF7446445D}.Release|Any CPU.Build.0 = Release|Any CPU
{9DD16244-79CC-4633-AA99-F6D49A069653}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9DD16244-79CC-4633-AA99-F6D49A069653}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9DD16244-79CC-4633-AA99-F6D49A069653}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9DD16244-79CC-4633-AA99-F6D49A069653}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
14 changes: 14 additions & 0 deletions VSProj~/OtherModule/Class1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
using com.bbbirder;

namespace OtherModule
{
[InheritRetrieve]
public interface IOther
{

}
public class OtherBase : IOther
{

}
}
13 changes: 13 additions & 0 deletions VSProj~/OtherModule/OtherModule.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Common\com.bbbirder.directattribute.csproj" />
</ItemGroup>

</Project>
Loading

0 comments on commit 875d6cd

Please sign in to comment.