C# Class ICSharpCode.Decompiler.Disassembler.DisassemblerHelpers

ファイルを表示 Open project: mwoelk83/Mono.Cecil.Fluent Class Usage Examples

Public Methods

Method Description
ConvertString ( string str ) : string

Converts special characters to escape sequences within the given string.

Escape ( string identifier ) : string
PrimitiveTypeName ( string fullName ) : string
WriteOffsetReference ( PlainTextOutput writer, dnlib.DotNet.Emit.Instruction instruction ) : void
WriteOperand ( PlainTextOutput writer, object operand ) : void
WriteTo ( this instruction, PlainTextOutput writer ) : void
WriteTo ( this type, PlainTextOutput writer, IlNameSyntax syntax = IlNameSyntax.Signature ) : void

Private Methods

Method Description
BuildKeywordList ( ) : HashSet
ConvertChar ( char ch ) : string

Gets the escape sequence for the specified character. This method does not convert ' or ".

IsValidIdentifier ( string identifier ) : bool
IsValidIdentifierCharacter ( char c ) : bool
ToInvariantCultureString ( object value ) : string
WriteLabelList ( PlainTextOutput writer, dnlib.DotNet.Emit.Instruction instructions ) : void

Method Details

ConvertString() public static method

Converts special characters to escape sequences within the given string.
public static ConvertString ( string str ) : string
str string
return string

Escape() public static method

public static Escape ( string identifier ) : string
identifier string
return string

PrimitiveTypeName() public static method

public static PrimitiveTypeName ( string fullName ) : string
fullName string
return string

WriteOffsetReference() public static method

public static WriteOffsetReference ( PlainTextOutput writer, dnlib.DotNet.Emit.Instruction instruction ) : void
writer PlainTextOutput
instruction dnlib.DotNet.Emit.Instruction
return void

WriteOperand() public static method

public static WriteOperand ( PlainTextOutput writer, object operand ) : void
writer PlainTextOutput
operand object
return void

WriteTo() public static method

public static WriteTo ( this instruction, PlainTextOutput writer ) : void
instruction this
writer PlainTextOutput
return void

WriteTo() public static method

public static WriteTo ( this type, PlainTextOutput writer, IlNameSyntax syntax = IlNameSyntax.Signature ) : void
type this
writer PlainTextOutput
syntax IlNameSyntax
return void