Ejemplo n.º 1
0
        public static bool IsVoidGetter(this LocalFunctionStatementSyntax method)
        {
            var name     = method.Identifier.Text;
            var isGetter = name.StartsWith("Get", StringComparison.OrdinalIgnoreCase);

            return(method.IsVoid() && isGetter);
        }