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
<Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns"> | |
<!-- Non-reorderable types --> | |
<TypePattern DisplayName="Non-reorderable types" Priority="99999999"> | |
<TypePattern.Match> | |
<Or> | |
<And> | |
<Kind Is="Interface" /> | |
<Or> | |
<HasAttribute Name="System.Runtime.InteropServices.InterfaceTypeAttribute" /> |
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
# Remove the line below if you want to inherit .editorconfig settings from higher directories | |
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
trim_trailing_whitespace = true | |
insert_final_newline = false | |
indent_style = space | |
indent_size = 4 |
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
# Treat everything not text if not specified | |
# Avoid crlf messing up things like .asset and ProjectSettings (But we'd like to diff so we do not assign binary[-text -diff] tag) | |
# You should never do line ending conversion on .asset, .asset could be CRLF(ProjectSettings) LF(Tile set config) or binary even if forced text(Lighting, Terrain and NavMesh Data) | |
* -text | |
# Unity visible meta is LF regardless of created platform | |
*.meta text eol=lf | |
# All extensions are specified in lower cases | |
# [git config core.ignorecase true] is assumed. |
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
#!/bin/sh | |
# | |
# An example hook script to verify what is about to be committed. | |
# Called by "git commit" with no arguments. The hook should | |
# exit with non-zero status after issuing an appropriate message if | |
# it wants to stop the commit. | |
# | |
# To enable this hook, rename this file to "pre-commit". | |
# Redirect output to stderr. |
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
<Project> | |
<PropertyGroup> | |
<NoWarn>CA1062</NoWarn> | |
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild> | |
</PropertyGroup> | |
<ItemGroup> | |
<PackageReference Include="AsyncFixer" Version="1.6.0"> | |
<PrivateAssets>all</PrivateAssets> | |
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
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
# NOTE: Requires **VS2019 16.3** or later | |
# StyleCop.Analyzers rules with default action | |
# Description: StyleCop.Analyzers with default action. Rules with IsEnabledByDefault = false are disabled. | |
# Code files | |
[*.{cs,vb}] | |
# Use the LoggerMessage delegates |
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
# Remove the line below if you want to inherit .editorconfig settings from higher directories | |
root = true | |
[*] | |
charset = utf-8-bom | |
end_of_line = crlf | |
trim_trailing_whitespace = true | |
insert_final_newline = false | |
indent_style = space | |
indent_size = 4 |
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
<Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns" | |
xmlns:unity="urn:schemas-jetbrains-com:member-reordering-patterns-unity"> | |
<!-- StyleCop Unity Classes Layout --> | |
<TypePattern DisplayName="StyleCop Unity Classes Layout" RemoveRegions="All" Priority="150"> | |
<TypePattern.Match> | |
<unity:SerializableClass /> | |
</TypePattern.Match> | |
<Region Name="Constants and Fields"> | |
<Entry DisplayName="Constants"> |
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
<Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns"> | |
<!-- Non-reorderable types --> | |
<TypePattern DisplayName="Non-reorderable types" Priority="99999999"> | |
<TypePattern.Match> | |
<Or> | |
<And> | |
<Kind Is="Interface" /> | |
<Or> | |
<HasAttribute Name="System.Runtime.InteropServices.InterfaceTypeAttribute" /> |
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
/// <summary> | |
/// Static helper class to debug failed MEF composition. | |
/// </summary> | |
public static class MefDebuggingHelper | |
{ | |
/// <summary> | |
/// Writes missing import definitions to the debug console. | |
/// </summary> | |
/// <param name="container"></param> | |
[Conditional("DEBUG")] |