8.3 KiB
source_files, generated_at, model, schema_version, sha256
| source_files | generated_at | model | schema_version | sha256 | ||
|---|---|---|---|---|---|---|
|
2026-04-17T15:58:16.438375+00:00 | zai-org/GLM-5-FP8 | 1 | 6bc3500d0b0ec694 |
ISOSettings Module Documentation
1. Purpose
This module provides assembly metadata and JetBrains ReSharper external annotations for the ISOSettings component within the DataPRO/Modules/SystemSettings subsystem. The AssemblyInfo.cs file defines standard .NET assembly identity information (version 1.0.0.0, copyright 2016), while Annotations.cs supplies static analysis attributes that enable enhanced IDE inspections for nullability, contracts, MVC/Razor development, and code quality warnings. These annotations are design-time constructs and have no runtime behavior.
2. Public Interface
AssemblyInfo.cs (Assembly-Level Attributes)
| Attribute | Value |
|---|---|
AssemblyTitle |
"ISOSettings" |
AssemblyDescription |
"" (empty) |
AssemblyConfiguration |
"" (empty) |
AssemblyCompany |
"" (empty) |
AssemblyProduct |
"ISOSettings" |
AssemblyCopyright |
"Copyright © 2016" |
AssemblyTrademark |
"" (empty) |
AssemblyCulture |
"" (empty) |
ComVisible |
false |
Guid |
"7446722e-490d-4f6a-beaf-907947e576d5" |
AssemblyVersion |
"1.0.0.0" |
AssemblyFileVersion |
"1.0.0.0" |
Annotations.cs (Namespace: ISOSettings.Annotations)
This file defines 70+ attribute classes for ReSharper static analysis. Key categories include:
Nullability Attributes
CanBeNullAttribute— Marks elements that may benull; consumers must check before use.NotNullAttribute— Marks elements that should never benull.ItemNotNullAttribute— ForIEnumerable,Task, orLazy<T>: indicates items/Result/Value are never null.ItemCanBeNullAttribute— ForIEnumerable,Task, orLazy<T>: indicates items/Result/Value may be null.ImplicitNotNullAttribute— Implicitly applies[NotNull]/[ItemNotNull]to all members in a scope.
Contract & Method Behavior Attributes
ContractAnnotationAttribute— Describes input/output dependencies (e.g.,"null => null; notnull => notnull").PureAttribute— Marks methods with no observable state changes.MustUseReturnValueAttribute— Requires the return value to be used.AssertionMethodAttribute/AssertionConditionAttribute— Marks assertion methods and their condition parameters.TerminatesProgramAttribute— [Obsolete: useContractAnnotation("=> halt")] Marks methods that unconditionally halt execution.InstantHandleAttribute— Indicates a parameter is fully handled during method execution.LinqTunnelAttribute— Marks pure LINQ methods with postponed enumeration.NoEnumerationAttribute— Indicates anIEnumerableparameter is not enumerated.
String & Format Attributes
StringFormatMethodAttribute— Marks methods that use format strings; constructor takesformatParameterName.RegexPatternAttribute— Marks a parameter as a regular expression pattern.
Property Change Notification
NotifyPropertyChangedInvocatorAttribute— Marks methods used to raiseINotifyPropertyChangedevents.
Implicit Usage Tracking
UsedImplicitlyAttribute— Marks symbols used via reflection or external code.MeansImplicitUseAttribute— Applied to attributes to prevent "unused" warnings on marked symbols.PublicAPIAttribute— Marks public API that should not be removed.
ASP.NET MVC Attributes
AspMvcActionAttribute,AspMvcAreaAttribute,AspMvcControllerAttribute,AspMvcMasterAttribute,AspMvcModelTypeAttribute,AspMvcPartialViewAttribute,AspMvcViewAttribute,AspMvcViewComponentAttribute,AspMvcViewComponentViewAttribute,AspMvcActionSelectorAttribute,AspMvcDisplayTemplateAttribute,AspMvcEditorTemplateAttribute,AspMvcTemplateAttribute,AspMvcSuppressViewErrorAttribute- Location format attributes:
AspMvcAreaMasterLocationFormatAttribute,AspMvcAreaPartialViewLocationFormatAttribute,AspMvcAreaViewLocationFormatAttribute,AspMvcMasterLocationFormatAttribute,AspMvcPartialViewLocationFormatAttribute,AspMvcViewLocationFormatAttribute
Razor Attributes
RazorSectionAttribute,RazorImportNamespaceAttribute,RazorInjectionAttribute,RazorDirectiveAttribute,RazorHelperCommonAttribute,RazorLayoutAttribute,RazorWriteLiteralMethodAttribute,RazorWriteMethodAttribute,RazorWriteMethodParameterAttribute
Collection Access
CollectionAccessAttribute— Indicates how a method affects collection content. UsesCollectionAccessTypeenum (None,Read,ModifyExistingContent,UpdatedContent).
XAML Attributes
XamlItemsControlAttribute,XamlItemBindingOfItemsControlAttribute
Other Attributes
LocalizationRequiredAttribute,CannotApplyEqualityOperatorAttribute,BaseTypeRequiredAttribute,ValueProviderAttribute,InvokerParameterNameAttribute,PathReferenceAttribute,SourceTemplateAttribute,MacroAttribute,ProvidesContextAttribute,HtmlElementAttributesAttribute,HtmlAttributeValueAttribute,NoReorder- ASP.NET Web Forms:
AspChildControlTypeAttribute,AspDataFieldAttribute,AspDataFieldsAttribute,AspMethodPropertyAttribute,AspRequiredAttributeAttribute,AspTypePropertyAttribute
Supporting Enums
ImplicitUseKindFlags— Flags:Default,Access,Assign,InstantiatedWithFixedConstructorSignature,InstantiatedNoFixedConstructorSignatureImplicitUseTargetFlags— Flags:Default,Itself,Members,WithMembersCollectionAccessType— Flags:None,Read,ModifyExistingContent,UpdatedContentAssertionConditionType—IS_TRUE,IS_FALSE,IS_NULL,IS_NOT_NULL
3. Invariants
- Assembly Identity: The assembly
ISOSettingsis identified by GUID7446722e-490d-4f6a-beaf-907947e576d5and version1.0.0.0. - COM Visibility: All types in this assembly are COM-invisible (
ComVisible(false)). - Annotation Namespace: All annotation attributes reside in
ISOSettings.Annotationsnamespace. - Design-Time Only: Attributes in
Annotations.csare metadata-only; they do not affect runtime behavior. - License:
Annotations.csis MIT-licensed from JetBrains (copyright 2016). - Compiler Warnings: The file disables warning 1591 (missing XML documentation) and suppresses several ReSharper inspections at file level.
4. Dependencies
Imports (what this module depends on)
System.Reflection— For assembly metadata attributes.System.Runtime.CompilerServices— For compiler-related attributes.System.Runtime.InteropServices— For COM interop attributes (ComVisible,Guid).System— Base types for annotation attributes.
Consumers (what depends on this module)
- Unclear from source alone — The
ISOSettingsassembly appears to be part of a largerDataPRO/Modules/SystemSettingssubsystem, but no consuming code is present in these files. The annotations suggest integration with ASP.NET MVC, Razor, and XAML-based components.
5. Gotchas
-
Empty Metadata Fields:
AssemblyDescription,AssemblyConfiguration,AssemblyCompany,AssemblyTrademark, andAssemblyCultureare all empty strings. This may indicate incomplete assembly configuration or placeholder values. -
Obsolete Attribute:
TerminatesProgramAttributeis marked[Obsolete("Use [ContractAnnotation('=> halt')] instead")]. New code should useContractAnnotationAttribute. -
Version Stagnation: Both
AssemblyVersionandAssemblyFileVersionare1.0.0.0, suggesting this may be an initial/unmaintained version or the version is managed elsewhere (e.g., CI/CD). -
Third-Party Annotations: The
Annotations.csfile is a standard JetBrains annotations file. It should be kept in sync with ReSharper versions if updated annotations are needed. -
Warning Suppressions: The annotations file suppresses warning 1591 and multiple ReSharper inspections globally via
#pragma warning disableand// ReSharper disabledirectives. This may hide legitimate issues in this file.