System.Attribute
E704373
System.Attribute is a base class in the .NET Framework that enables the creation and use of custom metadata annotations applied to program elements such as classes, methods, and properties.
All labels observed (1)
| Label | Occurrences |
|---|---|
| System.Attribute canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T7897302 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: System.Attribute Context triple: [System, containsType, System.Attribute]
-
A.
System.AttributeUsageAttribute
System.AttributeUsageAttribute is a .NET attribute class used to specify how and where other custom attributes can be applied in code, such as their valid targets and whether they can be used multiple times.
-
B.
C# attributes
C# attributes are metadata annotations in the C# programming language that allow developers to attach declarative information to code elements such as classes, methods, and properties, influencing compilation and runtime behavior.
-
C.
System.CLSCompliantAttribute
System.CLSCompliantAttribute is a .NET attribute used to indicate whether code elements comply with the Common Language Specification for cross-language interoperability.
-
D.
System.SerializableAttribute
System.SerializableAttribute is a C# attribute that marks a class or struct as capable of being serialized by the .NET runtime.
-
E.
System.Reflection.MethodAttributes
System.Reflection.MethodAttributes is an enumeration in .NET that defines flags describing the attributes and metadata characteristics of methods, such as visibility, scope, and special behavior.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: System.Attribute Target entity description: System.Attribute is a base class in the .NET Framework that enables the creation and use of custom metadata annotations applied to program elements such as classes, methods, and properties.
-
A.
System.AttributeUsageAttribute
System.AttributeUsageAttribute is a .NET attribute class used to specify how and where other custom attributes can be applied in code, such as their valid targets and whether they can be used multiple times.
-
B.
C# attributes
C# attributes are metadata annotations in the C# programming language that allow developers to attach declarative information to code elements such as classes, methods, and properties, influencing compilation and runtime behavior.
-
C.
System.CLSCompliantAttribute
System.CLSCompliantAttribute is a .NET attribute used to indicate whether code elements comply with the Common Language Specification for cross-language interoperability.
-
D.
System.SerializableAttribute
System.SerializableAttribute is a C# attribute that marks a class or struct as capable of being serialized by the .NET runtime.
-
E.
System.Reflection.MethodAttributes
System.Reflection.MethodAttributes is an enumeration in .NET that defines flags describing the attributes and metadata characteristics of methods, such as visibility, scope, and special behavior.
- F. None of above. chosen
Statements (54)
| Predicate | Object |
|---|---|
| instanceOf |
.NET class
ⓘ
System.Object subclass ⓘ base class ⓘ |
| baseClass | System.Object ⓘ |
| definedInAssembly |
System.Runtime
NERFINISHED
ⓘ
mscorlib NERFINISHED ⓘ |
| definedInNamespace | System NERFINISHED ⓘ |
| hasMethod |
Equals(object)
ⓘ
GetCustomAttribute(System.Reflection.MemberInfo, System.Type) ⓘ GetCustomAttribute(System.Reflection.MemberInfo, System.Type, bool) ⓘ GetCustomAttribute(System.Reflection.ParameterInfo, System.Type) ⓘ GetCustomAttributes(System.Reflection.MemberInfo) ⓘ GetCustomAttributes(System.Reflection.MemberInfo, System.Type) ⓘ GetCustomAttributes(System.Reflection.MemberInfo, System.Type, bool) ⓘ GetCustomAttributes(System.Reflection.MemberInfo, bool) ⓘ GetCustomAttributes(System.Reflection.ParameterInfo) ⓘ GetCustomAttributes(System.Reflection.ParameterInfo, System.Type) ⓘ GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, bool) ⓘ GetCustomAttributes(System.Reflection.ParameterInfo, bool) ⓘ GetHashCode() NERFINISHED ⓘ IsDefaultAttribute() ⓘ IsDefined(System.Reflection.MemberInfo, System.Type) ⓘ IsDefined(System.Reflection.MemberInfo, System.Type, bool) ⓘ IsDefined(System.Reflection.ParameterInfo, System.Type) ⓘ IsDefined(System.Reflection.ParameterInfo, System.Type, bool) ⓘ Match(object) ⓘ |
| hasProperty | TypeId ⓘ |
| introducedIn | .NET Framework 1.0 NERFINISHED ⓘ |
| isAbstract | false ⓘ |
| isPublic | true ⓘ |
| isSealed | true ⓘ |
| isSerializable | true ⓘ |
| languageSupport |
C#
NERFINISHED
ⓘ
F# NERFINISHED ⓘ VB.NET NERFINISHED ⓘ |
| partOfFramework |
.NET 5+
NERFINISHED
ⓘ
.NET Core NERFINISHED ⓘ .NET Framework NERFINISHED ⓘ |
| purpose |
enables custom metadata annotations on program elements
ⓘ
provides base functionality for custom attributes ⓘ |
| supportsUsageOn |
assembly
ⓘ
class ⓘ delegate ⓘ event ⓘ field ⓘ interface ⓘ method ⓘ module ⓘ parameter ⓘ property ⓘ return value ⓘ struct ⓘ |
| usagePattern | derived classes are applied using square bracket syntax in C# ⓘ |
| usedWith | System.AttributeUsageAttribute NERFINISHED ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: System.Attribute Description of subject: System.Attribute is a base class in the .NET Framework that enables the creation and use of custom metadata annotations applied to program elements such as classes, methods, and properties.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.