# Attributes

Marker attributes for the serialization framework's source generation features.

## Key Files

- **`AcBinarySerializableAttribute.cs`** — Marks types for binary serialization source generation. When applied to a class/struct, the source generator produces optimized `IGeneratedBinaryWriter`/`IGeneratedBinaryReader` implementations, avoiding runtime reflection. Used in conjunction with `Binaries/IGeneratedBinaryWriter.cs` and `Binaries/IGeneratedBinaryReader.cs`.

## Usage

```csharp
[AcBinarySerializable]
public class MyType
{
    public int Id { get; set; }
    public string Name { get; set; }
}
```

## Dependencies

- None (standalone attribute definitions)
- Consumed by the source generator and `Binaries/` serializer at runtime via `TypeMetadataWrapper` registry lookup.
