Contains classes for interaction with code analysis tools. These tools are used to analyze code for conformance to coding conventions such as naming or security rules.
Classes AllowNullAttributeSpecifies that null
is allowed as an input even if the corresponding type disallows it.
Indicates that the specified method parameter expects a constant.
DisallowNullAttributeSpecifies that null
is disallowed as an input even if the corresponding type allows it.
Specifies that a method will never return under any circumstance.
DoesNotReturnIfAttributeSpecifies that the method will not return if the associated Boolean parameter is passed the specified value.
DynamicallyAccessedMembersAttributeIndicates that certain members on a specified Type are accessed dynamically, for example, through System.Reflection.
DynamicDependencyAttributeStates a dependency that one member has on another.
ExcludeFromCodeCoverageAttributeSpecifies that the attributed code should be excluded from code coverage information.
ExperimentalAttributeIndicates that an API is experimental and it may change in the future.
FeatureGuardAttributeIndicates that the specified public static Boolean read-only property guards access to the specified feature.
FeatureSwitchDefinitionAttributeIndicates that the specified public static Boolean read-only property corresponds to the feature switch specified by name.
MaybeNullAttributeSpecifies that an output may be null
even if the corresponding type disallows it.
Specifies that when a method returns ReturnValue, the parameter may be null
even if the corresponding type disallows it.
Specifies that the method or property will ensure that the listed field and property members have values that aren't null
.
Specifies that the method or property will ensure that the listed field and property members have non-null values when returning with the specified return value condition.
NotNullAttributeSpecifies that an output is not null
even if the corresponding type allows it. Specifies that an input argument was not null
when the call returns.
Specifies that the output will be non-null if the named parameter is non-null.
NotNullWhenAttributeSpecifies that when a method returns ReturnValue, the parameter will not be null
even if the corresponding type allows it.
Indicates that the specified member requires assembly files to be on disk.
RequiresDynamicCodeAttributeIndicates that the specified method requires the ability to generate new code at runtime, for example through System.Reflection.
RequiresUnreferencedCodeAttributeIndicates that the specified method requires dynamic access to code that is not referenced statically, for example, through System.Reflection.
SetsRequiredMembersAttributeSpecifies that this constructor sets all required members for the current type, and callers do not need to set any required members themselves.
StringSyntaxAttributeSpecifies the syntax used in a string.
SuppressMessageAttributeSuppresses reporting of a specific code analysis rule violation, allowing multiple suppressions on a single code artifact. Does not apply to compiler diagnostics.
UnconditionalSuppressMessageAttributeSuppresses reporting of a specific rule violation, allowing multiple suppressions on a single code artifact.
UnscopedRefAttributeUsed to indicate a byref escapes and is not scoped.
EnumsCollaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4