PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Type­Signature­Extensions Class / Type­Signature­Extensions Methods / Type­Signature­Extensions.​Is­Assignable­From­Runtime­Type Method

TypeSignatureExtensions.IsAssignableFromRuntimeType Method

[Missing <summary> documentation for "M:PostSharp.Sdk.CodeModel.TypeSignatureExtensions.IsAssignableFromRuntimeType(PostSharp.Sdk.CodeModel.ITypeSignature,System.Type)"]

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public static bool IsAssignableFromRuntimeType(
	this ITypeSignature baseType,
	Type derivedRuntimeType
)

Parameters

baseType
Type: PostSharp.Sdk.CodeModel.ITypeSignature

[Missing <param name="baseType"/> documentation for "M:PostSharp.Sdk.CodeModel.TypeSignatureExtensions.IsAssignableFromRuntimeType(PostSharp.Sdk.CodeModel.ITypeSignature,System.Type)"]

derivedRuntimeType
Type: System.Type

[Missing <param name="derivedRuntimeType"/> documentation for "M:PostSharp.Sdk.CodeModel.TypeSignatureExtensions.IsAssignableFromRuntimeType(PostSharp.Sdk.CodeModel.ITypeSignature,System.Type)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:PostSharp.Sdk.CodeModel.TypeSignatureExtensions.IsAssignableFromRuntimeType(PostSharp.Sdk.CodeModel.ITypeSignature,System.Type)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ITypeSignature. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also