Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 979 Bytes

cs1589.md

File metadata and controls

34 lines (28 loc) · 979 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Compiler Warning (level 1) CS1589
Compiler Warning (level 1) CS1589
07/20/2015
CS1589
CS1589
bdc47124-93ae-4c6a-81b2-dde8ec4d0ab1

Compiler Warning (level 1) CS1589

Unable to include XML fragment 'fragment' of file 'file' -- reason

The syntax (fragment) of a <include> tag, which referenced a file (file), was incorrect for the specified reason.

A malformed line will be placed in the generated XML file.

The following sample generates CS1589:

// CS1589.cs  
// compile with: /W:1 /doc:CS1589_out.xml  
  
/// <include file='CS1589.doc' path='MyDocs/MyMembers[@name="test"]/' />   // CS1589  
// try the following line instead  
// /// <include file='CS1589.doc' path='MyDocs/MyMembers[@name="test"]/*' />  
class Test  
{  
   public static void Main()  
   {  
   }  
}