C# Class Microsoft.CSharp.RuntimeBinder.Errors.UserStringBuilder

显示文件 Open project: dotnet/corefx Class Usage Examples

Protected Properties

Property Type Description
fHadUndisplayableStringInError bool
m_buildingInProgress bool
m_globalSymbols Microsoft.CSharp.RuntimeBinder.Semantics.GlobalSymbolContext
m_strBuilder StringBuilder

Public Methods

Method Description
ErrAppendChar ( char ch ) : void
ErrAppendId ( MessageID id ) : void
ErrAppendName ( Name name ) : void
ErrAppendPrintf ( string format ) : void
ErrAppendString ( string str ) : void
ErrAppendSym ( Symbol sym, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx ) : void
ErrAppendSym ( Symbol sym, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx, bool fArgs ) : void
ErrAppendType ( CType pType, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pCtx ) : void
ErrAppendType ( CType pType, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx, bool fArgs ) : void
ErrArgToString ( string &psz, Microsoft.CSharp.RuntimeBinder.Errors.ErrArg parg, bool &fUserStrings ) : bool
ErrId ( string &s, MessageID id ) : void
HadUndisplayableString ( ) : bool
ResetUndisplayableStringFlag ( ) : void
UserStringBuilder ( GlobalSymbolContext globalSymbols ) : System

Protected Methods

Method Description
BeginString ( ) : void
CheckDisplayableName ( Name name ) : void
EndString ( string &s ) : void
ErrAppendEvent ( Microsoft.CSharp.RuntimeBinder.Semantics.EventSymbol @event, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx ) : void
ErrAppendIndexer ( IndexerSymbol indexer, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx ) : void
ErrAppendMethod ( MethodSymbol meth, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx, bool fArgs ) : void
ErrAppendMethodParentSym ( MethodSymbol sym, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pcxt, TypeArray &substMethTyParams ) : void
ErrAppendParamList ( TypeArray @params, bool isVarargs, bool isParamArray ) : void
ErrAppendParentCore ( Symbol parent, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx ) : void
ErrAppendParentSym ( Symbol sym, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx ) : void
ErrAppendParentType ( CType pType, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx ) : void
ErrAppendProperty ( Microsoft.CSharp.RuntimeBinder.Semantics.PropertySymbol prop, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx ) : void
ErrAppendTypeParameters ( TypeArray @params, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx, bool forClass ) : void
ErrSK ( string &psz, SYMKIND sk ) : void
GetNameManager ( ) : NameManager
GetTypeID ( CType type ) : int
GetTypeManager ( ) : TypeManager
IsDisplayableName ( Name name ) : bool
getBSymmgr ( ) : BSYMMGR

Method Details

BeginString() protected method

protected BeginString ( ) : void
return void

CheckDisplayableName() protected method

protected CheckDisplayableName ( Name name ) : void
name Microsoft.CSharp.RuntimeBinder.Syntax.Name
return void

EndString() protected method

protected EndString ( string &s ) : void
s string
return void

ErrAppendChar() public method

public ErrAppendChar ( char ch ) : void
ch char
return void

ErrAppendEvent() protected method

protected ErrAppendEvent ( Microsoft.CSharp.RuntimeBinder.Semantics.EventSymbol @event, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx ) : void
@event Microsoft.CSharp.RuntimeBinder.Semantics.EventSymbol
pctx Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext
return void

ErrAppendId() public method

public ErrAppendId ( MessageID id ) : void
id MessageID
return void

ErrAppendIndexer() protected method

protected ErrAppendIndexer ( IndexerSymbol indexer, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx ) : void
indexer IndexerSymbol
pctx Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext
return void

ErrAppendMethod() protected method

protected ErrAppendMethod ( MethodSymbol meth, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx, bool fArgs ) : void
meth Microsoft.CSharp.RuntimeBinder.Semantics.MethodSymbol
pctx Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext
fArgs bool
return void

ErrAppendMethodParentSym() protected method

protected ErrAppendMethodParentSym ( MethodSymbol sym, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pcxt, TypeArray &substMethTyParams ) : void
sym Microsoft.CSharp.RuntimeBinder.Semantics.MethodSymbol
pcxt Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext
substMethTyParams Microsoft.CSharp.RuntimeBinder.Semantics.TypeArray
return void

ErrAppendName() public method

public ErrAppendName ( Name name ) : void
name Microsoft.CSharp.RuntimeBinder.Syntax.Name
return void

ErrAppendParamList() protected method

protected ErrAppendParamList ( TypeArray @params, bool isVarargs, bool isParamArray ) : void
@params Microsoft.CSharp.RuntimeBinder.Semantics.TypeArray
isVarargs bool
isParamArray bool
return void

ErrAppendParentCore() protected method

protected ErrAppendParentCore ( Symbol parent, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx ) : void
parent Microsoft.CSharp.RuntimeBinder.Semantics.Symbol
pctx Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext
return void

ErrAppendParentSym() protected method

protected ErrAppendParentSym ( Symbol sym, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx ) : void
sym Microsoft.CSharp.RuntimeBinder.Semantics.Symbol
pctx Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext
return void

ErrAppendParentType() protected method

protected ErrAppendParentType ( CType pType, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx ) : void
pType Microsoft.CSharp.RuntimeBinder.Semantics.CType
pctx Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext
return void

ErrAppendPrintf() public method

public ErrAppendPrintf ( string format ) : void
format string
return void

ErrAppendProperty() protected method

protected ErrAppendProperty ( Microsoft.CSharp.RuntimeBinder.Semantics.PropertySymbol prop, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx ) : void
prop Microsoft.CSharp.RuntimeBinder.Semantics.PropertySymbol
pctx Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext
return void

ErrAppendString() public method

public ErrAppendString ( string str ) : void
str string
return void

ErrAppendSym() public method

public ErrAppendSym ( Symbol sym, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx ) : void
sym Microsoft.CSharp.RuntimeBinder.Semantics.Symbol
pctx Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext
return void

ErrAppendSym() public method

public ErrAppendSym ( Symbol sym, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx, bool fArgs ) : void
sym Microsoft.CSharp.RuntimeBinder.Semantics.Symbol
pctx Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext
fArgs bool
return void

ErrAppendType() public method

public ErrAppendType ( CType pType, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pCtx ) : void
pType Microsoft.CSharp.RuntimeBinder.Semantics.CType
pCtx Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext
return void

ErrAppendType() public method

public ErrAppendType ( CType pType, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx, bool fArgs ) : void
pType Microsoft.CSharp.RuntimeBinder.Semantics.CType
pctx Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext
fArgs bool
return void

ErrAppendTypeParameters() protected method

protected ErrAppendTypeParameters ( TypeArray @params, Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext pctx, bool forClass ) : void
@params Microsoft.CSharp.RuntimeBinder.Semantics.TypeArray
pctx Microsoft.CSharp.RuntimeBinder.Semantics.SubstContext
forClass bool
return void

ErrArgToString() public method

public ErrArgToString ( string &psz, Microsoft.CSharp.RuntimeBinder.Errors.ErrArg parg, bool &fUserStrings ) : bool
psz string
parg Microsoft.CSharp.RuntimeBinder.Errors.ErrArg
fUserStrings bool
return bool

ErrId() public method

public ErrId ( string &s, MessageID id ) : void
s string
id MessageID
return void

ErrSK() protected method

protected ErrSK ( string &psz, SYMKIND sk ) : void
psz string
sk SYMKIND
return void

GetNameManager() protected method

protected GetNameManager ( ) : NameManager
return Microsoft.CSharp.RuntimeBinder.Syntax.NameManager

GetTypeID() protected method

protected GetTypeID ( CType type ) : int
type Microsoft.CSharp.RuntimeBinder.Semantics.CType
return int

GetTypeManager() protected method

protected GetTypeManager ( ) : TypeManager
return Microsoft.CSharp.RuntimeBinder.Semantics.TypeManager

HadUndisplayableString() public method

public HadUndisplayableString ( ) : bool
return bool

IsDisplayableName() protected method

protected IsDisplayableName ( Name name ) : bool
name Microsoft.CSharp.RuntimeBinder.Syntax.Name
return bool

ResetUndisplayableStringFlag() public method

public ResetUndisplayableStringFlag ( ) : void
return void

UserStringBuilder() public method

public UserStringBuilder ( GlobalSymbolContext globalSymbols ) : System
globalSymbols Microsoft.CSharp.RuntimeBinder.Semantics.GlobalSymbolContext
return System

getBSymmgr() protected method

protected getBSymmgr ( ) : BSYMMGR
return BSYMMGR

Property Details

fHadUndisplayableStringInError protected_oe property

protected bool fHadUndisplayableStringInError
return bool

m_buildingInProgress protected_oe property

protected bool m_buildingInProgress
return bool

m_globalSymbols protected_oe property

protected GlobalSymbolContext,Microsoft.CSharp.RuntimeBinder.Semantics m_globalSymbols
return Microsoft.CSharp.RuntimeBinder.Semantics.GlobalSymbolContext

m_strBuilder protected_oe property

protected StringBuilder m_strBuilder
return StringBuilder