Skip to content

[API Proposal]: Breaking change - Make some types static #65909

@Youssef1313

Description

@Youssef1313

Background and Motivation

See discussion in #65830

Proposed API

Namespace Microsoft.CodeAnalysis.VisualBasic
-     Partial Public Class SyntaxFacts
+     Partial Public NotInheritable Class SyntaxFacts
+         Private Sub New()
+         End Sub
      End Class
End Namespace
Namespace Microsoft.CodeAnalysis.VisualBasic.Syntax
-     Public Class SyntaxNodeRemover
+     Public NotInheritable Class SyntaxNodeRemover
+         Private Sub New()
+         End Sub
      End Class
End Namespace
namespace Microsoft.CodeAnalysis.CodeStyle
{
-     public class CodeStyleOptions
+     public static class CodeStyleOptions
      {
      }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-IDEConcept-APIThis issue involves adding, removing, clarification, or modification of an API.Feature Requestapi-approvedAPI was approved in API review, it can be implemented

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions