Open sandboxFocus

Interface ITypeParameterBuilder

Namespace: Metalama.Framework.Code.DeclarationBuilders
Assembly: Metalama.Framework.dll
Syntax
public interface ITypeParameterBuilder : IDeclarationBuilder, ITypeParameter, INamedDeclaration, IDeclaration, IDiagnosticLocation, IMeasurable, IEquatable<IDeclaration>, IType, ICompilationElement, IDisplayable, IEquatable<IType>

Properties

Name Description
AllowsRefStruct
HasDefaultConstructorConstraint

Gets or sets a value indicating whether the generic parameter has the new() constraint.

IsConstraintNullable
Name
TypeKindConstraint
Variance

Methods

Name Description
AddTypeConstraint(IType)
AddTypeConstraint(Type)

Extension Methods