Class Cs.RefStructConstraint

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

public static final class Cs.RefStructConstraint extends Object implements Cs, Cs.AllowsConstraint
Represents a ref struct constraint in a where clause. Example: where T : allows ref struct
  • Constructor Details

    • RefStructConstraint

      public RefStructConstraint()
  • Method Details

    • acceptCSharp

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