Vixen
02b45cc4
csharp
public abstract class Symbol

Root of the semantic model's entity hierarchy — a namespace, type, member, parameter or local. Mirrors Roslyn's symbol model; the concrete classes are the public surface (Raven does not split them into ISymbol interfaces plus internal implementations).

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

Fields and properties (8)

  • public abstract SymbolKind Kind
  • public abstract string Name
  • public virtual Symbol? ContainingSymbol

    The symbol this one is declared in (namespace, type, or member).

  • public NamedTypeSymbol? ContainingType

    The nearest enclosing type, or null for namespaces and top-level entities.

  • public NamespaceSymbol? ContainingNamespace

    The nearest enclosing namespace, or null for intrinsic symbols.

  • public virtual bool IsStatic
  • public virtual bool IsImplicitlyDeclared

    True for symbols the compiler creates rather than reads from source.

  • public virtual SyntaxNode? DeclaringSyntax

    The syntax that declared this symbol, or null when synthesized.

Methods (2)

  • public virtual string ToDisplayString()

    A readable, fully-qualified-enough name for diagnostics and tests.

  • public override string ToString()

Used by (83, showing 40)

  • ArrayTypeSymbolVixen.Raven
  • BinderVixen.Raven
  • BindingContextVixen.Raven
  • BindingTestsVixen.Raven.Tests
  • BitCastTestsVixen.Raven.Tests
  • BlockBinderVixen.Raven
  • BoundBodyVixen.Raven
  • BoundExpressionVixen.Raven
  • BoundFieldExpressionVixen.Raven
  • BoundInvocationExpressionVixen.Raven
  • BoundLocalExpressionVixen.Raven
  • BoundMethodGroupExpressionVixen.Raven
  • BoundNamespaceExpressionVixen.Raven
  • BoundObjectCreationExpressionVixen.Raven
  • BoundParameterExpressionVixen.Raven
  • BoundPropertyExpressionVixen.Raven
  • BoundTypeExpressionVixen.Raven
  • BufferTypeSymbolVixen.Raven
  • BuilderVixen.Raven
  • BuiltInNamedTypeSymbolVixen.Raven
  • BuiltInTypesVixen.Raven
  • CompiledLibraryTestsVixen.Raven.Tests
  • ComposeTestsVixen.Raven.Tests
  • ConstructedNamedTypeSymbolVixen.Raven
  • FieldSymbolVixen.Raven
  • FlowAnalysisVixen.Raven
  • FunctionShellVixen.Raven
  • GlobalBinderVixen.Raven
  • ImportBinderVixen.Raven
  • InOutTestsVixen.Raven.Tests
  • IntrinsicsVixen.Raven
  • LocalSymbolVixen.Raven
  • LowererVixen.Raven
  • LoweringResultVixen.Raven
  • MemberBinderVixen.Raven
  • MetadataFieldSymbolVixen.Raven
  • MetadataMethodSymbolVixen.Raven
  • MetadataNamedTypeSymbolVixen.Raven
  • MetadataParameterSymbolVixen.Raven
  • MetadataPropertySymbolVixen.Raven