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"> | |
<!-- Pattern to match classes used by Unity that contain serialised fields | |
and event function methods. Based on the standard "Default Pattern", | |
this will also order event functions before normal methods, and does | |
not reorder serialised fields, as this order is reflected in the Unity | |
editor's Inspector --> | |
<TypePattern DisplayName="Unity classes" Priority="100"> | |
<TypePattern.Match> |
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
<?xml version="1.0" encoding="utf-16"?> | |
<Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns"> | |
<!-- Non-reorderable types --> | |
<TypePattern DisplayName="Non-reorderable types"> | |
<TypePattern.Match> | |
<Or> | |
<And> | |
<Kind Is="Interface" /> |
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")] |