You can subscribe to this list here.
2004 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(10) |
Aug
(8) |
Sep
|
Oct
(13) |
Nov
(50) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
|
Feb
|
Mar
(10) |
Apr
(12) |
May
(3) |
Jun
(6) |
Jul
(3) |
Aug
(1) |
Sep
(49) |
Oct
|
Nov
|
Dec
(3) |
2006 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
(6) |
Dec
(11) |
2007 |
Jan
(1) |
Feb
(6) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(5) |
2008 |
Jan
(5) |
Feb
(6) |
Mar
(25) |
Apr
(8) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Owen R. <exo...@us...> - 2004-11-15 05:13:45
|
Update of /cvsroot/netreflector/NetReflector/src/NetReflector.Test/Serialisers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2560/src/NetReflector.Test/Serialisers Modified Files: XmlDocumentationGeneratorTest.cs Log Message: - working on XmlDocumentationGenerator - started Xsd generation for NetReflector - lots of FxCop inspired improvements Index: XmlDocumentationGeneratorTest.cs =================================================================== RCS file: /cvsroot/netreflector/NetReflector/src/NetReflector.Test/Serialisers/XmlDocumentationGeneratorTest.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** XmlDocumentationGeneratorTest.cs 22 Oct 2004 12:45:33 -0000 1.2 --- XmlDocumentationGeneratorTest.cs 15 Nov 2004 05:13:01 -0000 1.3 *************** *** 19,24 **** generator.Write(writer); ! string expectedXml = @"<type><name>TestClass</name><namespace>Exortech.NetReflector.Test</namespace><reflectorName>reflectTest</reflectorName>" + ! "<description>Class used for unit testing NetReflector.</description></type>"; Assert.AreEqual(expectedXml, writer.ToString()); } --- 19,24 ---- generator.Write(writer); ! string expectedXml = @"<?xml version=""1.0"" encoding=""utf-16""?><netreflector><reflectortype><name>TestClass</name><namespace>Exortech.NetReflector.Test</namespace><reflectorName>reflectTest</reflectorName>" + ! "<description>Class used for unit testing NetReflector.</description></reflectortype></netreflector>"; Assert.AreEqual(expectedXml, writer.ToString()); } *************** *** 34,40 **** generator.Write(writer); ! string expectedXml = @"<type><name>TestSubClass</name><namespace>Exortech.NetReflector.Test</namespace><reflectorName>sub</reflectorName></type>"; Assert.AreEqual(expectedXml, writer.ToString()); ! } [Test] --- 34,40 ---- generator.Write(writer); ! string expectedXml = @"<?xml version=""1.0"" encoding=""utf-16""?><netreflector><reflectortype><name>TestSubClass</name><namespace>Exortech.NetReflector.Test</namespace><reflectorName>sub</reflectorName></reflectortype></netreflector>"; Assert.AreEqual(expectedXml, writer.ToString()); ! } [Test] *************** *** 46,51 **** generator.Write(new XmlTextWriter(writer), new IXmlMemberSerialiser[] { CreateSerialiser("Name"), CreateSerialiser("Count") }); ! string expectedXml = @"<members><member><name>Name</name><reflectorName>name</reflectorName><description>name of the test class</description></member>" + ! "<member><name>Count</name><reflectorName>count</reflectorName></member></members>"; Assert.AreEqual(expectedXml, writer.ToString()); } --- 46,51 ---- generator.Write(new XmlTextWriter(writer), new IXmlMemberSerialiser[] { CreateSerialiser("Name"), CreateSerialiser("Count") }); ! string expectedXml = @"<members><member><name>Name</name><reflectorName>name</reflectorName><description>name of the test class</description><required>True</required></member>" + ! "<member><name>Count</name><reflectorName>count</reflectorName><required>True</required></member></members>"; Assert.AreEqual(expectedXml, writer.ToString()); } |
From: Owen R. <exo...@us...> - 2004-11-15 05:13:45
|
Update of /cvsroot/netreflector/NetReflector/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2560/src Modified Files: NetReflector.sln Log Message: - working on XmlDocumentationGenerator - started Xsd generation for NetReflector - lots of FxCop inspired improvements Index: NetReflector.sln =================================================================== RCS file: /cvsroot/netreflector/NetReflector/src/NetReflector.sln,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** NetReflector.sln 6 Jul 2004 05:13:22 -0000 1.3 --- NetReflector.sln 15 Nov 2004 05:13:01 -0000 1.4 *************** *** 6,11 **** Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NetReflectorTest", "NetReflector.Test\NetReflectorTest.csproj", "{A4C5FB23-D9F7-48B7-9E81-F2EFB90F991E}" ProjectSection(ProjectDependencies) = postProject - {4EB8C393-C246-4E5A-BD57-146ECFF60C2B} = {4EB8C393-C246-4E5A-BD57-146ECFF60C2B} {6F47E988-250D-4B42-9278-07F18B3704BE} = {6F47E988-250D-4B42-9278-07F18B3704BE} EndProjectSection EndProject --- 6,11 ---- Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NetReflectorTest", "NetReflector.Test\NetReflectorTest.csproj", "{A4C5FB23-D9F7-48B7-9E81-F2EFB90F991E}" ProjectSection(ProjectDependencies) = postProject {6F47E988-250D-4B42-9278-07F18B3704BE} = {6F47E988-250D-4B42-9278-07F18B3704BE} + {4EB8C393-C246-4E5A-BD57-146ECFF60C2B} = {4EB8C393-C246-4E5A-BD57-146ECFF60C2B} EndProjectSection EndProject *************** *** 15,18 **** --- 15,22 ---- EndProjectSection EndProject + Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NetReflectorDocumenterTask", "NetReflectorDocumenterTask\NetReflectorDocumenterTask.csproj", "{44B2D6B3-AB72-4D7C-8009-D5774F8FDD5D}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection + EndProject Global GlobalSection(SolutionConfiguration) = preSolution *************** *** 33,36 **** --- 37,44 ---- {4EB8C393-C246-4E5A-BD57-146ECFF60C2B}.Release.ActiveCfg = Release|.NET {4EB8C393-C246-4E5A-BD57-146ECFF60C2B}.Release.Build.0 = Release|.NET + {44B2D6B3-AB72-4D7C-8009-D5774F8FDD5D}.Debug.ActiveCfg = Debug|.NET + {44B2D6B3-AB72-4D7C-8009-D5774F8FDD5D}.Debug.Build.0 = Debug|.NET + {44B2D6B3-AB72-4D7C-8009-D5774F8FDD5D}.Release.ActiveCfg = Release|.NET + {44B2D6B3-AB72-4D7C-8009-D5774F8FDD5D}.Release.Build.0 = Release|.NET EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution |
Update of /cvsroot/netreflector/NetReflector/src/NetReflector In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2560/src/NetReflector Modified Files: AssemblyInfo.cs NetReflector.cs NetReflector.csproj NetReflectorException.cs XmlDocumentationGenerator.cs Added Files: VersionAssemblyInfo.cs Log Message: - working on XmlDocumentationGenerator - started Xsd generation for NetReflector - lots of FxCop inspired improvements --- NEW FILE: VersionAssemblyInfo.cs --- using System.Reflection; //------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. // Runtime Version: 1.1.4322.2032 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </autogenerated> //------------------------------------------------------------------------------ [assembly: AssemblyVersionAttribute("1.2.1.1")] Index: XmlDocumentationGenerator.cs =================================================================== RCS file: /cvsroot/netreflector/NetReflector/src/NetReflector/XmlDocumentationGenerator.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** XmlDocumentationGenerator.cs 6 Jul 2004 05:13:23 -0000 1.1 --- XmlDocumentationGenerator.cs 15 Nov 2004 05:13:02 -0000 1.2 *************** *** 23,31 **** } public void Write(XmlWriter writer) { foreach (IXmlTypeSerialiser typeSerialiser in table) { ! writer.WriteStartElement("type"); writer.WriteElementString("name", typeSerialiser.Type.Name); writer.WriteElementString("namespace", typeSerialiser.Type.Namespace); --- 23,52 ---- } + public void WriteIndented(TextWriter writer) + { + XmlTextWriter xmlWriter = new XmlTextWriter(writer); + xmlWriter.Formatting = Formatting.Indented; + Write(xmlWriter); + } + public void Write(XmlWriter writer) { + writer.WriteStartDocument(); + writer.WriteStartElement("netreflector"); + try + { + WriteTypes(writer); + } + finally + { + writer.WriteEndDocument(); + } + } + + private void WriteTypes(XmlWriter writer) + { foreach (IXmlTypeSerialiser typeSerialiser in table) { ! writer.WriteStartElement("reflectortype"); writer.WriteElementString("name", typeSerialiser.Type.Name); writer.WriteElementString("namespace", typeSerialiser.Type.Namespace); *************** *** 41,44 **** --- 62,70 ---- if (output != null) writer.WriteElementString(elementName, output); } + + public static void WriteIfNotNull(XmlWriter writer, string elementName, Type type) + { + if (type != null) writer.WriteElementString(elementName, type.Name); + } } *************** *** 54,57 **** --- 80,86 ---- writer.WriteElementString("reflectorName", memberSerialiser.Attribute.Name); XmlDocumentationGenerator.WriteIfNotNull(writer, "description", memberSerialiser.Attribute.Description); + writer.WriteElementString("required", memberSerialiser.Attribute.Required.ToString()); + XmlDocumentationGenerator.WriteIfNotNull(writer, "instanceType", memberSerialiser.Attribute.InstanceType); + XmlDocumentationGenerator.WriteIfNotNull(writer, "instanceTypeKey", memberSerialiser.Attribute.InstanceTypeKey); writer.WriteEndElement(); } Index: NetReflectorException.cs =================================================================== RCS file: /cvsroot/netreflector/NetReflector/src/NetReflector/NetReflectorException.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** NetReflectorException.cs 22 Oct 2004 12:45:34 -0000 1.2 --- NetReflectorException.cs 15 Nov 2004 05:13:02 -0000 1.3 *************** *** 1,9 **** using System; using System.Reflection; using System.Text; - using Exortech.NetReflector.Util; namespace Exortech.NetReflector { public class NetReflectorException : ApplicationException { --- 1,10 ---- using System; using System.Reflection; + using System.Runtime.Serialization; using System.Text; namespace Exortech.NetReflector { + [Serializable] public class NetReflectorException : ApplicationException { *************** *** 15,30 **** { } } public class NetReflectorTypeLoadException : NetReflectorException { ! public NetReflectorTypeLoadException(Assembly assembly, ReflectionTypeLoadException ex) : base(CreateMessage(assembly, ex)) { } ! private static string CreateMessage(Assembly assembly, ReflectionTypeLoadException ex) { StringBuilder builder = new StringBuilder(); ! builder.AppendFormat("Unable to load types from assembly {0}:", assembly.GetName()).Append(Environment.NewLine); builder.AppendFormat("Failed to load {0} of the {1} types defined in the assembly.", ex.LoaderExceptions.Length, ex.Types.Length).Append(Environment.NewLine); builder.Append("Exceptions: ").Append(Environment.NewLine); --- 16,40 ---- { } + + protected NetReflectorException(SerializationInfo info, StreamingContext context) : base(info, context) + { + } } + [Serializable] public class NetReflectorTypeLoadException : NetReflectorException { ! public NetReflectorTypeLoadException(Assembly loadedAssembly, ReflectionTypeLoadException ex) : base(CreateMessage(loadedAssembly, ex)) { } ! protected NetReflectorTypeLoadException(SerializationInfo info, StreamingContext context) : base(info, context) ! { ! } ! ! private static string CreateMessage(Assembly loadedAssembly, ReflectionTypeLoadException ex) { StringBuilder builder = new StringBuilder(); ! builder.AppendFormat("Unable to load types from assembly {0}:", loadedAssembly.GetName()).Append(Environment.NewLine); builder.AppendFormat("Failed to load {0} of the {1} types defined in the assembly.", ex.LoaderExceptions.Length, ex.Types.Length).Append(Environment.NewLine); builder.Append("Exceptions: ").Append(Environment.NewLine); *************** *** 41,43 **** } } ! } --- 51,53 ---- } } ! } \ No newline at end of file Index: NetReflector.csproj =================================================================== RCS file: /cvsroot/netreflector/NetReflector/src/NetReflector/NetReflector.csproj,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** NetReflector.csproj 6 Jul 2004 05:13:22 -0000 1.4 --- NetReflector.csproj 15 Nov 2004 05:13:02 -0000 1.5 *************** *** 78,82 **** Name = "System.Data" AssemblyName = "System.Data" ! HintPath = "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\System.Data.dll" /> </References> --- 78,82 ---- Name = "System.Data" AssemblyName = "System.Data" ! HintPath = "..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll" /> </References> *************** *** 140,143 **** --- 140,153 ---- /> <File + RelPath = "Generators\XsdGenerator.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "Generators\XsdTypes.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "Serialisers\IXmlMemberSerialiser.cs" SubType = "Code" Index: NetReflector.cs =================================================================== RCS file: /cvsroot/netreflector/NetReflector/src/NetReflector/NetReflector.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NetReflector.cs 5 Nov 2003 08:29:56 -0000 1.1 --- NetReflector.cs 15 Nov 2004 05:13:02 -0000 1.2 *************** *** 1,6 **** - using Exortech.NetReflector.Util; using System; using System.IO; using System.Xml; namespace Exortech.NetReflector --- 1,6 ---- using System; using System.IO; using System.Xml; + using Exortech.NetReflector.Util; namespace Exortech.NetReflector *************** *** 17,21 **** public static void Write(TextWriter writer, object target) { ! CheckNull(writer, "writer", typeof(TextWriter)); Write(new XmlTextWriter(writer), target); } --- 17,21 ---- public static void Write(TextWriter writer, object target) { ! CheckNull(writer, "writer", typeof (TextWriter)); Write(new XmlTextWriter(writer), target); } *************** *** 23,28 **** public static void Write(XmlWriter writer, object target) { ! CheckNull(writer, "writer", typeof(TextWriter)); ! CheckNull(target, "target", typeof(object)); ReflectorTypeAttribute attribute = ReflectorTypeAttribute.GetAttribute(target); --- 23,28 ---- public static void Write(XmlWriter writer, object target) { ! CheckNull(writer, "writer", typeof (TextWriter)); ! CheckNull(target, "target", typeof (object)); ReflectorTypeAttribute attribute = ReflectorTypeAttribute.GetAttribute(target); *************** *** 51,55 **** public static object Read(TextReader reader, NetReflectorTypeTable table) { ! CheckNull(reader, "reader", typeof(TextReader)); return Read(new XmlTextReader(reader), table); } --- 51,55 ---- public static object Read(TextReader reader, NetReflectorTypeTable table) { ! CheckNull(reader, "reader", typeof (TextReader)); return Read(new XmlTextReader(reader), table); } *************** *** 59,66 **** return Read(reader, null); } ! public static object Read(XmlReader reader, NetReflectorTypeTable table) { ! CheckNull(reader, "reader", typeof(XmlReader)); return Read(XmlUtil.ReadNode(reader), table); } --- 59,66 ---- return Read(reader, null); } ! public static object Read(XmlReader reader, NetReflectorTypeTable table) { ! CheckNull(reader, "reader", typeof (XmlReader)); return Read(XmlUtil.ReadNode(reader), table); } *************** *** 73,77 **** public static object Read(XmlNode node, NetReflectorTypeTable table) { ! CheckNull(node, "node", typeof(XmlNode)); if (table == null) { --- 73,77 ---- public static object Read(XmlNode node, NetReflectorTypeTable table) { ! CheckNull(node, "node", typeof (XmlNode)); if (table == null) { *************** *** 107,111 **** Read(XmlUtil.ReadNode(reader), instance, table); } ! public static void Read(XmlNode node, object instance) { --- 107,111 ---- Read(XmlUtil.ReadNode(reader), instance, table); } ! public static void Read(XmlNode node, object instance) { *************** *** 115,124 **** public static void Read(XmlNode node, object instance, NetReflectorTypeTable table) { ! CheckNull(node, "node", typeof(XmlNode)); ! CheckNull(instance, "instance", typeof(object)); if (table == null) { table = NetReflectorTypeTable.CreateDefault(); ! } new XmlTypeSerialiser(instance.GetType(), new ReflectorTypeAttribute(instance.GetType().Name)).ReadMembers(node, instance, table); } --- 115,124 ---- public static void Read(XmlNode node, object instance, NetReflectorTypeTable table) { ! CheckNull(node, "node", typeof (XmlNode)); ! CheckNull(instance, "instance", typeof (object)); if (table == null) { table = NetReflectorTypeTable.CreateDefault(); ! } new XmlTypeSerialiser(instance.GetType(), new ReflectorTypeAttribute(instance.GetType().Name)).ReadMembers(node, instance, table); } *************** *** 133,136 **** } } ! } ! --- 133,135 ---- } } ! } \ No newline at end of file Index: AssemblyInfo.cs =================================================================== RCS file: /cvsroot/netreflector/NetReflector/src/NetReflector/AssemblyInfo.cs,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** AssemblyInfo.cs 24 Oct 2002 13:28:35 -0000 1.1.1.1 --- AssemblyInfo.cs 15 Nov 2004 05:13:01 -0000 1.2 *************** *** 1,58 **** using System.Reflection; ! using System.Runtime.CompilerServices; ! ! // ! // General Information about an assembly is controlled through the following ! // set of attributes. Change these attribute values to modify the information ! // associated with an assembly. ! // ! [assembly: AssemblyTitle("")] ! [assembly: AssemblyDescription("")] ! [assembly: AssemblyConfiguration("")] ! [assembly: AssemblyCompany("")] ! [assembly: AssemblyProduct("")] ! [assembly: AssemblyCopyright("")] ! [assembly: AssemblyTrademark("")] ! [assembly: AssemblyCulture("")] ! ! // ! // Version information for an assembly consists of the following four values: ! // ! // Major Version ! // Minor Version ! // Build Number ! // Revision ! // ! // You can specify all the values or you can default the Revision and Build Numbers ! // by using the '*' as shown below: ! [assembly: AssemblyVersion("1.0.*")] ! // ! // In order to sign your assembly you must specify a key to use. Refer to the ! // Microsoft .NET Framework documentation for more information on assembly signing. ! // ! // Use the attributes below to control which key is used for signing. ! // ! // Notes: ! // (*) If no key is specified, the assembly is not signed. ! // (*) KeyName refers to a key that has been installed in the Crypto Service ! // Provider (CSP) on your machine. KeyFile refers to a file which contains ! // a key. ! // (*) If the KeyFile and the KeyName values are both specified, the ! // following processing occurs: ! // (1) If the KeyName can be found in the CSP, that key is used. ! // (2) If the KeyName does not exist and the KeyFile does exist, the key ! // in the KeyFile is installed into the CSP and used. ! // (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. ! // When specifying the KeyFile, the location of the KeyFile should be ! // relative to the project output directory which is ! // %Project Directory%\obj\<configuration>. For example, if your KeyFile is ! // located in the project directory, you would specify the AssemblyKeyFile ! // attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] ! // (*) Delay Signing is an advanced option - see the Microsoft .NET Framework ! // documentation for more information on this. ! // ! [assembly: AssemblyDelaySign(false)] ! [assembly: AssemblyKeyFile("")] ! [assembly: AssemblyKeyName("")] --- 1,21 ---- + using System; using System.Reflection; ! using System.Resources; ! using System.Runtime.InteropServices; ! using System.Security.Permissions; ! // Assembly metadata ! [assembly : AssemblyCopyright("Copyright © 2004 R. Owen Rogers")] ! [assembly : AssemblyCompany("Exortech")] ! [assembly : AssemblyProduct("NetReflector")] ! [assembly : AssemblyTitle("NetReflector")] ! [assembly : AssemblyDescription("NetReflector is an open source xml binding framework.")] ! [assembly : AssemblyInformationalVersion("1.1.4322.573")] ! [assembly : AssemblyKeyFile("..\\NetReflector.key")] ! [assembly : NeutralResourcesLanguage("en")] ! [assembly : CLSCompliant(true)] ! [assembly : ComVisible(false)] ! // Permissions ! [assembly : FileIOPermission(SecurityAction.RequestMinimum)] ! [assembly : ReflectionPermission(SecurityAction.RequestMinimum)] \ No newline at end of file |
From: Owen R. <exo...@us...> - 2004-11-15 05:13:43
|
Update of /cvsroot/netreflector/NetReflector/src/NetReflector.Test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2560/src/NetReflector.Test Modified Files: NetReflectorTest.csproj Log Message: - working on XmlDocumentationGenerator - started Xsd generation for NetReflector - lots of FxCop inspired improvements Index: NetReflectorTest.csproj =================================================================== RCS file: /cvsroot/netreflector/NetReflector/src/NetReflector.Test/NetReflectorTest.csproj,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** NetReflectorTest.csproj 3 Aug 2004 10:40:39 -0000 1.10 --- NetReflectorTest.csproj 15 Nov 2004 05:13:00 -0000 1.11 *************** *** 116,119 **** --- 116,124 ---- /> <File + RelPath = "Generators\XsdGeneratorTest.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File RelPath = "resources\ArrayTestClass.cs" SubType = "Code" |
From: Owen R. <exo...@us...> - 2004-11-15 05:13:41
|
Update of /cvsroot/netreflector/NetReflector In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2560 Modified Files: .cvsignore reflector.build Added Files: NetReflector.key netreflector.FxCop Log Message: - working on XmlDocumentationGenerator - started Xsd generation for NetReflector - lots of FxCop inspired improvements --- NEW FILE: NetReflector.key --- (This appears to be a binary file; contents omitted.) Index: .cvsignore =================================================================== RCS file: /cvsroot/netreflector/NetReflector/.cvsignore,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** .cvsignore 22 Oct 2004 12:45:32 -0000 1.4 --- .cvsignore 15 Nov 2004 05:13:00 -0000 1.5 *************** *** 2,4 **** dist .project ! cvs_root \ No newline at end of file --- 2,5 ---- dist .project ! cvs_root ! temp \ No newline at end of file --- NEW FILE: netreflector.FxCop --- (This appears to be a binary file; contents omitted.) Index: reflector.build =================================================================== RCS file: /cvsroot/netreflector/NetReflector/reflector.build,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** reflector.build 22 Oct 2004 12:45:32 -0000 1.6 --- reflector.build 15 Nov 2004 05:13:00 -0000 1.7 *************** *** 16,19 **** --- 16,20 ---- <property name="test.dll" value="NetReflector.Test.dll" /> <property name="plugin.dll" value="NetReflectorPlugin.Test.dll" /> + <property name="documenter.dll" value="NetReflectorDocumenterTask.dll" /> <!-- ALL --> *************** *** 46,60 **** <call target="compile.core" /> <call target="compile.test" /> </target> - <target name="compile.core" depends="init" description="compiles the core assembly" > ! <csc target="library" output="${build.dir}\${core.dll}" debug="${debug}" doc="${build.dir}\${core.dll}.xml"> <sources basedir="${src.dir}\NetReflector"> <include name="**\*.cs"/> </sources> - <references> - <include name="${lib.dir}\nunit.framework.dll"/> - </references> <!-- don't warn about uncommented public methods --> <arg value="/nowarn:1591"/> --- 47,58 ---- <call target="compile.core" /> <call target="compile.test" /> + <call target="compile.documenter" /> </target> <target name="compile.core" depends="init" description="compiles the core assembly" > ! <csc target="library" output="${build.dir}\${core.dll}" debug="${debug}"> <sources basedir="${src.dir}\NetReflector"> <include name="**\*.cs"/> </sources> <!-- don't warn about uncommented public methods --> <arg value="/nowarn:1591"/> *************** *** 63,67 **** <target name="compile.plugin" depends="compile.core" description="compiles plugin assembly to be used by the tests"> ! <csc target="library" output="${build.dir}\${plugin.dll}" debug="${debug}" doc="${build.dir}\${plugin.dll}.xml"> <sources basedir="${src.dir}\NetReflectorPluginTest"> <include name="**\*.cs"/> --- 61,65 ---- <target name="compile.plugin" depends="compile.core" description="compiles plugin assembly to be used by the tests"> ! <csc target="library" output="${build.dir}\${plugin.dll}" debug="${debug}"> <sources basedir="${src.dir}\NetReflectorPluginTest"> <include name="**\*.cs"/> *************** *** 75,79 **** <target name="compile.test" depends="compile.plugin" description="compiles the core assembly" > ! <csc target="library" output="${build.dir}\${test.dll}" debug="${debug}" doc="${build.dir}\${test.dll}.xml"> <sources basedir="${src.dir}\NetReflector.Test"> <include name="**\*.cs"/> --- 73,77 ---- <target name="compile.test" depends="compile.plugin" description="compiles the core assembly" > ! <csc target="library" output="${build.dir}\${test.dll}" debug="${debug}"> <sources basedir="${src.dir}\NetReflector.Test"> <include name="**\*.cs"/> *************** *** 89,92 **** --- 87,104 ---- </target> + <target name="compile.documenter" depends="compile.core" description="compiles the nant documenter task" > + <csc target="library" output="${build.dir}\${documenter.dll}" debug="${debug}"> + <sources basedir="${src.dir}\NetReflectorDocumenterTask"> + <include name="**\*.cs"/> + </sources> + <references> + <include name="${build.dir}\${core.dll}"/> + <include name="tools\nant\NAnt.Core.dll"/> + </references> + <!-- don't warn about uncommented public methods --> + <arg value="/nowarn:1591"/> + </csc> + </target> + <!-- TEST --> <target name="test.unit" depends="compile" description="runs unit tests"> *************** *** 106,119 **** <!-- ZIP PACKAGE --> ! <target name="package" description="Creates a package zip file."> <!-- create zip file --> <property name="project.zip-path" value="${nant.project.name}.zip"/> <zip zipfile="${project.zip-path}"> <fileset> ! <includes name="**/*"/> ! <excludes name="**/obj/**"/> ! <excludes name="**/bin/**"/> ! <excludes name="dist/**"/> ! <excludes name="build/**"/> </fileset> </zip> --- 118,127 ---- <!-- ZIP PACKAGE --> ! <target name="package" description="Creates an assembly zip file."> <!-- create zip file --> <property name="project.zip-path" value="${nant.project.name}.zip"/> <zip zipfile="${project.zip-path}"> <fileset> ! <include name="build/NetReflector.dll"/> </fileset> </zip> *************** *** 122,124 **** --- 130,193 ---- </target> + <target name="package.src" description="Creates a source zip file."> + <!-- create zip file --> + <property name="project.zip-path" value="${nant.project.name}.src.zip"/> + <zip zipfile="${project.zip-path}"> + <fileset> + <include name="lib/*"/> + <include name="src/**/*"/> + <exclude name="**/obj/**"/> + <exclude name="**/bin/**"/> + <exclude name="**/.*/**"/> + <exclude name="**/_*/**"/> + </fileset> + </zip> + + <echo message="Created zip package at file://${nant.project.basedir}\${project.zip-path}"/> + </target> + + <!-- FOR RUNNING CCNET AGAINST ITSELF --> + <target name="ContinuousIntegration"> + <ifnot test="${property::exists('label-to-apply')}"> + <fail message="label-to-apply property not set, so can't create labelled distribution files" /> + </ifnot> + + <call target="transform.build.number" /> + <call target="createAssemblyInfo" /> + <call target="all" /> + <call target="dist.publish" /> + <call target="reporting" /> + <echo message="CI Run for build number ${label-to-apply} successfully completed" /> + </target> + + <target name="transform.build.number" > + <regex pattern="(?'major'\d+)_(?'minor'\d+)_(?'revision'\d+)_(?'build'\d+)" input="${label-to-apply}" /> + <property name="build.number" value="${major}.${minor}.${revision}.${build}" /> + <echo message="Build number: ${build.number}"/> + </target> + + <target name="createAssemblyInfo" description="Create an assembly info file with the current build number" > + + <asminfo output="src/NetReflector/VersionAssemblyInfo.cs" language="CSharp"> + <imports> + <import name="System.Reflection" /> + </imports> + <attributes> + <attribute type="AssemblyVersionAttribute" value="${build.number}" /> + </attributes> + </asminfo> + </target> + + <target name="dist.publish" depends="package, package.src"> + <property name="publish.dir" value="dist" /> + <mkdir dir="${publish.dir}" /> + <copy todir="${publish.dir}" file="${nant.project.name}.zip" /> + </target> + + <target name="reporting" depends="compile"> + <mkdir dir="${build.dir}\fxcop" /> + <exec program="tools\fxcop\fxcopcmd.exe" + commandline="/file:${build.dir}\NetReflector.dll /o:${build.dir}\fxcop\netreflector-fxcop.xml" failonerror="false"/> + </target> + </project> \ No newline at end of file |
From: Owen R. <exo...@us...> - 2004-11-15 05:13:20
|
Update of /cvsroot/netreflector/NetReflector/web In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2560/web Added Files: default.html Log Message: - working on XmlDocumentationGenerator - started Xsd generation for NetReflector - lots of FxCop inspired improvements --- NEW FILE: default.html --- <h2>Introduction</h2> NetReflector is a dynamic reflective populator for the .NET platform. It uses C# attributes to dynamically construct an object model from a configuration file. It greatly simplifies building configurable, pluggable applications by handling the mapping between Xml nodes and domain objects and their properties. By using NetReflector, applications do not require parsing logic or complex Xml schemas. All that is required is adding attributes to the classes and properties to be populated from the configuration file. This makes it very easy to refactor existing applications to support NetReflector. <p> NetReflector is in a beta-release state and is currently being used by the .NET port of <a href="cruisecontrol.sourceforge.net">CruiseControl</a> (a continuous integration tool also hosted on SourceForge). </p> <h2>Features</h2> Using NetReflector in your development project brings numerous benefits: <ul> <li>test the public methods in any COM component or Visual Basic application. </ul> Check out what is new in <a href="revisions.html">COMUnit 1.2 BETA 1</a>. <h2>Getting Started</h2> <ol> <li><a href="?page=download.html">Download NetReflector</a></li> <li><a href="?page=tutorial.html">Read the tutorial</a> to learn how to get started with NetReflector</li> <li><a href="http://lists.sourceforge.net/lists/listinfo/netreflector-users">Subscribe to the NetReflector mailing list</a></li> </ol> |
From: Owen R. <exo...@us...> - 2004-11-15 05:13:20
|
Update of /cvsroot/netreflector/NetReflector/tools/nant/lib/net/1.1 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2560/tools/nant/lib/net/1.1 Added Files: NDoc.Core.dll NDoc.Documenter.Msdn.dll nunit.core.dll nunit.framework.dll nunit.util.dll Log Message: - working on XmlDocumentationGenerator - started Xsd generation for NetReflector - lots of FxCop inspired improvements --- NEW FILE: NDoc.Documenter.Msdn.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: nunit.framework.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NDoc.Core.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: nunit.util.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: nunit.core.dll --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/netreflector/NetReflector/tools/nant In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2560/tools/nant Added Files: .cvsignore NAnt.Core.dll NAnt.DotNetTasks.dll NAnt.MSNetTasks.dll NAnt.NUnit.dll NAnt.NUnit1Tasks.dll NAnt.NUnit2Tasks.dll NAnt.SourceControlTasks.dll NAnt.VSNetTasks.dll NAnt.VisualCppTasks.dll NAnt.Win32Tasks.dll NAnt.ZipTasks.dll NDoc.Documenter.NAnt.dll log4net.dll nant.exe nant.exe.config Log Message: - working on XmlDocumentationGenerator - started Xsd generation for NetReflector - lots of FxCop inspired improvements --- NEW FILE: .cvsignore --- nant.exe.config --- NEW FILE: NAnt.DotNetTasks.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NAnt.NUnit1Tasks.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NDoc.Documenter.NAnt.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NAnt.MSNetTasks.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NAnt.Core.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: nant.exe.config --- <?xml version="1.0"?> <configuration> <!-- Leave this alone. Sets up configsectionhandler section --> <configSections> <section name="nant" type="NAnt.Core.ConfigurationSection, NAnt.Core" /> <section name="log4net" type="System.Configuration.IgnoreSectionHandler" /> </configSections> <appSettings> <!-- Used to indicate the location of the cache folder for shadow files --> <add key="shadowfiles.path" value="%temp%\nunit20\ShadowCopyCache" /> <!-- Used to indicate that NAnt should shadow copy files in a cache folder near the executable --> <add key="nant.shadowfiles" value="False" /> <!-- Used to indicate if cached files should be deleted when done running--> <add key="nant.shadowfiles.cleanup" value="False" /> <!-- To enable internal log4net logging, uncomment the next line --> <!-- <add key="log4net.Internal.Debug" value="true"/> --> </appSettings> <!-- nant config settings --> <nant> <frameworks> <platform name="win32" default="auto"> <task-assemblies> <!-- include NAnt task assemblies --> <include name="*Tasks.dll" /> <!-- include NAnt test assemblies --> <include name="*Tests.dll" /> <!-- include framework-neutral assemblies --> <include name="tasks/*.dll" /> <!-- exclude Microsoft.NET specific task assembly --> <exclude name="NAnt.MSNetTasks.dll" /> <!-- exclude Microsoft.NET specific test assembly --> <exclude name="NAnt.MSNet.Tests.dll" /> </task-assemblies> <framework name="net-1.0" family="net" version="1.0" description="Microsoft .NET Framework 1.0" runtimeengine="" sdkdirectory="${path::combine(sdkInstallRoot, 'bin')}" frameworkdirectory="${path::combine(installRoot, 'v1.0.3705')}" frameworkassemblydirectory="${path::combine(installRoot, 'v1.0.3705')}" clrversion="1.0.3705" > <task-assemblies> <!-- include .NET specific assemblies --> <include name="tasks/net/*.dll" /> <!-- include .NET 1.0 specific assemblies --> <include name="tasks/net/1.0/**/*.dll" /> <!-- include Microsoft.NET specific task assembly --> <include name="NAnt.MSNetTasks.dll" /> <!-- exclude Microsoft.NET specific test assembly --> <include name="NAnt.MSNet.Tests.dll" /> </task-assemblies> <project> <readregistry property="installRoot" key="SOFTWARE\Microsoft\.NETFramework\InstallRoot" hive="LocalMachine" /> <readregistry property="sdkInstallRoot" key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRoot" hive="LocalMachine" failonerror="false" /> </project> <tasks> <task name="csc"> <attribute name="exename">csc</attribute> <attribute name="supportsnowarnlist">true</attribute> </task> <task name="vbc"> <attribute name="exename">vbc</attribute> </task> <task name="jsc"> <attribute name="exename">jsc</attribute> </task> <task name="vjc"> <attribute name="exename">vjc</attribute> <attribute name="supportsnowarnlist">true</attribute> </task> <task name="resgen"> <attribute name="exename">resgen</attribute> </task> <task name="al"> <attribute name="exename">al</attribute> </task> <task name="delay-sign"> <attribute name="exename">sn</attribute> </task> <task name="license"> <attribute name="exename">lc</attribute> </task> <task name="ilasm"> <attribute name="exename">ilasm</attribute> </task> <task name="ildasm"> <attribute name="exename">ildasm</attribute> </task> </tasks> </framework> <framework name="net-1.1" family="net" version="1.1" description="Microsoft .NET Framework 1.1" runtimeengine="" sdkdirectory="${path::combine(sdkInstallRoot, 'bin')}" frameworkdirectory="${path::combine(installRoot, 'v1.1.4322')}" frameworkassemblydirectory="${path::combine(installRoot, 'v1.1.4322')}" clrversion="1.1.4322" > <task-assemblies> <!-- include .NET specific assemblies --> <include name="tasks/net/*.dll" /> <!-- include .NET 1.1 specific assemblies --> <include name="tasks/net/1.1/**/*.dll" /> <!-- include Microsoft.NET specific task assembly --> <include name="NAnt.MSNetTasks.dll" /> <!-- exclude Microsoft.NET specific test assembly --> <include name="NAnt.MSNet.Tests.dll" /> </task-assemblies> <project> <readregistry property="installRoot" key="SOFTWARE\Microsoft\.NETFramework\InstallRoot" hive="LocalMachine" /> <readregistry property="sdkInstallRoot" key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRootv1.1" hive="LocalMachine" failonerror="false" /> </project> <tasks> <task name="csc"> <attribute name="exename">csc</attribute> <attribute name="supportsnowarnlist">true</attribute> </task> <task name="vbc"> <attribute name="exename">vbc</attribute> </task> <task name="jsc"> <attribute name="exename">jsc</attribute> </task> <task name="vjc"> <attribute name="exename">vjc</attribute> <attribute name="supportsnowarnlist">true</attribute> </task> <task name="resgen"> <attribute name="exename">resgen</attribute> </task> <task name="al"> <attribute name="exename">al</attribute> </task> <task name="delay-sign"> <attribute name="exename">sn</attribute> </task> <task name="license"> <attribute name="exename">lc</attribute> </task> <task name="ilasm"> <attribute name="exename">ilasm</attribute> </task> <task name="ildasm"> <attribute name="exename">ildasm</attribute> </task> </tasks> </framework> <framework name="net-2.0" family="net" version="2.0" description="Microsoft .NET Framework 2.0 Beta 1" runtimeengine="" sdkdirectory="${path::combine(sdkInstallRoot, 'bin')}" frameworkdirectory="${path::combine(installRoot, 'v2.0.40607')}" frameworkassemblydirectory="${path::combine(installRoot, 'v2.0.40607')}" clrversion="2.0.40607" > <task-assemblies> <!-- include .NET specific assemblies --> <include name="tasks/net/*.dll" /> <!-- include .NET 2.0 specific assemblies --> <include name="tasks/net/2.0/**/*.dll" /> <!-- include Microsoft.NET specific task assembly --> <include name="NAnt.MSNetTasks.dll" /> <!-- exclude Microsoft.NET specific test assembly --> <include name="NAnt.MSNet.Tests.dll" /> </task-assemblies> <project> <readregistry property="installRoot" key="SOFTWARE\Microsoft\.NETFramework\InstallRoot" hive="LocalMachine" /> <readregistry property="sdkInstallRoot" key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRootv2.0" hive="LocalMachine" failonerror="false" /> </project> <tasks> <task name="csc"> <attribute name="exename">csc</attribute> <attribute name="supportsnowarnlist">true</attribute> <attribute name="supportswarnaserrorlist">true</attribute> </task> <task name="vbc"> <attribute name="exename">vbc</attribute> <attribute name="supportsnowarnlist">true</attribute> <attribute name="supportswarnaserrorlist">true</attribute> </task> <task name="jsc"> <attribute name="exename">jsc</attribute> </task> <task name="vjc"> <attribute name="exename">vjc</attribute> <attribute name="supportsnowarnlist">true</attribute> </task> <task name="resgen"> <attribute name="exename">resgen</attribute> <attribute name="supportsassemblyreferences">true</attribute> </task> <task name="al"> <attribute name="exename">al</attribute> </task> <task name="delay-sign"> <attribute name="exename">sn</attribute> </task> <task name="license"> <attribute name="exename">lc</attribute> <attribute name="supportsassemblyreferences">true</attribute> </task> <task name="ilasm"> <attribute name="exename">ilasm</attribute> </task> <task name="ildasm"> <attribute name="exename">ildasm</attribute> </task> </tasks> </framework> <framework name="netcf-1.0" family="netcf" version="1.0" description="Microsoft .NET Compact Framework 1.0" runtimeengine="" sdkdirectory="${path::combine(sdkInstallRoot, 'v1.0.5000\bin')}" frameworkdirectory="${path::combine(installRoot, 'v1.1.4322')}" frameworkassemblydirectory="${path::combine(sdkInstallRoot, 'v1.0.5000\Windows CE')}" clrversion="1.1.4322" > <task-assemblies> <!-- this is not a supported runtime framework --> </task-assemblies> <project> <readregistry property="installRoot" key="SOFTWARE\Microsoft\.NETFramework\InstallRoot" hive="LocalMachine" /> <readregistry property="sdkInstallRoot" key="SOFTWARE\Microsoft\.NETCompactFramework\sdkInstallRoot" hive="LocalMachine" /> <readregistry property="sdkInstallRoot.DesktopFramework" key="SOFTWARE\Microsoft\.NETFramework\sdkInstallRootv1.1" hive="LocalMachine" /> <fail if="${not directory::exists(sdkInstallRoot.DesktopFramework)}">The .NET Framework 1.1 SDK is not installed.</fail> </project> <tasks> <task name="csc"> <attribute name="exename">csc</attribute> <attribute name="noconfig">true</attribute> <attribute name="nostdlib">true</attribute> <attribute name="supportsnowarnlist">true</attribute> </task> <task name="vbc"> <attribute name="exename">vbc</attribute> </task> <task name="resgen"> <attribute name="exename">cfresgen</attribute> </task> <task name="al"> <attribute name="exename">al</attribute> </task> <task name="delay-sign"> <attribute name="exename">sn</attribute> </task> <task name="license"> <attribute name="exename">${path::combine(sdkInstallRoot.DesktopFramework, 'bin/lc.exe')}</attribute> </task> <task name="ilasm"> <attribute name="exename">ilasm</attribute> </task> <task name="ildasm"> <attribute name="exename">ildasm</attribute> </task> </tasks> </framework> <framework name="mono-1.0" family="mono" version="1.0" description="Mono 1.0" runtimeengine="${path::combine(frameworkAssemblyDirectory, 'mono.exe')}" sdkdirectory="${frameworkAssemblyDirectory}" frameworkdirectory="${frameworkAssemblyDirectory}" frameworkassemblydirectory="${path::combine(frameworkAssemblyDirectory, 'mono/1.0')}" clrversion="1.1.4322" > <task-assemblies> <!-- include Mono specific assemblies --> <include name="tasks/mono/*.dll" /> <!-- include Mono 1.0 specific assemblies --> <include name="tasks/mono/1.0/**/*.dll" /> </task-assemblies> <project> <!-- TODO : when a new major release of Mono is out, we'll need to come up with a better solution for determining the location of the latest Mono 1.0 bug fix release http://bugzilla.ximian.com/show_bug.cgi?id=63278 --> <!-- first try using the DefaultCLR in HKLM\Novell\Mono, this is used by the Mono 1.0.1 installer (and later?) --> <readregistry property="defaultCLR" key="SOFTWARE\Novell\Mono\DefaultCLR" hive="LocalMachine" failonerror="false" /> <if test="${property::exists('defaultCLR')}"> <property name="monokey" value="SOFTWARE\Novell\Mono\${defaultCLR}" /> </if> <!-- if the defaultCLR registry value does not exist in HKLM\Novell\Mono, then try the HKML\Mono registry key as this was used for the Mono 1.0 installer --> <if test="${not property::exists('defaultCLR')}"> <readregistry property="defaultCLR" key="SOFTWARE\Novell\Mono\DefaultCLR" hive="LocalMachine" /> <property name="monokey" value="SOFTWARE\Mono\${defaultCLR}" /> </if> <!-- ensure the default CLR is indeed a 1.x.x release --> <if test="${not string::starts-with(defaultCLR, '1.0')}"> <fail>The default Mono CLR (${defaultCLR}) is not a 1.0.x release.</fail> </if> <readregistry property="sdkInstallRoot" key="${monokey}\SdkInstallRoot" hive="LocalMachine" /> <readregistry property="frameworkAssemblyDirectory" key="${monokey}\FrameworkAssemblyDirectory" hive="LocalMachine" /> <readregistry property="configDir" key="${monokey}\MonoConfigDir" hive="LocalMachine" /> </project> <properties> </properties> <environment> <env name="PATH" path="${path::combine(sdkInstallRoot, 'bin')};%PATH%" /> <env name="MONO_PATH" path="${frameworkAssemblyDirectory};%MONO_PATH%" /> <env name="MONO_CFG_DIR" path="${configDir};%MONO_CFG_DIR%" /> </environment> <tasks> <task name="al"> <attribute name="exename">al</attribute> <attribute name="useruntimeengine">true</attribute> </task> <task name="csc"> <attribute name="exename">${path::combine(frameworkAssemblyDirectory, 'mono/1.0/mcs.exe')}</attribute> <attribute name="useruntimeengine">true</attribute> <attribute name="supportspackagereferences">true</attribute> <attribute name="supportsnowarnlist">true</attribute> </task> <task name="vbc"> <attribute name="exename">${path::combine(frameworkAssemblyDirectory, 'mono/1.0/mbas.exe')}</attribute> <attribute name="useruntimeengine">true</attribute> </task> <task name="resgen"> <attribute name="exename">monoresgen</attribute> <attribute name="useruntimeengine">true</attribute> </task> <task name="delay-sign"> <attribute name="exename">sn</attribute> <attribute name="useruntimeengine">true</attribute> </task> <task name="license"> <attribute name="hascommandlinecompiler">false</attribute> </task> <task name="ilasm"> <attribute name="exename">ilasm</attribute> <attribute name="useruntimeengine">true</attribute> </task> </tasks> </framework> <framework name="sscli-1.0" family="sscli" version="1.0" description="Microsoft Shared Source CLI 1.0" runtimeengine="C:\sscli\build\v1.x86fstchk.rotor\clix.exe" sdkdirectory="C:\sscli\build\v1.x86fstchk.rotor\sdk\bin" frameworkdirectory="C:\sscli\build\v1.x86fstchk.rotor" frameworkassemblydirectory="C:\sscli\build\v1.x86fstchk.rotor" clrversion="1.0.3" > <task-assemblies> <!-- this is not a supported runtime framework --> </task-assemblies> <project /> <tasks> <task name="csc"> <attribute name="exename">csc</attribute> <attribute name="supportsnowarnlist">true</attribute> </task> <task name="jsc"> <attribute name="exename">jsc</attribute> <attribute name="useruntimeengine">true</attribute> </task> <task name="resgen"> <attribute name="exename">resgen</attribute> </task> <task name="al"> <attribute name="exename">al</attribute> </task> <task name="delay-sign"> <attribute name="exename">sn</attribute> </task> <task name="license"> <attribute name="hascommandlinecompiler">false</attribute> </task> <task name="ilasm"> <attribute name="exename">ilasm</attribute> <attribute name="useruntimeengine">true</attribute> </task> <task name="ildasm"> <attribute name="exename">ildasm</attribute> <attribute name="useruntimeengine">true</attribute> </task> </tasks> </framework> </platform> <platform name="unix" default="auto"> <task-assemblies> <!-- include NAnt task assemblies --> <include name="*Tasks.dll" /> <!-- include NAnt test assemblies --> <include name="*Tests.dll" /> <!-- include framework-neutral assemblies --> <include name="tasks/*.dll" /> <!-- exclude Microsoft.NET specific task assembly --> <exclude name="NAnt.MSNetTasks.dll" /> <!-- exclude Microsoft.NET specific test assembly --> <exclude name="NAnt.MSNet.Tests.dll" /> <!-- exclude win32 specific task assembly --> <exclude name="NAnt.Win32Tasks.dll" /> <!-- exclude win32 specific test assembly --> <exclude name="NAnt.Win32.Tests.dll" /> </task-assemblies> <framework name="mono-1.0" family="mono" version="1.0" description="Mono 1.0" runtimeengine="${path::combine(prefix, 'bin/mono')}" sdkdirectory="${path::combine(prefix, 'bin')}" frameworkdirectory="${path::combine(prefix, 'bin')}" frameworkassemblydirectory="${path::combine(prefix, 'lib/mono/1.0')}" clrversion="1.1.4322" > <task-assemblies> <!-- include Mono specific assemblies --> <include name="tasks/mono/*.dll" /> <!-- include Mono 1.0 specific assemblies --> <include name="tasks/mono/1.0/**/*.dll" /> </task-assemblies> <project> <if test="${not pkg-config::exists('mono')}"> <fail>Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/.</fail> </if> <property name="prefix" value="${pkg-config::get-variable('mono', 'prefix')}" /> </project> <environment> <env name="MONO_PATH" path="${path::combine(prefix, 'lib/mono/1.0')};%MONO_PATH%" /> </environment> <tasks> <task name="al"> <attribute name="exename">al</attribute> <attribute name="useruntimeengine">true</attribute> </task> <task name="csc"> <attribute name="exename">${path::combine(prefix, 'lib/mono/1.0/mcs.exe')}</attribute> <attribute name="useruntimeengine">true</attribute> <attribute name="supportspackagereferences">true</attribute> <attribute name="supportsnowarnlist">true</attribute> </task> <task name="vbc"> <attribute name="exename">${path::combine(prefix, 'lib/mono/1.0/mbas.exe')}</attribute> <attribute name="useruntimeengine">true</attribute> </task> <task name="resgen"> <attribute name="exename">monoresgen</attribute> <attribute name="useruntimeengine">true</attribute> </task> <task name="delay-sign"> <attribute name="exename">sn</attribute> <attribute name="useruntimeengine">true</attribute> </task> <task name="license"> <attribute name="hascommandlinecompiler">false</attribute> </task> <task name="ilasm"> <attribute name="exename">ilasm</attribute> <attribute name="useruntimeengine">true</attribute> </task> </tasks> </framework> <framework name="mono-2.0" family="mono" version="2.0" description="Mono 2.0" runtimeengine="${path::combine(prefix, 'bin/mono')}" sdkdirectory="${path::combine(prefix, 'bin')}" frameworkdirectory="${path::combine(prefix, 'bin')}" frameworkassemblydirectory="${path::combine(prefix, 'lib/mono/2.0')}" clrversion="2.0.40607" > <task-assemblies> <!-- include Mono specific assemblies --> <include name="tasks/mono/*.dll" /> <!-- include Mono 2.0 specific assemblies --> <include name="tasks/mono/2.0/**/*.dll" /> </task-assemblies> <project> <if test="${not pkg-config::exists('mono')}"> <fail>Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/.</fail> </if> <property name="prefix" value="${pkg-config::get-variable('mono', 'prefix')}" /> </project> <environment> <env name="MONO_PATH" path="${path::combine(prefix, 'lib/mono/2.0')};%MONO_PATH%" /> </environment> <tasks> <task name="al"> <attribute name="exename">al</attribute> <attribute name="useruntimeengine">true</attribute> </task> <task name="csc"> <attribute name="exename">${path::combine(prefix, 'lib/mono/2.0/gmcs.exe')}</attribute> <attribute name="useruntimeengine">true</attribute> <attribute name="supportspackagereferences">true</attribute> <attribute name="supportsnowarnlist">true</attribute> </task> <task name="vbc"> <!-- there is no mbas for the 2.0 profile yet --> <attribute name="exename">${path::combine(prefix, 'lib/mono/1.0/mbas.exe')}</attribute> <attribute name="useruntimeengine">true</attribute> </task> <task name="resgen"> <attribute name="exename">monoresgen</attribute> <attribute name="useruntimeengine">true</attribute> </task> <task name="delay-sign"> <attribute name="exename">sn</attribute> <attribute name="useruntimeengine">true</attribute> </task> <task name="license"> <attribute name="hascommandlinecompiler">false</attribute> </task> <task name="ilasm"> <attribute name="exename">ilasm</attribute> <attribute name="useruntimeengine">true</attribute> </task> </tasks> </framework> </platform> </frameworks> <properties> <!-- properties defined here are accessible to all build files --> <!-- <property name="foo" value = "bar" readonly="false" /> --> </properties> </nant> <!-- This section contains the log4net configuration settings. By default, no messages will be logged to the log4net logging infrastructure. To enable the internal logging, set the threshold attribute on the log4net element to "ALL". When internal logging is enabled, internal messages will be written to the console. --> <log4net threshold="OFF"> <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"> <layout type="log4net.Layout.PatternLayout"> <param name="ConversionPattern" value="[%c{2}:%m - [%x] <%X{auth}>]%n" /> </layout> </appender> <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender"> <param name="File" value="${APPDATA}\\NAnt\\NAnt.log" /> <param name="AppendToFile" value="true" /> <param name="MaxSizeRollBackups" value="2" /> <param name="MaximumFileSize" value="500KB" /> <param name="RollingStyle" value="Size" /> <param name="StaticLogFileName" value="true" /> <layout type="log4net.Layout.PatternLayout"> <param name="ConversionPattern" value="[%c{2}:%m - [%x] <%X{auth}>]%n" /> </layout> </appender> <!-- Setup the root category, add the appenders and set the default level --> <root> <!-- Only log messages with severity ERROR (or higher) --> <level value="ERROR" /> <!-- Log messages to the console --> <appender-ref ref="ConsoleAppender" /> <!-- Uncomment the next line to enable logging messages to the NAnt.log file --> <!-- <appender-ref ref="RollingLogFileAppender" /> --> </root> <!-- Specify the priority for some specific categories --> <!-- <logger name="NAnt.Core.TaskBuilderCollection"> <level value="DEBUG" /> </logger> <logger name="NAnt"> <level value="INFO" /> </logger> --> </log4net> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <probing privatePath="lib" /> </assemblyBinding> </runtime> <startup> <supportedRuntime version="v2.0.40607" /> <supportedRuntime version="v1.1.4322" /> <supportedRuntime version="v1.0.3705" /> </startup> </configuration> --- NEW FILE: NAnt.NUnit.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NAnt.VSNetTasks.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NAnt.Win32Tasks.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NAnt.ZipTasks.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NAnt.VisualCppTasks.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NAnt.SourceControlTasks.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: nant.exe --- (This appears to be a binary file; contents omitted.) --- NEW FILE: log4net.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NAnt.NUnit2Tasks.dll --- (This appears to be a binary file; contents omitted.) |
From: Owen R. <exo...@us...> - 2004-11-15 05:13:19
|
Update of /cvsroot/netreflector/NetReflector/tools/fxcop/Xml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2560/tools/fxcop/Xml Added Files: FxCopConsoleOutput.xsl FxCopReport.xsd FxCopReport.xsl FxCopReportExcludes.xsl FxCopReportRules.xsl Log Message: - working on XmlDocumentationGenerator - started Xsd generation for NetReflector - lots of FxCop inspired improvements --- NEW FILE: FxCopReportRules.xsl --- <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/TR/xhtml1/strict"> <xsl:template match="/FxCopReport"> <html> <head><title>Analysis Report by Rule</title></head> <style> #Title {font-family: Verdana; font-size: 14pt; color: black; font-weight: bold} .RowHeader {font-family: Verdana; font-size: 8pt; color: black} .Severity1 {font-family: Verdana; font-size: 8pt; color: darkred; font-weight: bold; } .Severity2 {font-family: Verdana; font-size: 8pt; color: royalblue; font-weight: bold; } .Severity3 {font-family: Verdana; font-size: 8pt; color: green; font-weight: bold; } .Severity4 {font-family: Verdana; font-size: 8pt; color: darkgray; font-weight: bold; } .PropertyName {font-family: Verdana; font-size: 8pt; color: black; font-weight: bold} .PropertyContent {font-family: Verdana; font-size: 8pt; color: black} .NodeIcon { font-family: WebDings; font-size: 12pt; color: navy; padding-right: 5;} .MessagesIcon { font-family: WebDings; font-size: 12pt; color: red;} .RuleDetails { padding-top: 10;} .SourceCode { background-color:#DDDDFF; } .RuleBlock { background-color:#EEEEFF; } .MessageNumber { font-family: Verdana; font-size: 10pt; color: darkred; } .MessageBlock { font-family: Verdana; font-size: 10pt; color: darkred; } .Resolution {font-family: Verdana; font-size: 8pt; color: black; } .NodeLine { font-family: Verdana; font-size: 9pt;} .Note { font-family: Verdana; font-size: 9pt; color:black; background-color: #DDDDFF; } .NoteUser { font-family: Verdana; font-size: 9pt; font-weight: bold; } .NoteTime { font-family: Verdana; font-size: 8pt; font-style: italic; } .Button { font-family: Verdana; font-size: 9pt; color: blue; background-color: #EEEEEE; } .RuleNode { font-family: Verdana; font-size: 9pt;} TH { text-align: left; font-family: Verdana; font-size: 9pt;} </style> <script> function ViewState(blockId) { var block = document.all.item(blockId); if (block.style.display=='none') { block.style.display='block'; } else { block.style.display='none'; } } function SwitchAll(how) { var len = document.all.length-1; for(i=0;i!=len;i++) { var block = document.all[i]; if (block != null) { if(block.className == 'NodeDiv' || block.className == 'RuleDiv' ) { block.style.display=how; } } } } function ExpandAll() { SwitchAll('block'); } function CollapseAll() { SwitchAll('none'); } </script> <body bgcolor="white" alink="Black" vlink="Black" link="Black"> <!-- Report Title --> <div id="Title"> FxCop <xsl:value-of select="@Version"/> Analysis Report by Rule </div> <br/> <table> <tr> <td class="Button"> <a onClick="ExpandAll();">Expand All</a> </td> <td class="Button"> <a onClick="CollapseAll();">Collapse All</a> </td> </tr> </table> <br/> <xsl:apply-templates select="Rules"/> </body> </html> </xsl:template> <xsl:template match="Message"> <xsl:variable name="rulename" select="Rule/@TypeName"/> <div class="MessageBlock" style="position: relative; padding-left: 22;"> <table width="100%"> <tr> <th> Message </th> </tr> <xsl:apply-templates select="Notes" mode="notes"/> <tr bgcolor="#EEEEEE"> <td class="RowHeader" width="20%">Severity:</td> <td> <xsl:variable name="severity" select="/FxCopReport/Rules/Rule[@TypeName=$rulename]/Severity" /> <xsl:attribute name="class">Severity<xsl:value-of select="$severity" /></xsl:attribute> <xsl:value-of select="$severity" /> </td> </tr> <tr> <td class="RowHeader"> Certainty: </td> <td> <xsl:variable name="certainty" select="/FxCopReport/Rules/Rule[@TypeName=$rulename]/Certainty" /> <xsl:attribute name="class">Severity<xsl:value-of select="$certainty" /></xsl:attribute> <xsl:value-of select="$certainty" /> </td> </tr> <tr bgcolor="#EEEEEE"> <td class="RowHeader"> Resolution: </td> <td class="Resolution"> <xsl:value-of select="Resolution/Text/text()" /> </td> </tr> <xsl:choose> <xsl:when test="SourceCode"> <tr> <td class="RowHeader"> Source: </td> <td class="PropertyContent"> <a> <xsl:attribute name="href"> <xsl:value-of select="SourceCode/@Path"/>/<xsl:value-of select="SourceCode/@File"/> </xsl:attribute> <xsl:value-of select="SourceCode/@Path"/>/<xsl:value-of select="SourceCode/@File"/> </a> (Line <xsl:value-of select="SourceCode/@Line"/>) </td> </tr> </xsl:when> </xsl:choose> </table> </div> </xsl:template> <xsl:template match="Notes" mode="notes"> <xsl:for-each select="Note"> <xsl:variable name="id" select="@ID"/> <xsl:apply-templates select="/FxCopReport/Notes/Note[@ID=$id]" mode="notes"/> </xsl:for-each> </xsl:template> <xsl:template match="Note" mode="notes"> <tr class="Note"> <td colspan="3" class="Note"> <nobr class="NoteUser"><xsl:value-of select="@UserName"/></nobr>   <nobr class="NoteTime">[<xsl:value-of select="@Modified"/>]</nobr>: <xsl:value-of select="."/> </td> </tr> </xsl:template> <xsl:template match="Rule"> <xsl:variable name="nodeId" select="generate-id()"/> <xsl:variable name="rulename" select="@TypeName"/> <div class="RuleNode"> <xsl:attribute name="onClick"> javascript:ViewState('<xsl:value-of select="$nodeId"/>'); </xsl:attribute> <nobr class="NodeIcon"></nobr> <xsl:value-of select="Name" /> <nobr class="MessageNumber"> (<xsl:value-of select="count(/FxCopReport/Targets/Target/descendant::Rule[@TypeName=$rulename])+count(/FxCopReport/Namespaces/Namespace/descendant::Rule[@TypeName=$rulename])"></xsl:value-of>) </nobr> <br/> </div> <div class="RuleDiv" style="display: none; position: relative; padding-left: 11;"> <xsl:attribute name="id"> <xsl:value-of select="$nodeId"/> </xsl:attribute> <table width="100%" class="RuleBlock"> <xsl:apply-templates select="." mode="ruledetails" /> </table> <xsl:apply-templates select="/FxCopReport/Namespaces/Namespace[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="/FxCopReport/Targets/Target[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> </div> </xsl:template> <xsl:template match="Target"> <xsl:param name="rulename"></xsl:param> <xsl:variable name="nodeId" select="generate-id()"/> <div class="NodeLine"> <xsl:attribute name="onClick"> javascript:ViewState('<xsl:value-of select="$rulename"/> <xsl:value-of select="$nodeId"/>'); </xsl:attribute> <nobr class="NodeIcon">2</nobr><xsl:value-of select="@Name"></xsl:value-of> <nobr class="MessageNumber"> (<xsl:value-of select="count(descendant::Rule[@TypeName=$rulename])"></xsl:value-of>) </nobr> </div> <div class="NodeDiv" style="display: none; position: relative; padding-left: 11;"> <xsl:attribute name="id"> <xsl:value-of select="$rulename"/><xsl:value-of select="$nodeId"/> </xsl:attribute> <xsl:apply-templates select="Messages/Message[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Modules/Module[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Resources[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> </div> </xsl:template> <xsl:template match="Module"> <xsl:param name="rulename"></xsl:param> <xsl:variable name="nodeId" select="generate-id()"/> <div class="NodeLine"> <xsl:attribute name="onClick"> javascript:ViewState('<xsl:value-of select="$rulename"/> <xsl:value-of select="$nodeId"/>'); </xsl:attribute> <nobr class="NodeIcon">1</nobr> <xsl:value-of select="@Name"></xsl:value-of> <nobr class="MessageNumber"> (<xsl:value-of select="count(descendant::Rule[@TypeName=$rulename])"></xsl:value-of>) </nobr> </div> <div class="NodeDiv" style="display: none; position: relative; padding-left: 11;"> <xsl:attribute name="id"> <xsl:value-of select="$rulename"/><xsl:value-of select="$nodeId"/> </xsl:attribute> <xsl:apply-templates select="Messages/Message[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Namespaces/Namespace[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Methods/Method[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> </div> </xsl:template> <xsl:template match="Namespace"> <xsl:param name="rulename"></xsl:param> <xsl:variable name="nodeId" select="generate-id()"/> <div class="NodeLine"> <xsl:attribute name="onClick"> javascript:ViewState('<xsl:value-of select="$rulename"/> <xsl:value-of select="$nodeId"/>'); </xsl:attribute> <nobr style="color: navy;">{} </nobr> <xsl:value-of select="@Name"></xsl:value-of> <nobr class="MessageNumber"> (<xsl:value-of select="count(descendant::Rule[@TypeName=$rulename])"></xsl:value-of>) </nobr> </div> <div class="NodeDiv" style="display: none; position: relative; padding-left: 11;"> <xsl:attribute name="id"> <xsl:value-of select="$rulename"/><xsl:value-of select="$nodeId"/> </xsl:attribute> <xsl:apply-templates select="Messages/Message[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Classes/Class[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="ValueTypes/ValueType[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Interfaces/Interface[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Delegates/Delegate[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Enums/Enum[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> </div> </xsl:template> <xsl:template match="Class"> <xsl:param name="rulename"></xsl:param> <xsl:variable name="nodeId" select="generate-id()"/> <div class="NodeLine"> <xsl:attribute name="onClick"> javascript:ViewState('<xsl:value-of select="$rulename"/> <xsl:value-of select="$nodeId"/>'); </xsl:attribute> <nobr class="NodeIcon"><</nobr> <xsl:value-of select="@Name"></xsl:value-of> <nobr class="MessageNumber"> (<xsl:value-of select="count(descendant::Rule[@TypeName=$rulename])"></xsl:value-of>) </nobr> </div> <div class="NodeDiv" style="display: none; position: relative; padding-left: 11;"> <xsl:attribute name="id"> <xsl:value-of select="$rulename"/><xsl:value-of select="$nodeId"/> </xsl:attribute> <xsl:apply-templates select="Messages/Message[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Classes/Class[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="ValueTypes/ValueType[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Interfaces/Interface[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Delegates/Delegate[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Enums/Enum[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Constructors/Contructor[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Properties/Property[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Events/Event[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Fields/Field[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Methods/Method[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> </div> </xsl:template> <xsl:template match="ValueType"> <xsl:param name="rulename"></xsl:param> <xsl:variable name="nodeId" select="generate-id()"/> <div class="NodeLine"> <xsl:attribute name="onClick"> javascript:ViewState('<xsl:value-of select="$rulename"/> <xsl:value-of select="$nodeId"/>'); </xsl:attribute> <nobr class="NodeIcon"><</nobr> <xsl:value-of select="@Name"></xsl:value-of> <nobr class="MessageNumber"> (<xsl:value-of select="count(descendant::Rule[@TypeName=$rulename])"></xsl:value-of>) </nobr> </div> <div class="NodeDiv" style="display: none; position: relative; padding-left: 11;"> <xsl:attribute name="id"> <xsl:value-of select="$rulename"/><xsl:value-of select="$nodeId"/> </xsl:attribute> <xsl:apply-templates select="Messages/Message[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Classes/Class[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="ValueTypes/ValueType[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Interfaces/Interface[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Delegates/Delegate[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Enums/Enum[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Constructors/Contructor[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Properties/Property[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Events/Event[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Fields/Field[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Methods/Method[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> </div> </xsl:template> <xsl:template match="Interface"> <xsl:param name="rulename"></xsl:param> <xsl:variable name="nodeId" select="generate-id()"/> <div class="NodeLine"> <xsl:attribute name="onClick"> javascript:ViewState('<xsl:value-of select="$rulename"/> <xsl:value-of select="$nodeId"/>'); </xsl:attribute> <nobr class="NodeIcon"><</nobr> <xsl:value-of select="@Name"></xsl:value-of> <nobr class="MessageNumber"> (<xsl:value-of select="count(descendant::Rule[@TypeName=$rulename])"></xsl:value-of>) </nobr> </div> <div class="NodeDiv" style="display: none; position: relative; padding-left: 11;"> <xsl:attribute name="id"> <xsl:value-of select="$rulename"/><xsl:value-of select="$nodeId"/> </xsl:attribute> <xsl:apply-templates select="Messages/Message[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Properties/Property[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Events/Event[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Methods/Method[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> </div> </xsl:template> <xsl:template match="Delegate"> <xsl:param name="rulename"></xsl:param> <xsl:variable name="nodeId" select="generate-id()"/> <div class="NodeLine"> <xsl:attribute name="onClick"> javascript:ViewState('<xsl:value-of select="$rulename"/> <xsl:value-of select="$nodeId"/>'); </xsl:attribute> <nobr class="NodeIcon"><</nobr> <xsl:value-of select="@Name"></xsl:value-of> <nobr class="MessageNumber"> (<xsl:value-of select="count(descendant::Rule[@TypeName=$rulename])"></xsl:value-of>) </nobr> </div> <div class="NodeDiv" style="display: none; position: relative; padding-left: 11;"> <xsl:attribute name="id"> <xsl:value-of select="$rulename"/><xsl:value-of select="$nodeId"/> </xsl:attribute> <xsl:apply-templates select="Messages/Message[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Constructors/Contructor[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Methods/Method[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> </div> </xsl:template> <xsl:template match="Enum"> <xsl:param name="rulename"></xsl:param> <xsl:variable name="nodeId" select="generate-id()"/> <div class="NodeLine"> <xsl:attribute name="onClick"> javascript:ViewState('<xsl:value-of select="$rulename"/> <xsl:value-of select="$nodeId"/>'); </xsl:attribute> <nobr class="NodeIcon"><</nobr> <xsl:value-of select="@Name"></xsl:value-of> <nobr class="MessageNumber"> (<xsl:value-of select="count(descendant::Rule[@TypeName=$rulename])"></xsl:value-of>) </nobr> </div> <div class="NodeDiv" style="display: none; position: relative; padding-left: 11;"> <xsl:attribute name="id"> <xsl:value-of select="$rulename"/><xsl:value-of select="$nodeId"/> </xsl:attribute> <xsl:apply-templates select="Messages/Message[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Fields/Field[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> </div> </xsl:template> <xsl:template match="Event"> <xsl:param name="rulename"></xsl:param> <xsl:variable name="nodeId" select="generate-id()"/> <div class="NodeLine"> <xsl:attribute name="onClick"> javascript:ViewState('<xsl:value-of select="$rulename"/> <xsl:value-of select="$nodeId"/>'); </xsl:attribute> <nobr class="NodeIcon">~</nobr> <xsl:value-of select="@Name"></xsl:value-of> <nobr class="MessageNumber"> (<xsl:value-of select="count(descendant::Rule[@TypeName=$rulename])"></xsl:value-of>) </nobr> </div> <div class="NodeDiv" style="display: none; position: relative; padding-left: 11;"> <xsl:attribute name="id"> <xsl:value-of select="$rulename"/><xsl:value-of select="$nodeId"/> </xsl:attribute> <xsl:apply-templates select="Messages/Message[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Methods/Method[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> </div> </xsl:template> <xsl:template match="Constructor"> <xsl:param name="rulename"></xsl:param> <xsl:variable name="nodeId" select="generate-id()"/> <div class="NodeLine"> <xsl:attribute name="onClick"> javascript:ViewState('<xsl:value-of select="$rulename"/> <xsl:value-of select="$nodeId"/>'); </xsl:attribute> <nobr class="NodeIcon">=</nobr> <xsl:value-of select="@Name"></xsl:value-of> <nobr class="MessageNumber"> (<xsl:value-of select="count(descendant::Rule[@TypeName=$rulename])"></xsl:value-of>) </nobr> </div> <div class="NodeDiv" style="display: none; position: relative; padding-left: 11;"> <xsl:attribute name="id"> <xsl:value-of select="$rulename"/><xsl:value-of select="$nodeId"/> </xsl:attribute> <xsl:apply-templates select="Messages/Message[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Parameters/Parameter[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> </div> </xsl:template> <xsl:template match="Property"> <xsl:param name="rulename"></xsl:param> <xsl:variable name="nodeId" select="generate-id()"/> <div class="NodeLine"> <xsl:attribute name="onClick"> javascript:ViewState('<xsl:value-of select="$rulename"/> <xsl:value-of select="$nodeId"/>'); </xsl:attribute> <nobr class="NodeIcon">˜</nobr> <xsl:value-of select="@Name"></xsl:value-of> <nobr class="MessageNumber"> (<xsl:value-of select="count(descendant::Rule[@TypeName=$rulename])"></xsl:value-of>) </nobr> </div> <div class="NodeDiv" style="display: none; position: relative; padding-left: 11;"> <xsl:attribute name="id"> <xsl:value-of select="$rulename"/><xsl:value-of select="$nodeId"/> </xsl:attribute> <xsl:apply-templates select="Messages/Message[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Parameters/Parameter[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Methods/Method[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> </div> </xsl:template> <xsl:template match="Field"> <xsl:param name="rulename"></xsl:param> <xsl:variable name="nodeId" select="generate-id()"/> <div class="NodeLine"> <xsl:attribute name="onClick"> javascript:ViewState('<xsl:value-of select="$rulename"/> <xsl:value-of select="$nodeId"/>'); </xsl:attribute> <nobr class="NodeIcon">ë</nobr> <xsl:value-of select="@Name"></xsl:value-of> <nobr class="MessageNumber"> (<xsl:value-of select="count(descendant::Rule[@TypeName=$rulename])"></xsl:value-of>) </nobr> </div> <div class="NodeDiv" style="display: none; position: relative; padding-left: 11;"> <xsl:attribute name="id"> <xsl:value-of select="$rulename"/><xsl:value-of select="$nodeId"/> </xsl:attribute> <xsl:apply-templates select="Messages/Message[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> </div> </xsl:template> <xsl:template match="Method"> <xsl:param name="rulename"></xsl:param> <xsl:variable name="nodeId" select="generate-id()"/> <div class="NodeLine"> <xsl:attribute name="onClick"> javascript:ViewState('<xsl:value-of select="$rulename"/> <xsl:value-of select="$nodeId"/>'); </xsl:attribute> <nobr class="NodeIcon">a</nobr> <xsl:value-of select="@Name"></xsl:value-of> <nobr class="MessageNumber"> (<xsl:value-of select="count(descendant::Rule[@TypeName=$rulename])"></xsl:value-of>) </nobr> </div> <div class="NodeDiv" style="display: none; position: relative; padding-left: 11;"> <xsl:attribute name="id"> <xsl:value-of select="$rulename"/><xsl:value-of select="$nodeId"/> </xsl:attribute> <xsl:apply-templates select="Messages/Message[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> <xsl:apply-templates select="Parameters/Parameter[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> </div> </xsl:template> <xsl:template match="Parameter"> <xsl:param name="rulename"></xsl:param> <xsl:variable name="nodeId" select="generate-id()"/> <div class="NodeLine"> <xsl:attribute name="onClick"> javascript:ViewState('<xsl:value-of select="$rulename"/> <xsl:value-of select="$nodeId"/>'); </xsl:attribute> <nobr class="NodeIcon">ë</nobr> Parameter <xsl:value-of select="@Name"></xsl:value-of> <nobr class="MessageNumber"> (<xsl:value-of select="count(descendant::Rule[@TypeName=$rulename])"></xsl:value-of>) </nobr> </div> <div class="NodeDiv" style="display: none; position: relative; padding-left: 11;"> <xsl:attribute name="id"> <xsl:value-of select="$rulename"/><xsl:value-of select="$nodeId"/> </xsl:attribute> <xsl:apply-templates select="Messages/Message[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> </div> </xsl:template> <xsl:template match="Resources"> <xsl:param name="rulename"></xsl:param> <xsl:variable name="nodeId" select="generate-id()"/> <div class="NodeLine"> <xsl:attribute name="onClick"> javascript:ViewState('<xsl:value-of select="$rulename"/> <xsl:value-of select="$nodeId"/>'); </xsl:attribute> <nobr class="NodeIcon">Ì</nobr> </div> <div class="NodeDiv" style="display: none; position: relative; padding-left: 11;"> <xsl:attribute name="id"> <xsl:value-of select="$rulename"/><xsl:value-of select="$nodeId"/> </xsl:attribute> <xsl:apply-templates select="Resource[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> </div> </xsl:template> <xsl:template match="Resource"> <xsl:param name="rulename"></xsl:param> <xsl:variable name="nodeId" select="generate-id()"/> <div class="NodeLine"> <xsl:attribute name="onClick"> javascript:ViewState('<xsl:value-of select="$rulename"/> <xsl:value-of select="$nodeId"/>'); </xsl:attribute> <nobr class="NodeIcon">Ì</nobr> <xsl:value-of select="@Name"></xsl:value-of> <nobr class="MessageNumber"> (<xsl:value-of select="count(descendant::Rule[@TypeName=$rulename])"></xsl:value-of>) </nobr> </div> <div class="NodeDiv" style="display: none; position: relative; padding-left: 11;"> <xsl:attribute name="id"> <xsl:value-of select="$rulename"/><xsl:value-of select="$nodeId"/> </xsl:attribute> <xsl:apply-templates select="Messages/Message[descendant::Rule[@TypeName=$rulename]]"> <xsl:with-param name="rulename"><xsl:value-of select="$rulename"/></xsl:with-param> </xsl:apply-templates> </div> </xsl:template> <xsl:template match="Description" mode="ruledetails"> <tr> <td class="PropertyName">Rule Description:</td> <td class="PropertyContent"><xsl:value-of select="text()" /></td> </tr> </xsl:template> <xsl:template match="LongDescription" mode="ruledetails"> <!-- Test, don't display line if no data present --> <xsl:choose> <xsl:when test="text()"> <tr> <td class="PropertyName">Long Description:</td> <td class="PropertyContent"><xsl:value-of select="text()" /></td> </tr> </xsl:when> </xsl:choose> </xsl:template> <xsl:template match="File" mode="ruledetails"> <tr> <td class="PropertyName">Rule File:</td> <td class="PropertyContent"><xsl:value-of select="@Name"/> [<xsl:value-of select="@Version"/>]</td> </tr> </xsl:template> <xsl:template match="Rule" mode="ruledetails"> <xsl:apply-templates select="Description" mode="ruledetails" /> <xsl:apply-templates select="LongDescription" mode="ruledetails" /> <xsl:apply-templates select="File" mode="ruledetails" /> </xsl:template> <!-- End Rule Details --> </xsl:stylesheet> --- NEW FILE: FxCopReportExcludes.xsl --- <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/TR/xhtml1/strict"> <xsl:template match="/FxCopReport"> <html> <head><title>Analysis Report</title></head> <style> #Title {font-family: Verdana; font-size: 14pt; color: black; font-weight: bold} .ColumnHeader {font-family: Verdana; font-size: 8pt; background-color:white; color: black} .CriticalError {font-family: Verdana; font-size: 8pt; color: darkred; font-weight: bold; text-align: center} .Error {font-family: Verdana; font-size: 8pt; color: royalblue; font-weight: bold; text-align: center} .CriticalWarning {font-family: Verdana; font-size: 8pt; color: green; font-weight: bold; text-align: center} .Warning {font-family: Verdana; font-size: 8pt; color: darkgray; font-weight: bold; text-align: center} .Information {font-family: Verdana; font-size: 8pt; color: black; font-weight: bold; text-align: center} .PropertyName {font-family: Verdana; font-size: 8pt; color: black; font-weight: bold} .PropertyContent {font-family: Verdana; font-size: 8pt; color: black} .NodeIcon { font-family: WebDings; font-size: 12pt; color: navy; padding-right: 5;} .MessagesIcon { font-family: WebDings; font-size: 12pt; color: red;} .RuleDetails { padding-top: 10;} .SourceCode { background-color:#DDDDFF; } .RuleBlock { background-color:#EEEEFF; } .MessageNumber { font-family: Verdana; font-size: 10pt; color: darkred; } .MessageBlock { font-family: Verdana; font-size: 10pt; color: darkred; } .Resolution {font-family: Verdana; font-size: 8pt; color: black; } .NodeLine { font-family: Verdana; font-size: 9pt;} .Note { font-family: Verdana; font-size: 9pt; color:black; background-color: #DDDDFF; } .NoteUser { font-family: Verdana; font-size: 9pt; font-weight: bold; } .NoteTime { font-family: Verdana; font-size: 8pt; font-style: italic; } .Button { font-family: Verdana; font-size: 9pt; color: blue; background-color: #EEEEEE; } </style> <script> function ViewState(blockId) { var block = document.all.item(blockId); if (block.style.display=='none') { block.style.display='block'; } else { block.style.display='none'; } } function SwitchAll(how) { var len = document.all.length-1; for(i=0;i!=len;i++) { var block = document.all[i]; if (block != null) { if(block.className == 'NodeDiv' || block.className == 'MessageBlockDiv' || block.className == 'MessageDiv') { block.style.display=how; } } } } function ExpandAll() { SwitchAll('block'); } function CollapseAll() { SwitchAll('none'); } </script> <body bgcolor="white" alink="Black" vlink="Black" link="Black"> <!-- Report Title --> <div id="Title"> FxCop <xsl:value-of select="@Version"/> Analysis Report </div> <br/> <table> <tr> <td class="Button"> <a onClick="ExpandAll();">Expand All</a> </td> <td class="Button"> <a onClick="CollapseAll();">Collapse All</a> </td> </tr> </table> <br/> <xsl:apply-templates select="Namespaces"/> <xsl:choose> <xsl:when test="Namespaces"> <hr/> </xsl:when> </xsl:choose> <xsl:apply-templates select="Targets"/> </body> </html> </xsl:template> <xsl:template match="*"> <xsl:choose> <xsl:when test="@Name or name()='Resources'"> <xsl:variable name="MessageCount" select="count(.//Message[@Status='Excluded'])"/> <xsl:choose> <xsl:when test="$MessageCount > 0"> <xsl:variable name="nodeId" select="generate-id()"/> <div class="NodeLine"> <xsl:attribute name="onClick"> javascript:ViewState('<xsl:value-of select="$nodeId"/>'); </xsl:attribute> <!-- Display Icon --> <xsl:choose> <xsl:when test="name()='Method'"> <nobr class="NodeIcon">a</nobr> </xsl:when> <xsl:when test="name()='Constructor'"> <nobr class="NodeIcon">=</nobr> </xsl:when> <xsl:when test="name()='Property'"> <nobr class="NodeIcon">˜</nobr> </xsl:when> <xsl:when test="name()='Event'"> <nobr class="NodeIcon">~</nobr> </xsl:when> <xsl:when test="name()='Field'"> <nobr class="NodeIcon">ë</nobr> </xsl:when> <xsl:when test="name()='Parameter'"> <nobr class="NodeIcon">4</nobr> Parameter </xsl:when> <xsl:when test="name()='Class'"> <nobr class="NodeIcon"><</nobr> </xsl:when> <xsl:when test="name()='Interface'"> <nobr class="NodeIcon"><</nobr> </xsl:when> <xsl:when test="name()='Delegate'"> <nobr class="NodeIcon"><</nobr> </xsl:when> <xsl:when test="name()='Enum'"> <nobr class="NodeIcon"><</nobr> </xsl:when> <xsl:when test="name()='ValueType'"> <nobr class="NodeIcon"><</nobr> </xsl:when> <xsl:when test="name()='Namespace'"> <nobr style="color: navy;">{} </nobr> </xsl:when> <xsl:when test="name()='Target'"> <nobr class="NodeIcon">2</nobr> </xsl:when> <xsl:when test="name()='Module'"> <nobr class="NodeIcon">1</nobr> </xsl:when> <xsl:when test="name()='Resource'"> <nobr class="NodeIcon"></nobr> </xsl:when> <xsl:when test="name()='Resources'"> <nobr class="NodeIcon">Ì</nobr> </xsl:when> <xsl:otherwise> [<xsl:value-of select="name()"/>] </xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="name()='Resources'"> <xsl:value-of select="name()"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="@Name"/> </xsl:otherwise> </xsl:choose> <nobr class="MessageNumber"> (<xsl:value-of select="$MessageCount"/>) </nobr> </div> <div class="NodeDiv" style="display: none; position: relative; padding-left: 11;"> <xsl:attribute name="id"> <xsl:value-of select="$nodeId"/> </xsl:attribute> <xsl:apply-templates /> </div> </xsl:when> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:apply-templates /> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="Messages"> <xsl:variable name="MessageBlockId" select="generate-id()"/> <div class="MessageBlock"> <xsl:attribute name="onClick"> javascript:ViewState('<xsl:value-of select="$MessageBlockId"/>'); </xsl:attribute> <nobr class="MessagesIcon">@</nobr> <xsl:variable name="MessageCount" select="count(Message[@Status='Excluded'])"/> <xsl:value-of select="$MessageCount"/> Message<xsl:choose><xsl:when test="$MessageCount > 1">s</xsl:when></xsl:choose> for <xsl:choose><xsl:when test="name(..)='Parameter'">Parameter </xsl:when></xsl:choose> <xsl:value-of select="../@Name"/> </div> <div class="MessageBlockDiv" style="display: none; position: relative; padding-left: 5;"> <xsl:attribute name="id"> <xsl:value-of select="$MessageBlockId"/> </xsl:attribute> <table width="100%"> <tr> <td class="ColumnHeader">Message Level</td> <td class="ColumnHeader">Certainty</td> <td class="ColumnHeader" width="100%">Resolution</td> </tr> <xsl:apply-templates select="Message[@Status='Excluded']"/> </table> </div> </xsl:template> <xsl:template match="Message"> <!-- Message Row --> <xsl:variable name="messageId" select="generate-id()"/> <xsl:variable name="rulename" select="Rule/@TypeName"/> <xsl:apply-templates select="Issues/Issue" > <xsl:with-param name="messageId"><xsl:value-of select="$messageId"/></xsl:with-param> </xsl:apply-templates> <tr> <td colspan="3"> <div class="MessageDiv" style="display: none"> <xsl:attribute name="id"> <xsl:value-of select="$messageId"/> </xsl:attribute> <!--- Rule Details --> <table width="100%" class="RuleBlock"> <xsl:apply-templates select="Notes" mode="notes"/> <xsl:apply-templates select="SourceCode"/> <xsl:apply-templates select="/FxCopReport/Rules/Rule[@TypeName=$rulename]" mode="ruledetails" /> </table> </div> </td> </tr> </xsl:template> <xsl:template match="Issue"> <xsl:param name="messageId"></xsl:param> <tr> <xsl:attribute name="onClick"> javascript:ViewState('<xsl:value-of select="$messageId"/>'); </xsl:attribute> <xsl:attribute name="bgcolor"> <xsl:choose> <xsl:when test="position() mod 2 = 1">#EEEEEE</xsl:when> <xsl:otherwise>white</xsl:otherwise> </xsl:choose> </xsl:attribute> <td valign="top"> <xsl:attribute name="class"><xsl:value-of select="@Level" /></xsl:attribute> <xsl:value-of select="@Level" /> </td> <td valign="top"> <xsl:attribute name="class"><xsl:value-of select="@Level" /></xsl:attribute> <xsl:value-of select="@Certainty" /> </td> <td class="Resolution" valign="top"> <xsl:value-of select="Resolution/Text/text()" /> </td> </tr> </xsl:template> <xsl:template match="Notes" mode="notes"> <xsl:for-each select="Note"> <xsl:variable name="id" select="@ID"/> <xsl:apply-templates select="/FxCopReport/Notes/Note[@ID=$id]" mode="notes"/> </xsl:for-each> </xsl:template> <xsl:template match="Note" mode="notes"> <tr class="Note"> <td colspan="3" class="Note"> <nobr class="NoteUser"><xsl:value-of select="@UserName"/></nobr>   <nobr class="NoteTime">[<xsl:value-of select="@Modified"/>]</nobr>: <xsl:value-of select="."/> </td> </tr> </xsl:template> <xsl:template match="SourceCode"> <tr class="SourceCode"> <td class="PropertyName">Source:</td> <td class="PropertyContent"> <a> <xsl:attribute name="href"> <xsl:value-of select="@Path"/>/<xsl:value-of select="@File"/> </xsl:attribute> <xsl:value-of select="@Path"/>/<xsl:value-of select="@File"/> </a> (Line <xsl:value-of select="@Line"/>) </td> </tr> </xsl:template> <xsl:template match="Description" mode="ruledetails"> <tr> <td class="PropertyName">Rule Description:</td> <td class="PropertyContent"><xsl:value-of select="text()" /></td> </tr> </xsl:template> <xsl:template match="LongDescription" mode="ruledetails"> <!-- Test, don't display line if no data present --> <xsl:choose> <xsl:when test="text()"> <tr> <td class="PropertyName">Long Description:</td> <td class="PropertyContent"><xsl:value-of select="text()" /></td> </tr> </xsl:when> </xsl:choose> </xsl:template> <xsl:template match="File" mode="ruledetails"> <tr> <td class="PropertyName">Rule File:</td> <td class="PropertyContent"><xsl:value-of select="@Name"/> [<xsl:value-of select="@Version"/>]</td> </tr> </xsl:template> <xsl:template match="Rule" mode="ruledetails"> <tr> <td class="PropertyName">Rule:</td> <td class="PropertyContent"><xsl:value-of select="Name" /></td> </tr> <xsl:apply-templates select="Description" mode="ruledetails" /> <xsl:apply-templates select="LongDescription" mode="ruledetails" /> <xsl:apply-templates select="File" mode="ruledetails" /> </xsl:template> <!-- End Rule Details --> </xsl:stylesheet> --- NEW FILE: FxCopReport.xsd --- <?xml version="1.0" encoding="utf-8" ?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <!-- Main report definition --> <xs:element name="FxCopReport"> <xs:complexType> <xs:all> <xs:element ref="Namespaces" minOccurs="0" maxOccurs="1" /> <xs:element ref="Targets" minOccurs="0" maxOccurs="1" /> <xs:element ref="Notes" minOccurs="0" maxOccurs="1" /> <xs:element ref="Rules" minOccurs="0" maxOccurs="1" /> </xs:all> <xs:attribute name="Version" type="xs:double" use="required" /> <xs:attribute name="LastAnalysis" type="xs:string" use="optional" /> </xs:complexType> </xs:element> <!-- Message & Note element type definitions --> <xs:simpleType name="MessageLevel"> <xs:restriction base="xs:string"> <xs:enumeration value="CriticalError" /> <xs:enumeration value="Error" /> <xs:enumeration value="CriticalWarning" /> <xs:enumeration value="Warning" /> <xs:enumeration value="Information" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="Certainty"> <xs:restriction base="xs:integer"> <xs:minInclusive value="0" /> <xs:maxInclusive value="100" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="MessageStatus"> <xs:restriction base="xs:string"> <xs:enumeration value="Active" /> <xs:enumeration value="Excluded" /> <xs:enumeration value="Absent" /> </xs:restriction> </xs:simpleType> <xs:complexType name="NoteIdentifier"> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute name="ID" type="xs:nonNegativeInteger" use="required" /> </xs:extension> </xs:simpleContent> </xs:complexType> <xs:complexType name="NoteIdentifiers"> <xs:sequence> <xs:element name="Note" type="NoteIdentifier" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> <xs:complexType name="Resolution"> <xs:sequence> <xs:any namespace="##other" processContents="skip"/> </xs:sequence> </xs:complexType> <!-- Message & Issue definitions --> <xs:element name="Issue"> <xs:complexType> <xs:all> <xs:element ref="SourceCode" minOccurs="0" maxOccurs="1" /> <xs:element name="Resolution" minOccurs="1" maxOccurs="1"/> </xs:all> <xs:attribute name="Certainty" type="Certainty" use="required" /> <xs:attribute name="Level" type="MessageLevel" use="required" /> </xs:complexType> </xs:element> <xs:element name="Issues"> <xs:complexType> <xs:sequence> <xs:element ref="Issue" minOccurs="1" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Message"> <xs:complexType> <xs:all> <xs:element name="Rule" type="RuleIdentifier" minOccurs="1" maxOccurs="1" /> <xs:element ref="Issues" minOccurs="1" maxOccurs="1" /> <xs:element name="Notes" type="NoteIdentifiers" minOccurs="0" maxOccurs="1" /> </xs:all> <xs:attribute name="Status" type="MessageStatus" use="required" /> <xs:attribute name="Created" type="xs:string" use="required" /> <xs:attribute name="LastSeen" type="xs:string" use="optional" /> </xs:complexType> </xs:element> <xs:element name="Messages"> <xs:complexType> <xs:sequence> <xs:element ref="Message" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="SourceCode"> <xs:complexType> <xs:attribute name="Path" type="xs:string" use="required" /> <xs:attribute name="File" type="xs:string" use="required" /> <xs:attribute name="Line" type="xs:integer" use="required" /> </xs:complexType> </xs:element> <!-- Note definition --> <xs:element name="Note"> <xs:complexType> <xs:simpleContent> <xs:extension base="NoteIdentifier"> <xs:attribute name="Modified" type="xs:string" use="required" /> <xs:attribute name="UserName" type="xs:string" use="required" /> </xs:extension> </xs:simpleContent> </xs:complexType> </xs:element> <xs:element name="Notes"> <xs:complexType> <xs:sequence> <xs:element ref="Note" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> </xs:element> <!-- Rule description element definitions --> <xs:simpleType name="RuleCertainty"> <xs:restriction base="xs:string"> <!-- regular expression allows either an integer --> <!-- or 2 integers separated by a dash --> <xs:pattern value="[0-9]+(-[0-9]+)?" /> </xs:restriction> </xs:simpleType> <xs:complexType name="RuleMessageLevel"> <xs:simpleContent> <xs:extension base="MessageLevel"> <xs:attribute name="Certainty" type="RuleCertainty" use="required" /> </xs:extension> </xs:simpleContent> </xs:complexType> <xs:complexType name="RuleFile"> <xs:attribute name="Name" type="xs:string" use="required" /> <xs:attribute name="Version" type="xs:string" use="required" /> </xs:complexType> <xs:complexType name="RuleIdentifier"> <xs:attribute name="TypeName" type="xs:string" use="required" /> </xs:complexType> <!-- Rule definition --> <xs:element name="Rule"> <xs:complexType> <xs:complexContent> <xs:extension base="RuleIdentifier"> <xs:sequence> <xs:element name="Name" type="xs:string" minOccurs="1" maxOccurs="1" /> <xs:element name="Description" type="xs:string" minOccurs="1" maxOccurs="1" /> <xs:element name="LongDescription" type="xs:string" minOccurs="1" maxOccurs="1" /> <xs:element name="GroupOwner" type="xs:string" minOccurs="1" maxOccurs="1" /> <xs:element name="DevOwner" type="xs:string" minOccurs="1" maxOccurs="1" /> <xs:element name="Url" type="xs:anyURI" minOccurs="1" maxOccurs="1" /> <xs:element name="Email" type="xs:string" minOccurs="1" maxOccurs="1" /> <xs:element name="MessageLevel" type="RuleMessageLevel" minOccurs="1" maxOccurs="1" /> <xs:element name="File" type="RuleFile" minOccurs="1" maxOccurs="1" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:element name="Rules"> <xs:complexType> <xs:sequence> <xs:element ref="Rule" minOccurs="0" maxOccurs="unbounded"></xs:element> </xs:sequence> </xs:complexType> </xs:element> <!-- Target tree element definitions --> <!-- Singular target definitions --> <xs:complexType name="NamedElement"> <xs:attribute name="Name" type="xs:string" use="required" /> </xs:complexType> <!-- Target members --> <xs:complexType name="Parameter"> <xs:complexContent> <xs:extension base="NamedElement"> <xs:sequence> <xs:element ref="Messages" minOccurs="0" maxOccurs="1" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="Method"> <xs:complexContent> <xs:extension base="NamedElement"> <xs:sequence> <xs:element ref="Messages" minOccurs="0" maxOccurs="1" /> <xs:element ref="Parameters" minOccurs="0" maxOccurs="1" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="Field"> <xs:complexContent> <xs:extension base="NamedElement"> <xs:sequence> <xs:element ref="Messages" minOccurs="0" maxOccurs="1" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="Event"> <xs:complexContent> <xs:extension base="NamedElement"> <xs:sequence> <xs:element ref="Messages" minOccurs="0" maxOccurs="1" /> <xs:element ref="Methods" minOccurs="0" maxOccurs="1" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="Property"> <xs:complexContent> <xs:extension base="NamedElement"> <xs:sequence> <xs:element ref="Messages" minOccurs="0" maxOccurs="1" /> <xs:element ref="Methods" minOccurs="0" maxOccurs="1" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="Constructor"> <xs:complexContent> <xs:extension base="NamedElement"> <xs:sequence> <xs:element ref="Messages" minOccurs="0" maxOccurs="1" /> <xs:element ref="Parameters" minOccurs="0" maxOccurs="1" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <!-- Target types --> <xs:group name="ClassElements"> <xs:sequence> <xs:element ref="Messages" minOccurs="0" maxOccurs="1" /> <xs:element ref="Classes" minOccurs="0" maxOccurs="1" /> <xs:element ref="Enums" minOccurs="0" maxOccurs="1" /> <xs:element ref="Delegates" minOccurs="0" maxOccurs="1" /> <xs:element ref="ValueTypes" minOccurs="0" maxOccurs="1" /> <xs:element ref="Interfaces" minOccurs="0" maxOccurs="1" /> <xs:element ref="Methods" minOccurs="0" maxOccurs="1" /> <xs:element ref="Fields" minOccurs="0" maxOccurs="1" /> <xs:element ref="Constructors" minOccurs="0" maxOccurs="1" /> <xs:element ref="Events" minOccurs="0" maxOccurs="1" /> <xs:element ref="Properties" minOccurs="0" maxOccurs="1" /> </xs:sequence> </xs:group> <xs:complexType name="Class"> <xs:complexContent> <xs:extension base="NamedElement"> <xs:group ref="ClassElements" /> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="ValueType"> <xs:complexContent> <xs:extension base="NamedElement"> <xs:group ref="ClassElements" /> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="Enum"> <xs:complexContent> <xs:extension base="NamedElement"> <xs:sequence> <xs:element ref="Messages" minOccurs="0" maxOccurs="1" /> <xs:element ref="Fields" minOccurs="0" maxOccurs="1" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="Delegate"> <xs:complexContent> <xs:extension base="NamedElement"> <xs:sequence> <xs:element ref="Messages" minOccurs="0" maxOccurs="1" /> <xs:element ref="Constructors" minOccurs="0" maxOccurs="1" /> <xs:element ref="Methods" minOccurs="0" maxOccurs="1" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="Interface"> <xs:complexContent> <xs:extension base="NamedElement"> <xs:sequence> <xs:element ref="Messages" minOccurs="0" maxOccurs="1" /> <xs:element ref="Methods" minOccurs="0" maxOccurs="1" /> <xs:element ref="Properties" minOccurs="0" maxOccurs="1" /> <xs:element ref="Events" minOccurs="0" maxOccurs="1" /> <xs:element ref="Interfaces" minOccurs="0" maxOccurs="1" /> <xs:element ref="Classes" minOccurs="0" maxOccurs="1" /> <xs:element ref="Fields" minOccurs="0" maxOccurs="1" /> <xs:element ref="Constructors" minOccurs="0" maxOccurs="1" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <!-- Type containers --> <xs:complexType name="Namespace"> <xs:complexContent> <xs:extension base="NamedElement"> <xs:sequence> <xs:element ref="Messages" minOccurs="0" maxOccurs="1" /> <xs:element ref="Classes" minOccurs="0" maxOccurs="1" /> <xs:element ref="ValueTypes" minOccurs="0" maxOccurs="1" /> <xs:element ref="Enums" minOccurs="0" maxOccurs="1" /> <xs:element ref="Delegates" minOccurs="0" maxOccurs="1" /> <xs:element ref="Interfaces" minOccurs="0" maxOccurs="1" /> <xs:element ref="Methods" minOccurs="0" maxOccurs="1" /> <xs:element ref="Fields" minOccurs="0" maxOccurs="1" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="Module"> <xs:complexContent> <xs:extension base="NamedElement"> <xs:sequence> <xs:element ref="Messages" minOccurs="0" maxOccurs="1" /> <xs:element ref="Namespaces" minOccurs="0" maxOccurs="1" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <!-- Resources --> <xs:complexType name="Resource"> <xs:complexContent> <xs:extension base="NamedElement"> <xs:sequence> <xs:element ref="Messages" minOccurs="0" maxOccurs="1" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <!-- Top-level target definition --> <xs:complexType name="Target"> <xs:complexContent> <xs:extension base="NamedElement"> <xs:sequence> <xs:element ref="Messages" minOccurs="0" maxOccurs="1" /> <xs:element ref="Modules" minOccurs="0" maxOccurs="1" /> <xs:element ref="Resources" minOccurs="0" maxOccurs="1" /> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <!-- Plural target groups --> <xs:element name="Parameters"> <xs:complexType> <xs:sequence> <xs:element name="Parameter" type="Parameter" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Methods"> <xs:complexType> <xs:sequence> <xs:element name="Method" type="Method" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Fields"> <xs:complexType> <xs:sequence> <xs:element name="Field" type="Field" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Events"> <xs:complexType> <xs:sequence> <xs:element name="Event" type="Event" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Properties"> <xs:complexType> <xs:sequence> <xs:element name="Property" type="Property" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Constructors"> <xs:complexType> <xs:sequence> <xs:element name="Constructor" type="Constructor" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Classes"> <xs:complexType> <xs:sequence> <xs:element name="Class" type="Class" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="ValueTypes"> <xs:complexType> <xs:sequence> <xs:element name="ValueType" type="ValueType" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Enums"> <xs:complexType> <xs:sequence> <xs:element name="Enum" type="Enum" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Delegates"> <xs:complexType> <xs:sequence> <xs:element name="Delegate" type="Delegate" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Interfaces"> <xs:complexType> <xs:sequence> <xs:elem... [truncated message content] |
From: Owen R. <exo...@us...> - 2004-11-15 05:13:19
|
Update of /cvsroot/netreflector/NetReflector/tools/nant/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2560/tools/nant/lib Added Files: ICSharpCode.SharpCvsLib.Console.dll ICSharpCode.SharpCvsLib.dll ICSharpCode.SharpZipLib.dll NUnitCore.dll Log Message: - working on XmlDocumentationGenerator - started Xsd generation for NetReflector - lots of FxCop inspired improvements --- NEW FILE: ICSharpCode.SharpCvsLib.Console.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ICSharpCode.SharpZipLib.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NUnitCore.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ICSharpCode.SharpCvsLib.dll --- (This appears to be a binary file; contents omitted.) |
From: Owen R. <exo...@us...> - 2004-11-15 05:13:18
|
Update of /cvsroot/netreflector/NetReflector/tools/fxcop/Rules/Groups In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2560/tools/fxcop/Rules/Groups Added Files: BreakingChange.xml Log Message: - working on XmlDocumentationGenerator - started Xsd generation for NetReflector - lots of FxCop inspired improvements --- NEW FILE: BreakingChange.xml --- <?xml version="1.0" encoding="utf-8"?> <Groups> <Group Name="Breaking Changes"> <Categories> <Category Name="Non Breaking"> <Rules> <Rule Name="PassSystemUriObjectsInsteadOfStrings"/> <Rule Name="DoNotConcatenateStringsInsideLoops"/> <Rule Name="WrapVulnerableFinallyClausesInOuterTry"/> <Rule Name="MutableReferenceTypesShouldNotBeReadOnly"/> <Rule Name="ConsiderCallingDataMembersDisposeMethod"/> <Rule Name="WindowsFormsApplicationsAreMarkedStaThread"/> <Rule Name="ResourceFilesAreBuiltUsingReleaseVersions"/> <Rule Name="OperatorEqualsOverridesRequireEqualsOverride"/> <Rule Name="PInvokeOnlyValidEntryPoints"/> <Rule Name="ValueTypesWithRvaFieldsDoNotHaveNonPublicFields"/> <Rule Name="FinalizeMethodsCallBaseClassFinalize"/> <Rule Name="DisposeMethodsRequireFinalizeMethod"/> <Rule Name="OperatorOverloadsHaveNamedAlternativeMethods"/> <Rule Name="ExceptionsShouldNotBeThrownFromFilterBlocks"/> <Rule Name="ConstructorsShouldNotCallBaseClassVirtualMethods"/> <Rule Name="OperatorsHaveSymmetricalOverloads"/> <Rule Name="DisposeMethodsCallBaseClassDispose"/> <Rule Name="EnumerationsShouldNotBeFlagsAttributed"/> <Rule Name="ExceptionsAreMarkedSerializable"/> <Rule Name="ValueTypesEqualsOverridesRequireOperatorEqualsOverride"/> <Rule Name="InheritedPublicMembersDoNotChangeToPrivate"/> <Rule Name="CreateDomainIsNotCalledWithNullParameters"/> <Rule Name="AssembliesHaveValidStrongNames"/> <Rule Name="SerializableTypesShouldHaveMagicConstructor"/> <Rule Name="EqualsOverridesRequireGetHashCodeOverride"/> <Rule Name="IComparableImplementationsOverrideOperators"/> <Rule Name="EnumerationsShouldBeFlagsAttributed"/> <Rule Name="AttributesShouldHaveAccessorsForAllArguments"/> <Rule Name="EventsShouldBeUsed"/> <Rule Name="SealedTypesDoNotDeclareProtectedMembers"/> <Rule Name="ISerializableTypesAreMarkedSerializable"/> <Rule Name="AssembliesShouldBeComVisibleAttributed"/> <Rule Name="AssembliesHaveVersionNumbers"/> <Rule Name="AddAndSubtractOverrideShouldHaveOperatorEqualsOverride"/> <Rule Name="ObsoleteAttributeOnMemberShouldProvideMessage"/> <Rule Name="ExceptionsRequireMultipleConstructors"/> <Rule Name="AssembliesHaveStrongNames"/> <Rule Name="IComparableImplementationsOverrideEquals"/> <Rule Name="ObsoleteAttributeOnTypeShouldProvideMessage"/> <Rule Name="AvoidMarkingMembersObsolete"/> <Rule Name="AvoidMarkingTypesObsolete"/> <Rule Name="ExceptionAndSystemExceptionTypesAreNotCaught"/> <Rule Name="AbstractTypesShouldNotHaveConstructors"/> <Rule Name="ConsiderReplacingRepetitiveArgsWithParameterArray"/> <Rule Name="AssembliesAreMarkedClsCompliant"/> <Rule Name="TypesAllocatingUnmanagedResourcesImplementIDisposable"/> <Rule Name="PropertiesShouldNotBeWriteOnly"/> <Rule Name="UnsecuredMembersDoNotCallMembersProtectedByLinkDemands"/> <Rule Name="MethodsInTypesWithIntPtrFieldAndFinalizeMethodRequireGCKeepAlive"/> <Rule Name="ArrayFieldsShouldNotBeReadOnly"/> <Rule Name="PartiallyTrustedMethodsCallPartiallyTrustedMethodsOnly"/> <Rule Name="ResourceStringsShouldBeSpelledCorrectly"/> <Rule Name="AllowPartiallyTrustedCallersRequiresReviewOfAssemblies"/> <Rule Name="AllowPartiallyTrustedCallersRequiresReviewOfTypesForExternalRelease"/> <Rule Name="PInvokeMightHaveUnicodeToAnsiConversionIssues"/> <Rule Name="AllowPartiallyTrustedCallersRequiresReviewOfTypesForExternalReleaseLowPriority"/> <Rule Name="DisposeMethodsCallSuppressFinalize"/> <Rule Name="AvoidBuildingUninstantiatedInternalClasses"/> <Rule Name="ConsiderOverridingEqualsAndOperatorEqualsOnValueTypes"/> <Rule Name="TestForEmptyStringsUsingStringLength"/> <Rule Name="AvoidBuildingNonCallableCode"/> <Rule Name="ComRegisterFunctionShouldHaveMatchingComUnregisterFunction"/> <Rule Name="AvoidStaticMembersForComVisibility"/> <Rule Name="ComCreatableTypesShouldHavePublicDefaultConstructor"/> <Rule Name="ReviewBCLGetHashCodeUsage"/> <Rule Name="PlaceCleanupCodeInCatchOrFinallyBlock"/> <Rule Name="IFormatProviderShouldBePassed"/> <Rule Name="CultureInfoShouldBePassed"/> <Rule Name="LocaleShouldBeSetForDataTypes"/> <Rule Name="StructuresDoNotContainNonPortableFields"/> <Rule Name="AvoidExcessiveComplexity"/> <Rule Name="AvoidExcessiveLocals"/> <Rule Name="CallArgumentExceptionWithCorrectArguments"/> <Rule Name="PlaceCleanupCodeInFinallyBlock"/> <Rule Name="ControlsDoNotHaveDuplicateAccelerators"/> <Rule Name="ControlsAreLocalizable"/> <Rule Name="DoNotCallPropertiesThatCloneValuesInsideLoops"/> <Rule Name="DoNotUseStringConcatInsideLoops"/> <Rule Name="DoNotDeclareExplicitStaticConstructors"/> <Rule Name="ValueTypesWithStaticConstructorsAreMarkedBeforeFieldInit"/> <Rule Name="DoNotHardCodeLocaleSpecificStrings"/> <Rule Name="DoNotPassLiteralsAsLocalizedParameters"/> <Rule Name="DoNotUseFCallVirtualMethods"/> <Rule Name="DoNotLockOnObjectsWithWeakIdentity"/> <Rule Name="ExplicitMethodImplementationsInUnsealedClassesHaveVisibleAlternates"/> <Rule Name="OperationsDoNotOverflowDataTypeCapacity"/> <Rule Name="ProvideMessageBoxOptions"/> <Rule Name="DoNotTreatFibersAsThreads"/> </Rules> </Category> <Category Name="Breaking"> <Rules> <Rule Name="ValueTypeNonPublicFieldsAreVisibleFromCom"/> <Rule Name="ComClassInterfaceTypeAutoDualShouldNotBeUsed"/> <Rule Name="ComRegistrationFunctionsShouldBePrivateOrInternal"/> <Rule Name="ComSourceInterfacesAreMarkedIDispatch"/> <Rule Name="AvoidLongArgsForVB6Visibility"/> <Rule Name="AvoidOutParameters"/> <Rule Name="EventFirstParametersAreTypeObject"/> <Rule Name="ConsiderReplacingMethodsWithProperties"/> <Rule Name="ICollectionImplementationsHaveStronglyTypedMembers"/> <Rule Name="EnumerationsShouldBeInt32"/> <Rule Name="PointersAndMultiDimensionalArraysAreNotPassedAsParameters"/> <Rule Name="EventSecondParametersAreEventArgsType"/> <Rule Name="IEnumeratorImplementationsHaveStronglyTypedMembers"/> <Rule Name="ReferenceTypesShouldNotOverrideOperatorEquals"/> <Rule Name="DefaultParametersAreNotUsed"/> <Rule Name="ReferenceTypesAreNotPassedAsByRefParameters"/> <Rule Name="TypesDoNotHavePublicInstanceFields"/> <Rule Name="IListImplementationsHaveStronglyTypedMembers"/> <Rule Name="SealedTypesDoNotDeclareVirtualMembers"/> <Rule Name="AvoidNamespacesWithFewMembers"/> <Rule Name="AvoidValueTypesPassedAsByRefParameters"/> <Rule Name="TypesBelongToNamespaces"/> <Rule Name="EventHandlersReturnVoid"/> <Rule Name="OnlyIntegralValuesOrStringsShouldBeUsedForIndexers"/> <Rule Name="TypesHavingOnlyStaticMembersShouldBeSealed"/> <Rule Name="ExternallyVisibleNestedTypesShouldNotBeUsed"/> <Rule Name="EventsHaveTwoParameters"/> <Rule Name="TypesHavingOnlyStaticMembersShouldNotHaveConstructors"/> <Rule Name="EnumerationsShouldBeIntegralType"/> <Rule Name="AttributesAreAttributeUsageAttributed"/> <Rule Name="AvoidDefaultConstructorForStructures"/> <Rule Name="InterfacesShouldNotBeEmpty"/> <Rule Name="ConsiderHavingOnlyOneDimensionForIndexer"/> <Rule Name="ConsiderMovingDllImportsToNativeMethodsClass"/> <Rule Name="DllImportsDoNotHavePublicAccessLevel"/> <Rule Name="SystemAndMicrosoftNamespacesRequireApproval"/> <Rule Name="InternalNamespacesDoNotExposePublicApi"/> <Rule Name="NamespaceRootsAreMicrosoftOrSystem"/> <Rule Name="TypesWithLinkDemandsRequireInheritanceDemands"/> <Rule Name="EventHandlersShouldNotBeExternallyVisible"/> <Rule Name="ImperativeDemandsRequireReview"/> <Rule Name="ConsiderJaggedArrayInsteadOfMultiDimensionalArrayInFields"/> <Rule Name="ConsiderJaggedArrayInsteadOfMultiDimensionalArrayInMethods"/> <Rule Name="AvoidUnsealedAttributes"/> <Rule Name="PropertiesShouldNotReturnArrays"/> <Rule Name="ConsiderJaggedArrayInsteadOfMultiDimensionalArrayInProperties"/> <Rule Name="UseSafeHandleToEncapsulateOSResources"/> <Rule Name="RemoveCallsToGCKeepAlive"/> <Rule Name="SerializationMagicConstructorsRequireSecurityCheck"/> <Rule Name="DemandsOnValueTypesDoNotPreventInstantiation"/> <Rule Name="LinkDemandsOnTypesDoNotPreventAccessToTypeFields"/> <Rule Name="ConsiderPermitOnlyOrDenySecurityReview"/> <Rule Name="UnsealedPublicTypesDoNotHaveInternalVirtualMembers"/> <Rule Name="VirtualMethodsAndOverridesRequireSameLinkDemands"/> <Rule Name="PartiallyTrustedTypesExtendPartiallyTrustedTypesOnly"/> <Rule Name="MembersThatCallLateBoundMembersRequireDeclarativeSecurity"/> <Rule Name="AssertRequiresDemand"/> <Rule Name="TypesDoNotSuppressUnmanagedCodeSecurity"/> <Rule Name="IntPtrFieldsHavePrivateAccessLevel"/> <Rule Name="EventHandlersRequireSecurity"/> <Rule Name="StaticConstructorsHavePrivateAccessLevel"/> <Rule Name="TypesAreNotPublicPInvokeMethodsAndSuppressUnmanagedCodeSecurityAttributed"/> <Rule Name="DemandsOnValueTypeConstructorsDoNotPreventInstantiation"/> <Rule Name="MembersDoNotSuppressUnmanagedCodeSecurity"/> <Rule Name="MethodLevelSecurityOverridesTypeLevelSecurity"/> <Rule Name="PInvokeMethodCallWithSuppressUnmanagedCodeSecurityAttributeRequiresSecurityCheck"/> <Rule Name="GetObjectDataIsSerializationFormatterSecurityPermissionAttributed"/> <Rule Name="PublicTypesImplementingNonPublicInterfacesShouldBeSealed"/> <Rule Name="AssembliesHavePermissionRequests"/> <Rule Name="AvoidNonConstantStaticFields"/> <Rule Name="ParameterNamesShouldBeSpelledCorrectly"/> <Rule Name="UseParamsForVariableArguments"/> <Rule Name="PropertiesReturningCollectionsShouldBeReadOnly"/> <Rule Name="MemberNamesShouldBeSpelledCorrectly"/> <Rule Name="AvoidWebMethodAttributedServicedComponentMembers"/> <Rule Name="MembersDifferByMoreThanReturnType"/> <Rule Name="TypeNamesShouldBeSpelledCorrectly"/> <Rule Name="FinalizeMethodsHaveProtectedAccessLevel"/> <Rule Name="NamespaceNamesShouldBeSpelledCorrectly"/> <Rule Name="TypeNamesArePascalCased"/> <Rule Name="CollectionNamesHaveCollectionSuffix"/> <Rule Name="OnlyFlagEnumerationsShouldHavePluralNames"/> <Rule Name="TypeNamesDoNotMatchNamespaceNames"/> <Rule Name="EventArgsNamesHaveEventArgsSuffix"/> <Rule Name="EventFirstParametersHaveNameSender"/> <Rule Name="ParameterNamesDoNotMatchMemberNames"/> <Rule Name="DelegateNamesDoNotHaveDelegateSuffix"/> <Rule Name="InterfaceNamesHaveIPrefix"/> <Rule Name="MemberNamesHaveShortAcronymsAllCaps"/> <Rule Name="NamespaceNamesHaveShortAcronymsAllCaps"/> <Rule Name="OnlyEventHandlerNamesHaveEventHandlerSuffix"/> <Rule Name="OnlyEventArgsNamesHaveEventArgsSuffix"/> <Rule Name="AttributeNamesHaveAttributeSuffix"/> <Rule Name="TypeNamesDoNotHaveCPrefix"/> <Rule Name="EventsDoNotHaveBeforeOrAfterPrefix"/> <Rule Name="ParameterNamesDoNotHaveUnderscores"/> <Rule Name="TypeNamesHaveOnlyShortAcronymsAllCaps"/> <Rule Name="MemberNamesDifferByMoreThanCase"/> <Rule Name="ParameterNamesDoNotMatchKeywords"/> <Rule Name="OnlyStreamNamesHaveStreamSuffix"/> <Rule Name="ParameterNamesDoNotContainLanguageSpecificTypeNames"/> <Rule Name="MemberNamesHaveOnlyShortAcronymsAllCaps"/> <Rule Name="OnlyDictionaryNamesHaveDictionarySuffix"/> <Rule Name="TypeNamesDifferByMoreThanCase"/> <Rule Name="OnlyExceptionNamesHaveExceptionSuffix"/> <Rule Name="TypesImplementingInterfacesDoNotHaveImplSuffix"/> <Rule Name="ParameterNamesDifferByMoreThanCase"/> <Rule Name="ParameterNamesAreCamelCased"/> <Rule Name="EventSecondParametersHaveNameE"/> <Rule Name="TypeNamesHaveShortAcronymsAllCaps"/> <Rule Name="ParameterNamesHaveShortAcronymsAllCaps"/> <Rule Name="MemberNamesArePascalCased"/> <Rule Name="EventHandlerNamesHaveEventHandlerSuffix"/> <Rule Name="ExceptionNamesHaveExceptionSuffix"/> <Rule Name="ParameterNamesShouldHaveCompleteWords"/> <Rule Name="MemberNamesDoNotHaveUnderscores"/> <Rule Name="OnlyAttributeNamesHaveAttributeSuffix"/> <Rule Name="OnlyPermissionNamesHavePermissionSuffix"/> <Rule Name="FlagEnumerationsShouldHavePluralNames"/> <Rule Name="NamespaceNamesDoNotHaveUnderscores"/> <Rule Name="NamespaceNamesHaveOnlyShortAcronymsAllCaps"/> <Rule Name="OnlyCollectionNamesHaveCollectionSuffix"/> <Rule Name="PermissionNamesHavePermissionSuffix"/> <Rule Name="OnlyQueueNamesHaveQueueSuffix"/> <Rule Name="StreamNamesHaveStreamSuffix"/> <Rule Name="ParameterNamesHaveOnlyShortAcronymsAllCaps"/> <Rule Name="TypeNamesDoNotHaveUnderscores"/> <Rule Name="NamespaceNamesDifferByMoreThanCase"/> <Rule Name="NamespaceNamesDoNotMatchKeywords"/> <Rule Name="NamespaceNamesArePascalCased"/> <Rule Name="OnlyStackNamesHaveStackSuffix"/> <Rule Name="TypeNamesDoNotMatchKeywords"/> <Rule Name="PropertyNamesShouldNotMatchGetMethodNames"/> <Rule Name="ParameterNamesShouldNotContainTypeNames"/> <Rule Name="DictionaryNamesHaveDictionarySuffix"/> <Rule Name="ConditionNamesHaveConditionSuffix"/> <Rule Name="EnumerationNamesDoNotHaveEnumSuffix"/> <Rule Name="ConsiderPassingBaseTypesAsParameters"/> <Rule Name="ConsiderJaggedArrayInsteadOfMultiDimensionalArray"/> <Rule Name="EnumValuesAreNotPrefixedWithTypeName"/> <Rule Name="AvoidExcessiveInheritance"/> <Rule Name="UriPropertiesShouldNotBeStrings"/> <Rule Name="UriParametersShouldNotBeStrings"/> <Rule Name="UriReturnValuesShouldNotBeStrings"/> </Rules> </Category> <Category Name="Unknown" Default="True" /> </Categories> </Group> </Groups> |
Update of /cvsroot/netreflector/NetReflector/tools/fxcop/Rules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2560/tools/fxcop/Rules Added Files: ComRules.dll DesignRules.dll GlobalizationRules.dll NamingRules.dll PerformanceRules.dll SecurityRules.dll UsageRules.dll Log Message: - working on XmlDocumentationGenerator - started Xsd generation for NetReflector - lots of FxCop inspired improvements --- NEW FILE: SecurityRules.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: GlobalizationRules.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: UsageRules.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NamingRules.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: PerformanceRules.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ComRules.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: DesignRules.dll --- (This appears to be a binary file; contents omitted.) |
From: Owen R. <exo...@us...> - 2004-11-15 05:13:17
|
Update of /cvsroot/netreflector/NetReflector/tools/fxcop/Repository In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2560/tools/fxcop/Repository Added Files: index.xml Log Message: - working on XmlDocumentationGenerator - started Xsd generation for NetReflector - lots of FxCop inspired improvements --- NEW FILE: index.xml --- <TypeIndex /> |
Update of /cvsroot/netreflector/NetReflector/tools/fxcop In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2560/tools/fxcop Added Files: FxCopCmd.exe FxCopCmd.exe.config FxCopCommon.dll FxCopSdk.dll Microsoft.Metadata.Prototype.dll NativeServices.dll SpellCheckWrapper.dll Log Message: - working on XmlDocumentationGenerator - started Xsd generation for NetReflector - lots of FxCop inspired improvements --- NEW FILE: FxCopCmd.exe --- (This appears to be a binary file; contents omitted.) --- NEW FILE: FxCopCommon.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: SpellCheckWrapper.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: FxCopCmd.exe.config --- <configuration> <system.diagnostics> <switches> <!-- TraceSwitch has the following values Off = 0, Error = 1, Warning = 2, Info = 3, Verbose = 4 BooleanSwitch has the following values Off = 0, On = 1 --> <!-- TraceSwitch'es --> <add name="TraceGeneral" value="2" /> <!-- BooleanSwitch'es --> <add name="Strict" value="1" /> <add name="WriteStandardOutput" value="1" /> <add name="WriteStandardErrorOutput" value="1" /> <add name="TraceAssemblies" value="0" /> <add name="TraceTypes" value="0" /> <add name="TraceMembers" value="0" /> <add name="TraceParameters" value="0" /> </switches> <trace autoflush="true" indentsize="4"> <listeners> <add name="consoleListener" type="Microsoft.Tools.FxCop.Command.ConsoleListener,FxCopCmd"/> <!-- Uncomment for file tracing <add name="file" type="System.Diagnostics.TextWriterTraceListener" initializeData="trace.log"/> --> </listeners> </trace> </system.diagnostics> <appSettings> <!-- User application and configured property settings go here.--> <!-- Example: <add key="settingName" value="settingValue"/> --> </appSettings> <startup> <supportedRuntime version="v1.1.4322" /> <requiredRuntime version="v1.0.3705" /> </startup> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v1.0.3705"> <dependentAssembly> <assemblyIdentity name="Regcode" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.EnterpriseServices" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Security" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="CustomMarshalers" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Accessibility" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Configuration.Install" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.DirectoryServices" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Drawing.Design" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.ServiceProcess" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Web" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Web.RegularExpressions" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Web.Services" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Windows.Forms" publicKeyToken="b77a5c561934e089" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Xml" publicKeyToken="b77a5c561934e089" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Data" publicKeyToken="b77a5c561934e089" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Design" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Drawing" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System" publicKeyToken="b77a5c561934e089" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Messaging" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="IEExecRemote" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="IEHost" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="IIEHost" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="ISymWrapper" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="mscorcfg" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Management" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Runtime.Remoting" publicKeyToken="b77a5c561934e089" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Runtime.Serialization.Formatters.Soap" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Web.Mobile" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="1.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Microsoft.Vsa.Vb.CodeDOMProcessor" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="7.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Microsoft_VsaVb" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="7.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Microsoft.Vsa" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="7.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Microsoft.VisualBasic.Vsa" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="7.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="cscompmgd" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="7.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Microsoft.JScript" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="7.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Microsoft.VisualBasic" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="7.0.3300.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="Microsoft.VisualC" publicKeyToken="b03f5f7f11d50a3a" culture=""/> <bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" newVersion="7.0.3300.0"/> </dependentAssembly> </assemblyBinding> </runtime> </configuration> --- NEW FILE: Microsoft.Metadata.Prototype.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: NativeServices.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: FxCopSdk.dll --- (This appears to be a binary file; contents omitted.) |
From: Owen R. <exo...@us...> - 2004-11-15 05:13:16
|
Update of /cvsroot/netreflector/NetReflector/tools/fxcop/Engines/Reflection In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2560/tools/fxcop/Engines/Reflection Added Files: ReflectionAnalysisEngine.dll ReflectionForms.dll Log Message: - working on XmlDocumentationGenerator - started Xsd generation for NetReflector - lots of FxCop inspired improvements --- NEW FILE: ReflectionForms.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ReflectionAnalysisEngine.dll --- (This appears to be a binary file; contents omitted.) |
From: Owen R. <exo...@us...> - 2004-11-15 05:13:15
|
Update of /cvsroot/netreflector/NetReflector/tools/fxcop/Engines/Introspection In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2560/tools/fxcop/Engines/Introspection Added Files: IntrospectionAnalysisEngine.dll IntrospectionForms.dll Log Message: - working on XmlDocumentationGenerator - started Xsd generation for NetReflector - lots of FxCop inspired improvements --- NEW FILE: IntrospectionAnalysisEngine.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: IntrospectionForms.dll --- (This appears to be a binary file; contents omitted.) |
From: Owen R. <exo...@us...> - 2004-11-15 05:13:14
|
Update of /cvsroot/netreflector/NetReflector/src/NetReflector.Test/Generators In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2560/src/NetReflector.Test/Generators Added Files: XsdGeneratorTest.cs Log Message: - working on XmlDocumentationGenerator - started Xsd generation for NetReflector - lots of FxCop inspired improvements --- NEW FILE: XsdGeneratorTest.cs --- using System; using System.IO; using System.Xml; using System.Xml.Schema; using Exortech.NetReflector.Generators; using NUnit.Framework; namespace Exortech.NetReflector.Test.Generators { [TestFixture] public class XsdGeneratorTest { [Test] public void ShouldGenerateASchemaToValidateTestClassXml() { NetReflectorTypeTable table = new NetReflectorTypeTable(); table.Add(typeof(TestClass)); table.Add(typeof(TestInnerClass)); XsdGenerator generator = new XsdGenerator(table); XmlSchema schema = generator.Generate(); // schema.Write(Console.Out); string xmlToValidate = TestClass.GetXml(DateTime.Today); // Console.Out.WriteLine("xmlToValidate = {0}", xmlToValidate); XmlValidatingReader reader = new XmlValidatingReader(new XmlTextReader(new StringReader(xmlToValidate))); reader.Schemas.Add(schema); reader.ValidationType = ValidationType.Schema; while (reader.Read()) {} } [Test, Ignore("Work on schema generation is still in progress.")] public void ShouldGenerateASchemaToValidateTestSubClassXml() { NetReflectorTypeTable table = new NetReflectorTypeTable(); table.Add(typeof(TestClass)); table.Add(typeof(TestInnerClass)); table.Add(typeof(TestSubClass)); XsdGenerator generator = new XsdGenerator(table); XmlSchema schema = generator.Generate(); // schema.Write(Console.Out); string xmlToValidate = TestClass.GetXmlWithSubClass(DateTime.Today); // Console.Out.WriteLine("xmlToValidate = {0}", xmlToValidate); XmlValidatingReader reader = new XmlValidatingReader(new XmlTextReader(new StringReader(xmlToValidate))); reader.Schemas.Add(schema); reader.ValidationType = ValidationType.Schema; while (reader.Read()) {} } } } |
From: Owen R. <exo...@us...> - 2004-11-15 05:13:14
|
Update of /cvsroot/netreflector/NetReflector/src/NetReflectorDocumenterTask In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2560/src/NetReflectorDocumenterTask Added Files: .cvsignore AssemblyInfo.cs NetReflectorDocumenterTask.cs NetReflectorDocumenterTask.csproj Log Message: - working on XmlDocumentationGenerator - started Xsd generation for NetReflector - lots of FxCop inspired improvements --- NEW FILE: .cvsignore --- NetReflectorDocumenterTask.csproj.user bin obj --- NEW FILE: NetReflectorDocumenterTask.csproj --- <VisualStudioProject> <CSHARP ProjectType = "Local" ProductVersion = "7.10.3077" SchemaVersion = "2.0" ProjectGuid = "{44B2D6B3-AB72-4D7C-8009-D5774F8FDD5D}" > <Build> <Settings ApplicationIcon = "" AssemblyKeyContainerName = "" AssemblyName = "NetReflectorDocumenterTask" AssemblyOriginatorKeyFile = "" DefaultClientScript = "JScript" DefaultHTMLPageLayout = "Grid" DefaultTargetSchema = "IE50" DelaySign = "false" OutputType = "Library" PreBuildEvent = "" PostBuildEvent = "" RootNamespace = "NetReflectorDocumenterTask" RunPostBuildEvent = "OnBuildSuccess" StartupObject = "" > <Config Name = "Debug" AllowUnsafeBlocks = "false" BaseAddress = "285212672" CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" DocumentationFile = "" DebugSymbols = "true" FileAlignment = "4096" IncrementalBuild = "false" NoStdLib = "false" NoWarn = "" Optimize = "false" OutputPath = "bin\Debug\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" WarningLevel = "4" /> <Config Name = "Release" AllowUnsafeBlocks = "false" BaseAddress = "285212672" CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" DefineConstants = "TRACE" DocumentationFile = "" DebugSymbols = "false" FileAlignment = "4096" IncrementalBuild = "false" NoStdLib = "false" NoWarn = "" Optimize = "true" OutputPath = "bin\Release\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" WarningLevel = "4" /> </Settings> <References> <Reference Name = "System" AssemblyName = "System" HintPath = "..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll" /> <Reference Name = "System.Data" AssemblyName = "System.Data" HintPath = "..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll" /> <Reference Name = "System.XML" AssemblyName = "System.XML" HintPath = "..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll" /> <Reference Name = "NetReflector" Project = "{6F47E988-250D-4B42-9278-07F18B3704BE}" Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}" /> <Reference Name = "NAnt.Core" AssemblyName = "NAnt.Core" HintPath = "..\..\tools\nant\NAnt.Core.dll" /> </References> </Build> <Files> <Include> <File RelPath = "AssemblyInfo.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "NetReflectorDocumenterTask.cs" SubType = "Code" BuildAction = "Compile" /> </Include> </Files> </CSHARP> </VisualStudioProject> --- NEW FILE: NetReflectorDocumenterTask.cs --- using System; using System.IO; using Exortech.NetReflector; using NAnt.Core; using NAnt.Core.Attributes; namespace NetReflectorDocumenterTask { [TaskName("netreflector")] public class NetReflectorDocumenterTask : Task { private string outfile = "netreflector.xml"; private string assembly; [TaskAttribute("outfile", Required=false)] public string FileName { get { return outfile; } set { outfile = value; } } [TaskAttribute("assembly", Required=true)] public string Assembly { get { return assembly; } set { assembly = value; } } protected override void ExecuteTask() { Log(Level.Info, "Loading assembly {0}.", assembly); NetReflectorTypeTable table = new NetReflectorTypeTable(); table.Add(assembly); Log(Level.Info, "Loaded {0} types.", table.Count); Log(Level.Info, "Generating documentation. The output will be written to {0}", outfile); using (StreamWriter writer = new StreamWriter(outfile)) { new XmlDocumentationGenerator(table).WriteIndented(writer); } } } } --- NEW FILE: AssemblyInfo.cs --- using System.Reflection; using System.Runtime.CompilerServices; // // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. // [assembly: AssemblyTitle("")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("")] [assembly: AssemblyCopyright("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: [assembly: AssemblyVersion("1.0.*")] // // In order to sign your assembly you must specify a key to use. Refer to the // Microsoft .NET Framework documentation for more information on assembly signing. // // Use the attributes below to control which key is used for signing. // // Notes: // (*) If no key is specified, the assembly is not signed. // (*) KeyName refers to a key that has been installed in the Crypto Service // Provider (CSP) on your machine. KeyFile refers to a file which contains // a key. // (*) If the KeyFile and the KeyName values are both specified, the // following processing occurs: // (1) If the KeyName can be found in the CSP, that key is used. // (2) If the KeyName does not exist and the KeyFile does exist, the key // in the KeyFile is installed into the CSP and used. // (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. // When specifying the KeyFile, the location of the KeyFile should be // relative to the project output directory which is // %Project Directory%\obj\<configuration>. For example, if your KeyFile is // located in the project directory, you would specify the AssemblyKeyFile // attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] // (*) Delay Signing is an advanced option - see the Microsoft .NET Framework // documentation for more information on this. // [assembly: AssemblyDelaySign(false)] [assembly: AssemblyKeyFile("")] [assembly: AssemblyKeyName("")] |
From: Owen R. <exo...@us...> - 2004-11-15 05:13:14
|
Update of /cvsroot/netreflector/NetReflector/src/NetReflector/Generators In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2560/src/NetReflector/Generators Added Files: XsdGenerator.cs XsdTypes.cs Log Message: - working on XmlDocumentationGenerator - started Xsd generation for NetReflector - lots of FxCop inspired improvements --- NEW FILE: XsdGenerator.cs --- using System.Xml; using System.Xml.Schema; using Exortech.NetReflector.Util; namespace Exortech.NetReflector.Generators { public class XsdGenerator { private readonly NetReflectorTypeTable table; private XsdTypes typeMap = new XsdTypes(); public XsdGenerator(NetReflectorTypeTable table) { this.table = table; } public XmlSchema Generate() { XmlSchema schema = new XmlSchema(); foreach (IXmlTypeSerialiser serialiser in table) { GenerateSchemaElementForType(schema, serialiser); } return schema; } private void GenerateSchemaElementForType(XmlSchema schema, IXmlTypeSerialiser serialiser) { XmlSchemaElement element = new XmlSchemaElement(); element.Name = serialiser.Attribute.Name; element.SchemaTypeName = new XmlQualifiedName(GetComplexTypeName(serialiser)); schema.Items.Add(element); XmlSchemaComplexType complexType = new XmlSchemaComplexType(); complexType.Name = GetComplexTypeName(serialiser); complexType.Particle = GenerateSchemaElementsForMembers(serialiser.MemberSerialisers); schema.Items.Add(complexType); } private string GetComplexTypeName(IXmlTypeSerialiser serialiser) { return serialiser.Attribute.Name + ".type"; } private XmlSchemaParticle GenerateSchemaElementsForMembers(IXmlMemberSerialiser[] memberSerialisers) { XmlSchemaAll group = new XmlSchemaAll(); foreach (IXmlMemberSerialiser memberSerialiser in memberSerialisers) { XmlSchemaElement item = new XmlSchemaElement(); item.Name = memberSerialiser.Attribute.Name; if (ReflectionUtil.IsCommonType(memberSerialiser.ReflectorMember.MemberType)) { item.SchemaTypeName = typeMap.ConvertToSchemaTypeName(memberSerialiser.ReflectorMember.MemberType); } else { item.SchemaType = GenerateComplexTypeForMember(memberSerialiser); } group.Items.Add(item); } return group; } private XmlSchemaComplexType GenerateComplexTypeForMember(IXmlMemberSerialiser memberSerialiser) { XmlSchemaComplexContentExtension memberExtension = new XmlSchemaComplexContentExtension(); memberExtension.BaseTypeName = new XmlQualifiedName(memberSerialiser.Attribute.Name + ".type"); if (memberSerialiser.Attribute.InstanceTypeKey != null) { memberExtension.Attributes.Add(GenerateInstanceTypeKeyAttribute(memberSerialiser)); } XmlSchemaComplexType memberComplexType = new XmlSchemaComplexType(); memberComplexType.ContentModel = new XmlSchemaComplexContent(); memberComplexType.ContentModel.Content = memberExtension; return memberComplexType; } private XmlSchemaAttribute GenerateInstanceTypeKeyAttribute(IXmlMemberSerialiser memberSerialiser) { XmlSchemaAttribute attribute = new XmlSchemaAttribute(); attribute.Name = memberSerialiser.Attribute.InstanceTypeKey; return attribute; } } } --- NEW FILE: XsdTypes.cs --- using System; using System.Collections; using System.Xml; namespace Exortech.NetReflector.Generators { public class XsdTypes { private Hashtable map = new Hashtable(); public XsdTypes() { map[typeof (string)] = "string"; map[typeof (int)] = "int"; map[typeof (byte)] = "byte"; map[typeof (decimal)] = "decimal"; map[typeof (double)] = "double"; map[typeof (bool)] = "Boolean"; map[typeof (float)] = "float"; map[typeof (long)] = "long"; map[typeof (short)] = "short"; map[typeof (DateTime)] = "string"; /// HACK: until can look up proper conversion } private string this[Type type] { get { object value = map[type]; if (value == null) throw new NetReflectorException(string.Format("Unable to find Xsd type for {0}", type)); return value.ToString(); } } public XmlQualifiedName ConvertToSchemaTypeName(Type type) { return new XmlQualifiedName(this[type].ToString(), "http://www.w3.org/2001/XMLSchema"); } } } |
From: Owen R. <exo...@us...> - 2004-11-15 05:13:13
|
Update of /cvsroot/netreflector/NetReflector/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2560/lib Added Files: nmock.dll Log Message: - working on XmlDocumentationGenerator - started Xsd generation for NetReflector - lots of FxCop inspired improvements --- NEW FILE: nmock.dll --- (This appears to be a binary file; contents omitted.) |
From: Owen R. <exo...@us...> - 2004-11-15 05:04:37
|
Update of /cvsroot/netreflector/NetReflector/tools/nant/lib/net/1.1 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1679/1.1 Log Message: Directory /cvsroot/netreflector/NetReflector/tools/nant/lib/net/1.1 added to the repository |
From: Owen R. <exo...@us...> - 2004-11-15 05:04:09
|
Update of /cvsroot/netreflector/NetReflector/tools/nant/lib/net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1542/net Log Message: Directory /cvsroot/netreflector/NetReflector/tools/nant/lib/net added to the repository |
From: Owen R. <exo...@us...> - 2004-11-15 05:03:24
|
Update of /cvsroot/netreflector/NetReflector/tools/nant/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1450/lib Log Message: Directory /cvsroot/netreflector/NetReflector/tools/nant/lib added to the repository |
From: Owen R. <exo...@us...> - 2004-11-15 05:02:28
|
Update of /cvsroot/netreflector/NetReflector/tools/fxcop/Rules/Groups In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1262/Groups Log Message: Directory /cvsroot/netreflector/NetReflector/tools/fxcop/Rules/Groups added to the repository |
From: Owen R. <exo...@us...> - 2004-11-15 05:01:20
|
Update of /cvsroot/netreflector/NetReflector/tools/fxcop/Engines/Reflection In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1036/Reflection Log Message: Directory /cvsroot/netreflector/NetReflector/tools/fxcop/Engines/Reflection added to the repository |