1 override of GetMessage
Microsoft.CodeAnalysis.CSharp (1)
Errors\XmlSyntaxDiagnosticInfo.cs (1)
36public override string GetMessage(IFormatProvider? formatProvider = null)
8 references to GetMessage
Microsoft.CodeAnalysis (3)
Diagnostic\DiagnosticInfo.cs (2)
340argumentsToUse[i] = embedded.GetMessage(formatProvider); 393this.GetMessage(formatProvider));
Diagnostic\DiagnosticWithInfo.cs (1)
101return this.Info.GetMessage(formatProvider);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenTupleTest.cs (1)
3356Assert.Equal("Predefined type 'System.ValueTuple`2' is not defined or imported", mTuple.GetUseSiteDiagnostic().GetMessage(CultureInfo.InvariantCulture));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Diagnostics\DiagnosticTest.cs (2)
75Assert.Equal("The first error", di1.GetMessage(englishCulture)); 81Assert.Equal("The second warning about Elvis and Mort", di2.GetMessage(englishCulture));
LexicalAndXml\PreprocessorTests.cs (1)
428Assert.Equal(expected.Text, actual.GetMessage(CultureInfo.InvariantCulture));
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\DiagnosticDescription.cs (1)
61return embedded.GetMessage(EnsureEnglishUICulture.PreferredOrNull);