Base:
18 references to Message
Microsoft.Build.Engine (2)
Engine\ProjectSchemaValidationHandler.cs (2)
179"InvalidSchemaFile", schemaFile, e.Message); 204"SchemaValidationError", args.Exception.Message);
Microsoft.Build.Tasks.Core (1)
BootstrapperUtil\BootstrapperBuilder.cs (1)
859Debug.Fail("Failed to load document '" + filePath + "' due to the following exception:\r\n" + ex.Message);
Microsoft.DotNet.XliffTasks (1)
Tasks\TranslateSource.cs (1)
30Log.LogErrorInFile(XlfFile.ItemSpec, validationError.LineNumber, validationError.Message);
Microsoft.DotNet.XliffTasks.Tests (1)
XlfDocumentTests.cs (1)
605e => Assert.Equal(expected: "The element 'trans-unit' in namespace 'urn:oasis:names:tc:xliff:document:1.2' has invalid child element 'target' in namespace 'urn:oasis:names:tc:xliff:document:1.2'. List of possible elements expected: 'source' in namespace 'urn:oasis:names:tc:xliff:document:1.2'.", actual: e.Message)
MSBuild (2)
ProjectSchemaValidationHandler.cs (2)
156e.Message); 272args.Exception.Message));
System.Private.Xml (11)
System\Xml\Schema\Preprocessor.cs (1)
395SendValidationEvent(SR.Sch_CannotLoadSchemaLocation, schemaLocation, e.Message, e.SourceUri, e.LineNumber, e.LinePosition);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (1)
240SendValidationEventNoThrow(new XmlSchemaException(SR.Sch_CannotLoadSchema, new string[] { schemaLocation, e.Message }, e.SourceUri, e.LineNumber, e.LinePosition), XmlSeverityType.Error);
System\Xml\Schema\ValidationEventArgs.cs (1)
42get { return _ex.Message; }
System\Xml\Schema\XdrValidator.cs (1)
356SendValidationEvent(SR.Sch_CannotLoadSchema, new string[] { uri, e.Message }, XmlSeverityType.Error);
System\Xml\Schema\XmlSchemaValidator.cs (2)
347SendValidationEvent(SR.Sch_CannotLoadSchema, new string[] { schema.BaseUri!.ToString(), e.Message }, e); 1845SendValidationEvent(SR.Sch_CannotLoadSchema, new string[] { uri, e.Message }, e);
System\Xml\Schema\XsdBuilder.cs (1)
741SendValidationEvent(SR.Sch_InvalidXsdAttributeDatatypeValue, new string[] { name, e.Message }, XmlSeverityType.Error);
System\Xml\Schema\XsdValidator.cs (2)
164SendValidationEvent(SR.Sch_CannotLoadSchema, new string[] { BaseUri!.AbsoluteUri, e.Message }, XmlSeverityType.Error); 604SendValidationEvent(SR.Sch_CannotLoadSchema, new string[] { uri, e.Message }, XmlSeverityType.Error);
System\Xml\Serialization\XmlSchemas.cs (2)
294throw CreateValidationException(e, e.Message); 681throw CreateValidationException(e, e.Message);