Vixen
02b45cc4
csharp
public sealed class SynthesizedFieldSymbol

A field the compiler makes up rather than reading from source: vector swizzles (v.xy), tuple elements, array.Length.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (6)

  • public override string Name
  • public override Symbol? ContainingSymbol
  • public override TypeSymbol Type
  • public override bool IsReadOnly
  • public override object? ConstantValue

    Set for a sized array's Length, which makes it usable everywhere a constant is — including as another array's size.

  • public override bool IsConst

Used by (6)

  • ArrayTypeSymbolVixen.Raven
  • BufferTypeSymbolVixen.Raven
  • LowererVixen.Raven
  • PrimitiveTypeSymbolVixen.Raven
  • TupleTypeSymbolVixen.Raven
  • TypeSystemTestsVixen.Raven.Tests