Class Cs.DefaultConstraint

java.lang.Object
org.openrewrite.csharp.tree.Cs.DefaultConstraint
All Implemented Interfaces:
Cs, Cs.TypeParameterConstraint, org.openrewrite.java.tree.J, org.openrewrite.Tree
Enclosing interface:
Cs

public static final class Cs.DefaultConstraint extends Object implements Cs, Cs.TypeParameterConstraint
Represents a default constraint in a where clause. Example:
 where T : default
           ^^^^^^^
 
  • Constructor Details

    • DefaultConstraint

      public DefaultConstraint()
  • Method Details

    • acceptCSharp

      public <P> org.openrewrite.java.tree.J acceptCSharp(CSharpVisitor<P> v, P p)
      Specified by:
      acceptCSharp in interface Cs