35 references to Info
Microsoft.CodeAnalysis (19)
CommandLine\CommandLineArguments.cs (1)
433
diagnosticsOpt.Add(((DiagnosticWithInfo)diagnostic).
Info
);
Diagnostic\DiagnosticWithInfo.cs (18)
40
get { return this.
Info
.AdditionalLocations; }
47
return this.
Info
.CustomTags;
55
return this.
Info
.Descriptor;
61
get { return this.
Info
.MessageIdentifier; }
66
get { return this.
Info
.Category; }
71
get { return this.
Info
.Code; }
76
get { return this.
Info
.Severity; }
81
get { return this.
Info
.DefaultSeverity; }
86
get { return this.
Info
.Descriptor.IsEnabledByDefault; }
96
get { return this.
Info
.WarningLevel; }
101
return this.
Info
.GetMessage(formatProvider);
106
get { return this.
Info
.Arguments; }
152
return Hash.Combine(this.Location.GetHashCode(), this.
Info
.GetHashCode());
171
this.
Info
.Equals(other.
Info
) &&
214
return new DiagnosticWithInfo(this.
Info
.GetInstanceWithSeverity(severity), _location, _isSuppressed);
224
return new DiagnosticWithInfo(this.
Info
, _location, isSuppressed);
232
return this.
Info
.IsNotConfigurable();
Microsoft.CodeAnalysis.CSharp (6)
Errors\CSDiagnostic.cs (4)
35
return new CSDiagnostic(this.
Info
, location, this.IsSuppressed);
43
var info = this.
Info
.GetInstanceWithSeverity(severity);
44
if (info != this.
Info
)
56
return new CSDiagnostic(this.
Info
, this.Location, isSuppressed);
FlowAnalysis\DefiniteAssignment.cs (1)
596
var args = diagnostic is DiagnosticWithInfo {
Info
: { Arguments: var arguments } } ? arguments : diagnostic.Arguments.ToArray();
Symbols\Symbol_Attributes.cs (1)
518
return d.HasLazyInfo ? d.LazyInfo is LazyObsoleteDiagnosticInfo : d.
Info
.IsObsoleteDiagnostic();
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Diagnostics\DiagnosticTest.cs (2)
89
Assert.Same(di2, d1.
Info
);
104
Assert.Equal("OtherSymbol", (d3.
Info
as CustomErrorInfo).OtherSymbol);
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\DiagnosticDescription.cs (2)
148
_errorCodeType = dinfo.
Info
.MessageProvider.ErrorCodeType;
165
_arguments = dinfo.
Info
.Arguments;
Microsoft.CodeAnalysis.VisualBasic (6)
Binding\Binder_Invocation.vb (2)
1899
symbol, symbol.ContainingType, DirectCast(iDiagnostic, DiagnosticWithInfo).
Info
))
1904
diagnosticInfos.Add(ErrorFactory.ErrorInfo(ERRID.ERR_OverloadCandidate2, symbol, DirectCast(iDiagnostic, DiagnosticWithInfo).
Info
))
Errors\VBDiagnostic.vb (3)
27
Return New VBDiagnostic(Me.
Info
, location, Me.IsSuppressed)
35
Return New VBDiagnostic(Me.
Info
.GetInstanceWithSeverity(severity), Me.Location, Me.IsSuppressed)
43
Return New VBDiagnostic(Me.
Info
, Me.Location, isSuppressed)
GlobalImport.vb (1)
128
Return New VBDiagnostic(New ImportDiagnosticInfo(DirectCast(unmappedDiag, DiagnosticWithInfo).
Info
, _importedName, startindex, length), NoLocation.Singleton)