C# Class MsgPack.Serialization.Reflection.ReflectionExtensions

Defines utility extension method for reflection API.
ファイルを表示 Open project: msgpack/msgpack-cli

Public Methods

Method Description
IsAssignableTo ( this source, Type target ) : bool

Determines whether specified Type can be assigned to source Type.

ToILString ( this source ) : string

Get IL friendly attributes string.

Private Methods

Method Description
AddString ( StringBuilder buffer, MethodAttributes source, MethodAttributes flag, string stringified ) : void
AddString ( StringBuilder buffer, MethodImplAttributes source, MethodImplAttributes flag, string stringified ) : void

Method Details

IsAssignableTo() public static method

Determines whether specified Type can be assigned to source Type.
public static IsAssignableTo ( this source, Type target ) : bool
source this The source type.
target System.Type The type to compare with the source type.
return bool

ToILString() public static method

Get IL friendly attributes string.
public static ToILString ( this source ) : string
source this .
return string