Property | Type | Description | |
---|---|---|---|
Instance |
Method | Description | |
---|---|---|
ConvertSymbolToString ( int errorCode, ISymbol symbol ) : string | ||
CreateDiagnostic ( int code, Microsoft.CodeAnalysis.Location location ) : Diagnostic | ||
GetCategory ( int code ) : string | ||
GetDescription ( int code ) : Microsoft.CodeAnalysis.LocalizableString | ||
GetDiagnosticReport ( Microsoft.CodeAnalysis.DiagnosticInfo diagnosticInfo, Microsoft.CodeAnalysis.CompilationOptions options ) : ReportDiagnostic | ||
GetHelpLink ( int code ) : string | ||
GetMessageFormat ( int code ) : Microsoft.CodeAnalysis.LocalizableString | ||
GetMessagePrefix ( string id, DiagnosticSeverity severity, bool isWarningAsError, |
||
GetSeverity ( int code ) : DiagnosticSeverity | ||
GetTitle ( int code ) : Microsoft.CodeAnalysis.LocalizableString | ||
GetWarningLevel ( int code ) : int | ||
LoadMessage ( int code, |
||
ReportAttributeParameterRequired ( DiagnosticBag diagnostics, Microsoft.CodeAnalysis.SyntaxNode attributeSyntax, string parameterName ) : void | ||
ReportAttributeParameterRequired ( DiagnosticBag diagnostics, Microsoft.CodeAnalysis.SyntaxNode attributeSyntax, string parameterName1, string parameterName2 ) : void | ||
ReportDuplicateMetadataReferenceStrong ( DiagnosticBag diagnostics, Microsoft.CodeAnalysis.Location location, Microsoft.CodeAnalysis.MetadataReference reference, Microsoft.CodeAnalysis.AssemblyIdentity identity, Microsoft.CodeAnalysis.MetadataReference equivalentReference, Microsoft.CodeAnalysis.AssemblyIdentity equivalentIdentity ) : void | ||
ReportDuplicateMetadataReferenceWeak ( DiagnosticBag diagnostics, Microsoft.CodeAnalysis.Location location, Microsoft.CodeAnalysis.MetadataReference reference, Microsoft.CodeAnalysis.AssemblyIdentity identity, Microsoft.CodeAnalysis.MetadataReference equivalentReference, Microsoft.CodeAnalysis.AssemblyIdentity equivalentIdentity ) : void | ||
ReportInvalidAttributeArgument ( DiagnosticBag diagnostics, Microsoft.CodeAnalysis.SyntaxNode attributeSyntax, int parameterIndex, AttributeData attribute ) : void | ||
ReportInvalidNamedArgument ( DiagnosticBag diagnostics, Microsoft.CodeAnalysis.SyntaxNode attributeSyntax, int namedArgumentIndex, ITypeSymbol attributeClass, string parameterName ) : void | ||
ReportMarshalUnmanagedTypeNotValidForFields ( DiagnosticBag diagnostics, Microsoft.CodeAnalysis.SyntaxNode attributeSyntax, int parameterIndex, string unmanagedTypeName, AttributeData attribute ) : void | ||
ReportMarshalUnmanagedTypeOnlyValidForFields ( DiagnosticBag diagnostics, Microsoft.CodeAnalysis.SyntaxNode attributeSyntax, int parameterIndex, string unmanagedTypeName, AttributeData attribute ) : void | ||
ReportParameterNotValidForType ( DiagnosticBag diagnostics, Microsoft.CodeAnalysis.SyntaxNode attributeSyntax, int namedArgumentIndex ) : void |
Method | Description | |
---|---|---|
IObjectReadable ( ) : object>.Func |
||
IObjectWritable ( Roslyn.Utilities.ObjectWriter writer ) : void |
public ConvertSymbolToString ( int errorCode, ISymbol symbol ) : string | ||
errorCode | int | |
symbol | ISymbol | |
return | string |
public CreateDiagnostic ( int code, Microsoft.CodeAnalysis.Location location ) : Diagnostic | ||
code | int | |
location | Microsoft.CodeAnalysis.Location | |
return | Diagnostic |
public GetDescription ( int code ) : Microsoft.CodeAnalysis.LocalizableString | ||
code | int | |
return | Microsoft.CodeAnalysis.LocalizableString |
public GetDiagnosticReport ( Microsoft.CodeAnalysis.DiagnosticInfo diagnosticInfo, Microsoft.CodeAnalysis.CompilationOptions options ) : ReportDiagnostic | ||
diagnosticInfo | Microsoft.CodeAnalysis.DiagnosticInfo | |
options | Microsoft.CodeAnalysis.CompilationOptions | |
return | ReportDiagnostic |
public GetMessageFormat ( int code ) : Microsoft.CodeAnalysis.LocalizableString | ||
code | int | |
return | Microsoft.CodeAnalysis.LocalizableString |
public GetMessagePrefix ( string id, DiagnosticSeverity severity, bool isWarningAsError, |
||
id | string | |
severity | DiagnosticSeverity | |
isWarningAsError | bool | |
culture | ||
return | string |
public GetSeverity ( int code ) : DiagnosticSeverity | ||
code | int | |
return | DiagnosticSeverity |
public GetTitle ( int code ) : Microsoft.CodeAnalysis.LocalizableString | ||
code | int | |
return | Microsoft.CodeAnalysis.LocalizableString |
public LoadMessage ( int code, |
||
code | int | |
language | ||
return | string |
public ReportAttributeParameterRequired ( DiagnosticBag diagnostics, Microsoft.CodeAnalysis.SyntaxNode attributeSyntax, string parameterName ) : void | ||
diagnostics | DiagnosticBag | |
attributeSyntax | Microsoft.CodeAnalysis.SyntaxNode | |
parameterName | string | |
return | void |
public ReportAttributeParameterRequired ( DiagnosticBag diagnostics, Microsoft.CodeAnalysis.SyntaxNode attributeSyntax, string parameterName1, string parameterName2 ) : void | ||
diagnostics | DiagnosticBag | |
attributeSyntax | Microsoft.CodeAnalysis.SyntaxNode | |
parameterName1 | string | |
parameterName2 | string | |
return | void |
public ReportDuplicateMetadataReferenceStrong ( DiagnosticBag diagnostics, Microsoft.CodeAnalysis.Location location, Microsoft.CodeAnalysis.MetadataReference reference, Microsoft.CodeAnalysis.AssemblyIdentity identity, Microsoft.CodeAnalysis.MetadataReference equivalentReference, Microsoft.CodeAnalysis.AssemblyIdentity equivalentIdentity ) : void | ||
diagnostics | DiagnosticBag | |
location | Microsoft.CodeAnalysis.Location | |
reference | Microsoft.CodeAnalysis.MetadataReference | |
identity | Microsoft.CodeAnalysis.AssemblyIdentity | |
equivalentReference | Microsoft.CodeAnalysis.MetadataReference | |
equivalentIdentity | Microsoft.CodeAnalysis.AssemblyIdentity | |
return | void |
public ReportDuplicateMetadataReferenceWeak ( DiagnosticBag diagnostics, Microsoft.CodeAnalysis.Location location, Microsoft.CodeAnalysis.MetadataReference reference, Microsoft.CodeAnalysis.AssemblyIdentity identity, Microsoft.CodeAnalysis.MetadataReference equivalentReference, Microsoft.CodeAnalysis.AssemblyIdentity equivalentIdentity ) : void | ||
diagnostics | DiagnosticBag | |
location | Microsoft.CodeAnalysis.Location | |
reference | Microsoft.CodeAnalysis.MetadataReference | |
identity | Microsoft.CodeAnalysis.AssemblyIdentity | |
equivalentReference | Microsoft.CodeAnalysis.MetadataReference | |
equivalentIdentity | Microsoft.CodeAnalysis.AssemblyIdentity | |
return | void |
public ReportInvalidAttributeArgument ( DiagnosticBag diagnostics, Microsoft.CodeAnalysis.SyntaxNode attributeSyntax, int parameterIndex, AttributeData attribute ) : void | ||
diagnostics | DiagnosticBag | |
attributeSyntax | Microsoft.CodeAnalysis.SyntaxNode | |
parameterIndex | int | |
attribute | AttributeData | |
return | void |
public ReportInvalidNamedArgument ( DiagnosticBag diagnostics, Microsoft.CodeAnalysis.SyntaxNode attributeSyntax, int namedArgumentIndex, ITypeSymbol attributeClass, string parameterName ) : void | ||
diagnostics | DiagnosticBag | |
attributeSyntax | Microsoft.CodeAnalysis.SyntaxNode | |
namedArgumentIndex | int | |
attributeClass | ITypeSymbol | |
parameterName | string | |
return | void |
public ReportMarshalUnmanagedTypeNotValidForFields ( DiagnosticBag diagnostics, Microsoft.CodeAnalysis.SyntaxNode attributeSyntax, int parameterIndex, string unmanagedTypeName, AttributeData attribute ) : void | ||
diagnostics | DiagnosticBag | |
attributeSyntax | Microsoft.CodeAnalysis.SyntaxNode | |
parameterIndex | int | |
unmanagedTypeName | string | |
attribute | AttributeData | |
return | void |
public ReportMarshalUnmanagedTypeOnlyValidForFields ( DiagnosticBag diagnostics, Microsoft.CodeAnalysis.SyntaxNode attributeSyntax, int parameterIndex, string unmanagedTypeName, AttributeData attribute ) : void | ||
diagnostics | DiagnosticBag | |
attributeSyntax | Microsoft.CodeAnalysis.SyntaxNode | |
parameterIndex | int | |
unmanagedTypeName | string | |
attribute | AttributeData | |
return | void |
public ReportParameterNotValidForType ( DiagnosticBag diagnostics, Microsoft.CodeAnalysis.SyntaxNode attributeSyntax, int namedArgumentIndex ) : void | ||
diagnostics | DiagnosticBag | |
attributeSyntax | Microsoft.CodeAnalysis.SyntaxNode | |
namedArgumentIndex | int | |
return | void |