PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Generic­Constraint­Collector Class / Generic­Constraint­Collector Methods / Generic­Constraint­Collector.​Add­Derived­Type­Constraints Method

GenericConstraintCollector.AddDerivedTypeConstraints Method

[Missing <summary> documentation for "M:PostSharp.Sdk.CodeModel.GenericConstraintCollector.AddDerivedTypeConstraints(PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.GenericMap)"]

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public bool AddDerivedTypeConstraints(
	ITypeSignature requiredType,
	ITypeSignature unresolvedGenericTypeInstance,
	GenericMap genericMap
)

Parameters

requiredType
Type: PostSharp.Sdk.CodeModel.ITypeSignature

[Missing <param name="requiredType"/> documentation for "M:PostSharp.Sdk.CodeModel.GenericConstraintCollector.AddDerivedTypeConstraints(PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.GenericMap)"]

unresolvedGenericTypeInstance
Type: PostSharp.Sdk.CodeModel.ITypeSignature

[Missing <param name="unresolvedGenericTypeInstance"/> documentation for "M:PostSharp.Sdk.CodeModel.GenericConstraintCollector.AddDerivedTypeConstraints(PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.GenericMap)"]

genericMap
Type: PostSharp.Sdk.CodeModel.GenericMap

[Missing <param name="genericMap"/> documentation for "M:PostSharp.Sdk.CodeModel.GenericConstraintCollector.AddDerivedTypeConstraints(PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.GenericMap)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:PostSharp.Sdk.CodeModel.GenericConstraintCollector.AddDerivedTypeConstraints(PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.ITypeSignature,PostSharp.Sdk.CodeModel.GenericMap)"]

See Also