In our code, we have our own injection environment, which includes dependency injection, for example:
public class MyClass { [Component("ComponentName1")]
We do not want to add [CanBeNull]
or [NotNull]
, since it duplicates the semantics of the [Component]
and [OptionalComponent]
attributes.
Is it possible for Resharper to know the semantics of user attributes to help static analysis?
source share