Skip to content

Commit 4e89cc1

Browse files
author
iperevoschikov
committed
annotate inject attribute to prevent non-nullable field uninitialized warning
add tab indentation rule to editorconfig
1 parent 2b44045 commit 4e89cc1

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.editorconfig

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
; 4-column tab indentation
2+
[*.cs]
3+
indent_style = tab
4+
indent_size = 4
5+
tab_width = 4
6+

_Src/Container/Infection/InjectAttribute.cs

+2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
using System;
2+
using SimpleContainer.Annotations;
23

34
namespace SimpleContainer.Infection
45
{
56
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
7+
[MeansImplicitUse(ImplicitUseKindFlags.Assign)]
68
public class InjectAttribute : Attribute
79
{
810
}

0 commit comments

Comments
 (0)