System.Reflection.DefaultMemberAttribute
E697553
System.Reflection.DefaultMemberAttribute is a .NET attribute used to designate the default member (such as an indexer or property) of a class or type for reflection and language binding purposes.
All labels observed (1)
| Label | Occurrences |
|---|---|
| System.Reflection.DefaultMemberAttribute canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T7897596 — 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.Reflection.DefaultMemberAttribute Context triple: [System.Reflection, containsType, System.Reflection.DefaultMemberAttribute]
-
A.
System.Reflection
System.Reflection is a .NET namespace that provides types and APIs for inspecting and interacting with metadata about assemblies, modules, and types at runtime.
-
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.
Common Type System
The Common Type System is a core component of the .NET architecture that defines how data types are declared, used, and managed across different .NET languages to ensure interoperability and type safety.
-
D.
System.Collections
System.Collections is a .NET namespace that provides fundamental interfaces and classes for working with non-generic collections such as lists, queues, arrays, and dictionaries.
-
E.
ECMA-335
ECMA-335 is the international standard that defines the Common Language Infrastructure (CLI), including the core runtime, type system, and metadata used by .NET languages.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: System.Reflection.DefaultMemberAttribute Target entity description: System.Reflection.DefaultMemberAttribute is a .NET attribute used to designate the default member (such as an indexer or property) of a class or type for reflection and language binding purposes.
-
A.
System.Reflection
System.Reflection is a .NET namespace that provides types and APIs for inspecting and interacting with metadata about assemblies, modules, and types at runtime.
-
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.
Common Type System
The Common Type System is a core component of the .NET architecture that defines how data types are declared, used, and managed across different .NET languages to ensure interoperability and type safety.
-
D.
System.Collections
System.Collections is a .NET namespace that provides fundamental interfaces and classes for working with non-generic collections such as lists, queues, arrays, and dictionaries.
-
E.
ECMA-335
ECMA-335 is the international standard that defines the Common Language Infrastructure (CLI), including the core runtime, type system, and metadata used by .NET languages.
- F. None of above. chosen
Statements (47)
| Predicate | Object |
|---|---|
| instanceOf |
.NET class
ⓘ
System.Attribute subclass ⓘ attribute class ⓘ |
| appliesTo |
class
ⓘ
interface ⓘ struct ⓘ |
| assembly |
System.Runtime
NERFINISHED
ⓘ
mscorlib NERFINISHED ⓘ |
| attributeUsage |
AllowMultiple = false
ⓘ
AttributeTargets.Class ⓘ AttributeTargets.Interface ⓘ AttributeTargets.Struct ⓘ Inherited = false ⓘ |
| canBeAccessedVia |
System.Type.GetCustomAttributes
NERFINISHED
ⓘ
System.Type.GetDefaultMembers NERFINISHED ⓘ |
| category | reflection attribute ⓘ |
| defaultMemberAffects |
Type.GetDefaultMembers result
ⓘ
Type.InvokeMember default member resolution ⓘ |
| definedIn |
.NET 5+
NERFINISHED
ⓘ
.NET Core NERFINISHED ⓘ .NET Framework NERFINISHED ⓘ |
| fullName | System.Reflection.DefaultMemberAttribute NERFINISHED ⓘ |
| hasConstructor | DefaultMemberAttribute(string memberName) ⓘ |
| hasProperty | string MemberName { get; } ⓘ |
| inheritsFrom | System.Attribute NERFINISHED ⓘ |
| introducedIn | .NET Framework 1.0 NERFINISHED ⓘ |
| isCLSCompliant | true ⓘ |
| isPublic | true ⓘ |
| isSealed | true ⓘ |
| isSerializable | true ⓘ |
| languageSyntaxCSharp | [DefaultMember("Item")] ⓘ |
| languageSyntaxVB | <DefaultMember("Item")> ⓘ |
| memberNameStoredAs | string ⓘ |
| namespace | System.Reflection NERFINISHED ⓘ |
| purpose |
designate default member of a type
ⓘ
support language binding ⓘ support reflection ⓘ |
| relatedTo |
System.Reflection.MemberInfo
NERFINISHED
ⓘ
System.Type NERFINISHED ⓘ indexer implementation in C# ⓘ |
| usedBy |
COM interop
ⓘ
language binders ⓘ reflection ⓘ |
| usedFor |
default property designation in VB.NET
ⓘ
indexer designation in C# ⓘ |
| usedImplicitlyBy |
C# compiler for indexers
ⓘ
VB.NET compiler for default properties ⓘ |
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.Reflection.DefaultMemberAttribute Description of subject: System.Reflection.DefaultMemberAttribute is a .NET attribute used to designate the default member (such as an indexer or property) of a class or type for reflection and language binding purposes.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.