Table of Contents

Struct Attribute

Namespace
ZeroC.Slice.Symbols
Assembly
ZeroC.Slice.Symbols.dll

Represents an attribute applied to a Slice declaration.

public readonly record struct Attribute : IEquatable<Attribute>
Implements
Inherited Members

Properties

Args

The arguments for the attribute, if any.

public required ImmutableList<string> Args { get; init; }

Property Value

ImmutableList<string>

Directive

The attribute's directive, e.g. "cs::readonly" for [cs::readonly] attribute.

public required string Directive { get; init; }

Property Value

string