This repository has been archived by the owner on May 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/neuecc/ZeroFormatter.git
- Loading branch information
Showing
45 changed files
with
3,974 additions
and
2,877 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
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
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,4 +1,4 @@ | ||
REM nuget push ZeroFormatter.Analyzer.1.1.1.0.nupkg -Source https://www.nuget.org/api/v2/package | ||
nuget push ZeroFormatter.1.5.2.nupkg -Source https://www.nuget.org/api/v2/package | ||
nuget push ZeroFormatter.Interfaces.1.5.2.nupkg -Source https://www.nuget.org/api/v2/package | ||
nuget push ZeroFormatter.Unity.1.5.2.nupkg -Source https://www.nuget.org/api/v2/package | ||
nuget push ZeroFormatter.1.5.4.nupkg -Source https://www.nuget.org/api/v2/package | ||
nuget push ZeroFormatter.Interfaces.1.5.4.nupkg -Source https://www.nuget.org/api/v2/package | ||
nuget push ZeroFormatter.Unity.1.5.4.nupkg -Source https://www.nuget.org/api/v2/package |
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
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using ZeroFormatter; | ||
|
||
namespace Sandbox.Shared | ||
{ | ||
public enum StandardEnum | ||
{ | ||
A, B, C | ||
} | ||
|
||
[ZeroFormattable] | ||
public class EnumGenChecker | ||
{ | ||
[Index(0)] | ||
public virtual ILazyLookup<KeyTuple<int, StandardEnum, string>, int> MyProperty { get; set; } | ||
//[Index(1)] | ||
//public virtual StandardEnum MyProperty2 { get; set; } | ||
} | ||
} |
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,73 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using ZeroFormatter; | ||
|
||
namespace Sandbox.Shared | ||
{ | ||
public class InnerClassA | ||
{ | ||
public enum InnerEnum | ||
{ | ||
A, B, C | ||
} | ||
|
||
[ZeroFormattable] | ||
public class InnerObject | ||
{ | ||
[Index(0)] | ||
public virtual int MyProperty { get; set; } | ||
} | ||
} | ||
|
||
public class InnerClassB | ||
{ | ||
public enum InnerEnum | ||
{ | ||
A, B, C | ||
} | ||
|
||
private enum NgGenerateEnum | ||
{ | ||
A, B, C | ||
} | ||
|
||
enum NgGenerateEnum2 | ||
{ | ||
Z | ||
} | ||
|
||
[ZeroFormattable] | ||
public class InnerObject | ||
{ | ||
[Index(0)] | ||
public virtual int MyProperty { get; set; } | ||
|
||
|
||
[Index(1)] | ||
public virtual InsideEnum MyProperty2 { get; set; } | ||
|
||
|
||
[Index(2)] | ||
public virtual TypeCode MyProperty3 { get; set; } | ||
} | ||
} | ||
|
||
[ZeroFormattable] | ||
class InternalOkGenerateType | ||
{ | ||
[Index(0)] | ||
public virtual int MyProperty { get; set; } | ||
} | ||
|
||
public enum OutSideEnum | ||
{ | ||
A, B, C | ||
} | ||
|
||
public enum InsideEnum | ||
{ | ||
A, B, C | ||
} | ||
} |
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
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
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.