Skip to content

Commit

Permalink
Update SyntaxAutoPropertySymbol.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
LPeter1997 committed Oct 24, 2024
1 parent ef57fe3 commit 8dc268b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using System.Threading;
using Draco.Compiler.Api.Semantics;
using Draco.Compiler.Api.Syntax;
using Draco.Compiler.Internal.Binding;
Expand All @@ -23,6 +24,9 @@ internal abstract class SyntaxAutoPropertySymbol : PropertySymbol, ISourceSymbol
public override Visibility Visibility =>
GetVisibilityFromTokenKind(this.DeclaringSyntax.VisibilityModifier?.Kind);

public override SymbolDocumentation Documentation => LazyInitializer.EnsureInitialized(ref this.documentation, this.BuildDocumentation);
private SymbolDocumentation? documentation;

internal override string RawDocumentation => this.DeclaringSyntax.Documentation;

protected SyntaxAutoPropertySymbol(Symbol containingSymbol, VariableDeclarationSyntax syntax)
Expand Down

0 comments on commit 8dc268b

Please sign in to comment.