29 references to Info
Microsoft.CodeAnalysis (19)
CommandLine\CommandLineArguments.cs (1)
449
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)
626
var args = diagnostic is DiagnosticWithInfo {
Info
: { Arguments: var arguments } } ? arguments : diagnostic.Arguments.ToArray();
Symbols\Symbol_Attributes.cs (1)
533
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)
149
_errorCodeType = dinfo.
Info
.MessageProvider.ErrorCodeType;
166
_arguments = dinfo.
Info
.Arguments;