Click or drag to resize

TypeRefChangeTypeOfConstant Method (Object, TypeReference)

Change the type of the specified constant to the specified type if possible.

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public static Object ChangeTypeOfConstant(
	Object constantValue,
	TypeReference typeReference
)

Parameters

constantValue
Type: SystemObject
typeReference
Type: Mono.CecilTypeReference

Return Value

Type: Object
See Also