Skip to content

Instantly share code, notes, and snippets.

@svick
Created February 10, 2013 13:27
Show Gist options
  • Save svick/4749582 to your computer and use it in GitHub Desktop.
Save svick/4749582 to your computer and use it in GitHub Desktop.
public abstract CategoryInfoResult CategoryInfo { get; }
Syntax.PropertyDeclaration(
Syntax.ParseTypeName("CategoryInfoResult"),
"CategoryInfo")
.WithModifiers(
Syntax.TokenList(
Syntax.Token(SyntaxKind.PublicKeyword),
Syntax.Token(SyntaxKind.AbstractKeyword)))
.WithAccessorList(
Syntax.AccessorList(
Syntax.List(
Syntax.AccessorDeclaration(
SyntaxKind.GetAccessorDeclaration)
.WithSemicolonToken(
Syntax.Token(SyntaxKind.SemicolonToken)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment