Base:
42 references to Message
CSharpSyntaxGenerator (1)
SourceGenerator.cs (1)
93xmlException.Message));
Microsoft.Build (4)
BackEnd\Components\SdkResolution\SdkResolverLoader.cs (1)
200ProjectFileErrorUtilities.ThrowInvalidProjectFile(new BuildEventFileInfo(location), e, "SdkResolverManifestInvalid", pathToManifest, e.Message);
Construction\ProjectRootElement.cs (1)
2117ProjectFileErrorUtilities.ThrowInvalidProjectFile(fileInfo, "InvalidProjectFile", ex.Message);
Construction\Solution\SolutionFile.cs (1)
1246etpProj.RelativePath, e.Message);
Definition\Toolset.cs (1)
1050taskFileError, e.Message);
Microsoft.Build.Tasks.Core (10)
AppConfig\AppConfig.cs (1)
53throw new AppConfigException(e.Message, appConfigFilePath, lineNumber, linePosition, e);
AssignProjectConfiguration.cs (1)
244Log.LogErrorWithCodeFromResources("General.ErrorExecutingTask", GetType().Name, e.Message);
BootstrapperUtil\BootstrapperBuilder.cs (3)
552Debug.Fail(ex.Message); 854Debug.Fail("Failed to load document '" + filePath + "' due to the following exception:\r\n" + ex.Message); 1052Debug.Fail(ex.Message);
GenerateResource.cs (3)
1909e.Message); 2614xe.LinePosition, 0, 0, "General.InvalidResxFile", xe.Message); 2633xe.LinePosition, 0, 0, "General.InvalidResxFile", xe.Message);
ResolveNativeReference.cs (1)
220Log.LogErrorWithCodeFromResources("GenerateManifest.ReadInputManifestFailed", path, ex.Message);
ResolveNonMSBuildProjectOutput.cs (1)
148Log.LogErrorWithCodeFromResources("General.ErrorExecutingTask", this.GetType().Name, e.Message);
Microsoft.Build.Utilities.Core (1)
ToolLocationHelper.cs (1)
3166ErrorUtilities.ThrowInvalidOperation("ToolsLocationHelper.InvalidRedistFile", redistFilePath, ex.Message);
Microsoft.CodeAnalysis.CSharp (1)
Compiler\DocumentationCommentCompiler.cs (1)
1350string message = e.Message;
Microsoft.CodeAnalysis.VisualBasic (1)
Compilation\DocumentationComments\DocumentationCommentCompiler.TextUtils.vb (1)
135Dim message As String = e.Message
Microsoft.DotNet.XliffTasks (1)
Tasks\UpdateXlf.cs (1)
53throw new BuildErrorException($"Unable to load file: {xmlEx.Message}")
Microsoft.Gen.Metrics (1)
Parser.cs (1)
361Diag(DiagDescriptors.ErrorXmlNotLoadedCorrectly, symbol.GetLocation(), ex.Message);
Microsoft.Gen.MetricsReports (1)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (1)
361Diag(DiagDescriptors.ErrorXmlNotLoadedCorrectly, symbol.GetLocation(), ex.Message);
Microsoft.Maui.Controls.Build.Tasks (1)
XamlCTask.cs (1)
317 LoggingHelper.LogError("XamlC", null, xe.HelpLink, xamlFilePath, xe.LineNumber, xe.LinePosition, 0, 0, xe.Message);
PresentationBuildTasks (2)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlParser.cs (1)
229newMessage = xmlEx.Message;
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (1)
416RethrowAsParseException(e.Message, e.LineNumber, e.LinePosition, e);
PresentationFramework (2)
MS\Internal\IO\Packaging\XamlFilter.cs (1)
243throw new COMException(xmlException.Message, (int)FilterErrorCode.FILTER_E_UNKNOWNFORMAT);
System\Windows\Markup\XamlReader.cs (1)
521return new XamlParseException(xe.Message, xe.LineNumber, xe.LinePosition, baseUri, baseException);
ReachFramework (3)
PrintConfig\FallbackPTProvider.cs (1)
115xmlException.Message),
PrintConfig\PrtCap_Public.cs (1)
85throw NewPrintCapFormatException(e.Message, e);
PrintConfig\PrtTicket_Public.cs (1)
106throw NewPTFormatException(e.Message, e);
System.Configuration.ConfigurationManager (2)
System\Configuration\ExceptionUtil.cs (1)
68return new ConfigurationErrorsException(xe.Message, xe, filename, line);
System\Configuration\NameValueFileSectionHandler.cs (1)
53throw new ConfigurationErrorsException(e.Message, e, sourceFileFullPath, e.LineNumber);
System.Private.DataContractSerialization (1)
System\Xml\XmlExceptionHelper.cs (1)
45string s = exception.Message;
System.Private.Xml (8)
System\Xml\Schema\Preprocessor.cs (2)
2054SendValidationEvent(SR.Sch_InvalidIdAttribute, new string[] { ex.Message }, ex, xso); 2118SendValidationEvent(SR.Sch_InvalidAttribute, new string[] { attributeName, ex.Message }, ex, xso);
System\Xml\Schema\XdrBuilder.cs (1)
534SendValidationEvent(SR.Sch_CannotLoadSchema, new string[] { uri, e.Message }, XmlSeverityType.Warning);
System\Xml\Schema\XmlValueConverter.cs (2)
616throw new FormatException(e.Message); 634throw new FormatException(e.Message);
System\Xml\Xsl\Xslt\Compiler.cs (3)
209errorHelper.ReportError(/*[XT_042]*/e.Message, null); 226errorHelper.ReportError(/*[XT_043]*/e.Message, null); 245errorHelper.ReportError(/*[XT_044]*/e.Message, null);
System.Windows.Forms (2)
System\Resources\ResXResourceReader.cs (2)
392throw new ArgumentException(string.Format(SR.InvalidResXFile, e.Message), e); 404throw new ArgumentException(string.Format(SR.InvalidResXFile, xmlEx.Message), xmlEx);