C# Class ErrorProne.NET.Extensions.PropertyDeclarationExtensions

Set of extension method on PropertyDeclarationSyntax and IPropertySymbol.
Show file Open project: SergeyTeplyakov/ErrorProne.NET

Public Methods

Method Description
Getter ( this propertyDeclaration ) : Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax
HasInitializer ( this propertyDeclaration ) : bool
IsGetOnlyAutoProperty ( this property, Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax propertyDeclaration ) : bool
Setter ( this propertyDeclaration ) : Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax

Method Details

Getter() public static method

public static Getter ( this propertyDeclaration ) : Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax
propertyDeclaration this
return Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax

HasInitializer() public static method

public static HasInitializer ( this propertyDeclaration ) : bool
propertyDeclaration this
return bool

IsGetOnlyAutoProperty() public static method

public static IsGetOnlyAutoProperty ( this property, Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax propertyDeclaration ) : bool
property this
propertyDeclaration Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax
return bool

Setter() public static method

public static Setter ( this propertyDeclaration ) : Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax
propertyDeclaration this
return Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax