SafeForDependencyAnalysisAttribute Class |
Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 2023.0.3.0 (2023.0.3.0)
public sealed class SafeForDependencyAnalysisAttribute : Attribute
The SafeForDependencyAnalysisAttribute type exposes the following members.
Name | Description | |
---|---|---|
SafeForDependencyAnalysisAttribute | Initializes a new instance of the SafeForDependencyAnalysisAttribute class |
Getters of properties annotated with SafeForDependencyAnalysisAttribute should typically specify dependencies manually using the Depends class. Note that all dependencies that can be found using code analysis will be taken into account. The SafeForDependencyAnalysisAttribute only disables errors, but not the code analysis itself.