Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #398 from itn3000/mpc-replace-buildalyzer
replacing Buildalyzer to MSBuild.StructuredLogger for Unity project(#386)
- Loading branch information
Showing
7 changed files
with
266 additions
and
98 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
using MessagePack; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace TestData2 | ||
{ | ||
[MessagePackObject(true)] | ||
public class A { public int a; public List<B> bs; public C c; } | ||
|
||
[MessagePackObject(true)] | ||
public class B { public List<A> ass; public C c; public int a; } | ||
|
||
[MessagePackObject(true)] | ||
public class C { public B b; public int a; } | ||
|
||
|
||
[MessagePackObject(true)] | ||
public class PropNameCheck1 | ||
{ | ||
public string MyProperty1 { get; set; } | ||
public virtual string MyProperty2 { get; set; } | ||
} | ||
|
||
[MessagePackObject(true)] | ||
public class PropNameCheck2 : PropNameCheck1 | ||
{ | ||
public override string MyProperty2 | ||
{ | ||
get => base.MyProperty2; | ||
set => base.MyProperty2 = value; } | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
sandbox/TestData.InvalidProject/TestData.InvalidProject.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,12 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>net461</TargetFramework> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="MessagePack" version="1.6.1" /> | ||
<PackageReference Include="System.Threading.Tasks.Extensions" version="4.5.1" /> | ||
<PackageReference Include="System.ValueTuple" version="4.5.0" /> | ||
<!-- deliberated msbuild error(source not found) --> | ||
<Compile Include="NotExist.cs"/> | ||
</ItemGroup> | ||
</Project> |
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,37 @@ | ||
using MessagePack; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace TestData.InvalidSyntax | ||
{ | ||
// delibrated syntax error | ||
abcde | ||
[MessagePackObject(true)] | ||
public class A { public int a; public List<B> bs; public C c; } | ||
|
||
[MessagePackObject(true)] | ||
public class B { public List<A> ass; public C c; public int a; } | ||
|
||
[MessagePackObject(true)] | ||
public class C { public B b; public int a; } | ||
|
||
|
||
[MessagePackObject(true)] | ||
public class PropNameCheck1 | ||
{ | ||
public string MyProperty1 { get; set; } | ||
public virtual string MyProperty2 { get; set; } | ||
} | ||
|
||
[MessagePackObject(true)] | ||
public class PropNameCheck2 : PropNameCheck1 | ||
{ | ||
public override string MyProperty2 | ||
{ | ||
get => base.MyProperty2; | ||
set => base.MyProperty2 = value; } | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
sandbox/TestData.InvalidSyntax/TestData.InvalidSyntax.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,10 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>net461</TargetFramework> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="MessagePack" version="1.6.1" /> | ||
<PackageReference Include="System.Threading.Tasks.Extensions" version="4.5.1" /> | ||
<PackageReference Include="System.ValueTuple" version="4.5.0" /> | ||
</ItemGroup> | ||
</Project> |
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
Oops, something went wrong.