C# 클래스 Mono.CSharp.Report

파일 보기 프로젝트 열기: kumpera/mono 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AllWarnings int[]
DebugFlags int
WarningsAreErrors bool

공개 메소드들

메소드 설명
AddWarningAsError ( string warningId ) : void
CheckWarningCode ( int code, Mono.CSharp.Location loc ) : bool
CheckWarningCode ( string code, Mono.CSharp.Location loc ) : bool
DisableReporting ( ) : void
EnableReporting ( ) : void
Error ( int code, Mono.CSharp.Location loc, string error ) : void
Error ( int code, Mono.CSharp.Location loc, string format, string arg ) : void
Error ( int code, Mono.CSharp.Location loc, string format, string arg1, string arg2 ) : void
Error ( int code, string error ) : void
Error ( int code, string format, string arg ) : void
Error ( int code, string format, string arg1, string arg2 ) : void
ExtraInformation ( Mono.CSharp.Location loc, string msg ) : void
FeatureIsNotAvailable ( Mono.CSharp.Location loc, string feature ) : void
FeatureIsNotSupported ( Mono.CSharp.Location loc, string feature ) : void
IsWarningDisabledGlobally ( int code ) : bool
RegisterWarningRegion ( Mono.CSharp.Location location ) : WarningRegions
RemoveWarningAsError ( string warningId ) : void
Report ( ReportPrinter printer ) : System
RuntimeMissingSupport ( Mono.CSharp.Location loc, string feature ) : void
SetIgnoreWarning ( int code ) : void
SetPrinter ( ReportPrinter printer ) : ReportPrinter
SymbolRelatedToPreviousError ( Mono.CSharp.Location loc, string symbol ) : void

In most error cases is very useful to have information about symbol that caused the error. Call this method before you call Report.Error when it makes sense.

SymbolRelatedToPreviousError ( MemberCore mc ) : void
SymbolRelatedToPreviousError ( MemberSpec ms ) : void
SymbolRelatedToPreviousError ( string loc ) : void
Warning ( int code, int level, Mono.CSharp.Location loc, string message ) : void
Warning ( int code, int level, Mono.CSharp.Location loc, string format, string arg ) : void
Warning ( int code, int level, Mono.CSharp.Location loc, string format, string arg1, string arg2 ) : void
Warning ( int code, int level, string message ) : void
Warning ( int code, int level, string format, string arg ) : void
Warning ( int code, int level, string format, string arg1, string arg2 ) : void

비공개 메소드들

메소드 설명
Debug ( int category, string message ) : void
Debug ( string message ) : void
IsWarningAsError ( int code ) : bool
IsWarningEnabled ( int code, int level, Mono.CSharp.Location loc ) : bool

메소드 상세

AddWarningAsError() 공개 메소드

public AddWarningAsError ( string warningId ) : void
warningId string
리턴 void

CheckWarningCode() 공개 메소드

public CheckWarningCode ( int code, Mono.CSharp.Location loc ) : bool
code int
loc Mono.CSharp.Location
리턴 bool

CheckWarningCode() 공개 메소드

public CheckWarningCode ( string code, Mono.CSharp.Location loc ) : bool
code string
loc Mono.CSharp.Location
리턴 bool

DisableReporting() 공개 메소드

public DisableReporting ( ) : void
리턴 void

EnableReporting() 공개 메소드

public EnableReporting ( ) : void
리턴 void

Error() 공개 메소드

public Error ( int code, Mono.CSharp.Location loc, string error ) : void
code int
loc Mono.CSharp.Location
error string
리턴 void

Error() 공개 메소드

public Error ( int code, Mono.CSharp.Location loc, string format, string arg ) : void
code int
loc Mono.CSharp.Location
format string
arg string
리턴 void

Error() 공개 메소드

public Error ( int code, Mono.CSharp.Location loc, string format, string arg1, string arg2 ) : void
code int
loc Mono.CSharp.Location
format string
arg1 string
arg2 string
리턴 void

Error() 공개 메소드

public Error ( int code, string error ) : void
code int
error string
리턴 void

Error() 공개 메소드

public Error ( int code, string format, string arg ) : void
code int
format string
arg string
리턴 void

Error() 공개 메소드

public Error ( int code, string format, string arg1, string arg2 ) : void
code int
format string
arg1 string
arg2 string
리턴 void

ExtraInformation() 공개 메소드

public ExtraInformation ( Mono.CSharp.Location loc, string msg ) : void
loc Mono.CSharp.Location
msg string
리턴 void

FeatureIsNotAvailable() 공개 메소드

public FeatureIsNotAvailable ( Mono.CSharp.Location loc, string feature ) : void
loc Mono.CSharp.Location
feature string
리턴 void

FeatureIsNotSupported() 공개 메소드

public FeatureIsNotSupported ( Mono.CSharp.Location loc, string feature ) : void
loc Mono.CSharp.Location
feature string
리턴 void

IsWarningDisabledGlobally() 공개 메소드

public IsWarningDisabledGlobally ( int code ) : bool
code int
리턴 bool

RegisterWarningRegion() 공개 메소드

public RegisterWarningRegion ( Mono.CSharp.Location location ) : WarningRegions
location Mono.CSharp.Location
리턴 WarningRegions

RemoveWarningAsError() 공개 메소드

public RemoveWarningAsError ( string warningId ) : void
warningId string
리턴 void

Report() 공개 메소드

public Report ( ReportPrinter printer ) : System
printer ReportPrinter
리턴 System

RuntimeMissingSupport() 공개 메소드

public RuntimeMissingSupport ( Mono.CSharp.Location loc, string feature ) : void
loc Mono.CSharp.Location
feature string
리턴 void

SetIgnoreWarning() 공개 메소드

public SetIgnoreWarning ( int code ) : void
code int
리턴 void

SetPrinter() 공개 메소드

public SetPrinter ( ReportPrinter printer ) : ReportPrinter
printer ReportPrinter
리턴 ReportPrinter

SymbolRelatedToPreviousError() 공개 메소드

In most error cases is very useful to have information about symbol that caused the error. Call this method before you call Report.Error when it makes sense.
public SymbolRelatedToPreviousError ( Mono.CSharp.Location loc, string symbol ) : void
loc Mono.CSharp.Location
symbol string
리턴 void

SymbolRelatedToPreviousError() 공개 메소드

public SymbolRelatedToPreviousError ( MemberCore mc ) : void
mc MemberCore
리턴 void

SymbolRelatedToPreviousError() 공개 메소드

public SymbolRelatedToPreviousError ( MemberSpec ms ) : void
ms MemberSpec
리턴 void

SymbolRelatedToPreviousError() 공개 메소드

public SymbolRelatedToPreviousError ( string loc ) : void
loc string
리턴 void

Warning() 공개 메소드

public Warning ( int code, int level, Mono.CSharp.Location loc, string message ) : void
code int
level int
loc Mono.CSharp.Location
message string
리턴 void

Warning() 공개 메소드

public Warning ( int code, int level, Mono.CSharp.Location loc, string format, string arg ) : void
code int
level int
loc Mono.CSharp.Location
format string
arg string
리턴 void

Warning() 공개 메소드

public Warning ( int code, int level, Mono.CSharp.Location loc, string format, string arg1, string arg2 ) : void
code int
level int
loc Mono.CSharp.Location
format string
arg1 string
arg2 string
리턴 void

Warning() 공개 메소드

public Warning ( int code, int level, string message ) : void
code int
level int
message string
리턴 void

Warning() 공개 메소드

public Warning ( int code, int level, string format, string arg ) : void
code int
level int
format string
arg string
리턴 void

Warning() 공개 메소드

public Warning ( int code, int level, string format, string arg1, string arg2 ) : void
code int
level int
format string
arg1 string
arg2 string
리턴 void

프로퍼티 상세

AllWarnings 공개적으로 정적으로 프로퍼티

public static int[] AllWarnings
리턴 int[]

DebugFlags 공개적으로 정적으로 프로퍼티

public static int DebugFlags
리턴 int

WarningsAreErrors 공개적으로 프로퍼티

Whether warnings should be considered errors
public bool WarningsAreErrors
리턴 bool