29 references to Info
Microsoft.CodeAnalysis (19)
CommandLine\CommandLineArguments.cs (1)
449diagnosticsOpt.Add(((DiagnosticWithInfo)diagnostic).Info);
Diagnostic\DiagnosticWithInfo.cs (18)
40get { return this.Info.AdditionalLocations; } 47return this.Info.CustomTags; 55return this.Info.Descriptor; 61get { return this.Info.MessageIdentifier; } 66get { return this.Info.Category; } 71get { return this.Info.Code; } 76get { return this.Info.Severity; } 81get { return this.Info.DefaultSeverity; } 86get { return this.Info.Descriptor.IsEnabledByDefault; } 96get { return this.Info.WarningLevel; } 101return this.Info.GetMessage(formatProvider); 106get { return this.Info.Arguments; } 152return Hash.Combine(this.Location.GetHashCode(), this.Info.GetHashCode()); 171this.Info.Equals(other.Info) && 214return new DiagnosticWithInfo(this.Info.GetInstanceWithSeverity(severity), _location, _isSuppressed); 224return new DiagnosticWithInfo(this.Info, _location, isSuppressed); 232return this.Info.IsNotConfigurable();
Microsoft.CodeAnalysis.CSharp (6)
Errors\CSDiagnostic.cs (4)
35return new CSDiagnostic(this.Info, location, this.IsSuppressed); 43var info = this.Info.GetInstanceWithSeverity(severity); 44if (info != this.Info) 56return new CSDiagnostic(this.Info, this.Location, isSuppressed);
FlowAnalysis\DefiniteAssignment.cs (1)
626var args = diagnostic is DiagnosticWithInfo { Info: { Arguments: var arguments } } ? arguments : diagnostic.Arguments.ToArray();
Symbols\Symbol_Attributes.cs (1)
533return d.HasLazyInfo ? d.LazyInfo is LazyObsoleteDiagnosticInfo : d.Info.IsObsoleteDiagnostic();
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Diagnostics\DiagnosticTest.cs (2)
89Assert.Same(di2, d1.Info); 104Assert.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;