PublicApiAggregatedSymbol Class
A type or a member of an PublicApiAggregatedAssembly, identified by its documentation ID.
public sealed class PublicApiAggregatedSymbolProperties
| Name | Description |
|---|---|
| Assembly | |
| DeclaringType | Gets the aggregated type that declares the symbol, or null for top-level types. |
| Differences | Gets the parts of the declaration that differ between the variants. |
| DocumentationId | |
| ExtensionMembers | Gets the members of the C# 14 extension blocks of a static class, from all the target frameworks (see PublicApiType.ExtensionBlocks). They are matched by documentation ID and sorted as PublicApiAggregatedSymbol.Members. |
| IsAvailableInAllTargetFrameworks | |
| Kind | |
| Members | Gets the members of a type, from all the target frameworks. They are sorted as PublicApiType.Members. |
| Name | |
| NestedTypes | Gets the nested types of a type, from all the target frameworks. |
| Symbols | Gets the symbol of each target framework of PublicApiAggregatedSymbol.TargetFrameworks, in the same order. |
| TargetFrameworks | Gets the target frameworks that declare the symbol. |
| Variants | Gets the distinct declarations of the symbol. There is a single variant when all the target frameworks share the same declaration. |
Assembly
PublicApiAggregatedSymbol.csDeclaringType
PublicApiAggregatedSymbol.csGets the aggregated type that declares the symbol, or null for top-level types.
public PublicApiAggregatedSymbol? DeclaringType { get; }Property value
Differences
PublicApiAggregatedSymbol.csGets the parts of the declaration that differ between the variants.
public PublicApiSymbolDifferences Differences { get; }Property value
DocumentationId
PublicApiAggregatedSymbol.csExtensionMembers
PublicApiAggregatedSymbol.csGets the members of the C# 14 extension blocks of a static class, from all the target frameworks (see PublicApiType.ExtensionBlocks). They are matched by documentation ID and sorted as PublicApiAggregatedSymbol.Members.
public ImmutableArray<PublicApiAggregatedSymbol> ExtensionMembers { get; }Property value
IsAvailableInAllTargetFrameworks
PublicApiAggregatedSymbol.csMembers
PublicApiAggregatedSymbol.csGets the members of a type, from all the target frameworks. They are sorted as PublicApiType.Members.
public ImmutableArray<PublicApiAggregatedSymbol> Members { get; }Property value
NestedTypes
PublicApiAggregatedSymbol.csGets the nested types of a type, from all the target frameworks.
public ImmutableArray<PublicApiAggregatedSymbol> NestedTypes { get; }Property value
Symbols
PublicApiAggregatedSymbol.csGets the symbol of each target framework of PublicApiAggregatedSymbol.TargetFrameworks, in the same order.
public ImmutableArray<PublicApiSymbol> Symbols { get; }Property value
TargetFrameworks
PublicApiAggregatedSymbol.csGets the target frameworks that declare the symbol.
public ImmutableArray<string> TargetFrameworks { get; }Property value
Variants
PublicApiAggregatedSymbol.csGets the distinct declarations of the symbol. There is a single variant when all the target frameworks share the same declaration.
public ImmutableArray<PublicApiSymbolVariant> Variants { get; }Property value
Methods
| Name | Description |
|---|---|
| GetSymbol(string) | Gets the symbol declared for a target framework, or null when the target framework does not declare it. |
| ToString() |
GetSymbol(string)
PublicApiAggregatedSymbol.csGets the symbol declared for a target framework, or null when the target framework does not declare it.
public PublicApiSymbol? GetSymbol(string targetFramework)