1
2
3
4
5
6
7
public static bool Reshape(Stream source, out XslCompiledTransform target)
 {
     XmlTextReader xr = new XmlTextReader(source);
     target = new XslCompiledTransform();
     target.Load((XmlReader)xr);
     return (true);
 }
Line 1 : Expected class, delegate, enum, interface, or struct
Line 3 : Expected class, delegate, enum, interface, or struct
Line 4 : Expected class, delegate, enum, interface, or struct
Line 7 : Type or namespace definition, or end-of-file expected