internal LambdaPropertyWithCodeAnalysis() { property = new PropertyWithCodeAnalysis(); lambdaExpression = new CachedExpressionNode <PropertyWithCodeAnalysis, PropertyDeclarationSyntax>( property.Node, syntax => syntax.ExpressionBody?.Expression, (parentSyntax, childSyntax) => parentSyntax.WithExpressionBody(childSyntax == null ? null : SyntaxFactory.ArrowExpressionClause(childSyntax))); }
internal AutoPropertyWithCodeAnalysis() { property = new PropertyWithCodeAnalysis(); initialValue = new CachedExpressionNode <PropertyWithCodeAnalysis, PropertyDeclarationSyntax>( property.Node, syntax => syntax.Initializer?.Value, (parentSyntax, childSyntax) => parentSyntax.WithInitializer(childSyntax == null ? null : SyntaxFactory.EqualsValueClause(childSyntax))); }
internal PropertyWithBodyWithCodeAnalysis() { this.property = new PropertyWithCodeAnalysis(); }
internal InterfacePropertyWithCodeAnalysis() { property = new PropertyWithCodeAnalysis(); }
internal AbstractPropertyWithCodeAnalysis() { property = new PropertyWithCodeAnalysis(); }