Author: spouliot
Date: 2007-10-07 18:57:22 -0400 (Sun, 07 Oct 2007)
New Revision: 87061

Added:
   
trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/DetectNonAlphaNumericsInTypeNamesRule.cs
   
trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Test/DetectNonAlphaNumericsInTypeNamesTest.cs
Modified:
   trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/ChangeLog
   trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Gendarme.Rules.Naming.mdp
   trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Gendarme.Rules.Naming.xml.in
   trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Makefile.am
   trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Test/ChangeLog
   trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Test/Test.Rules.Naming.mdp
Log:
Integrate some GSoC 2007 work and update project files

Modified: trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/ChangeLog
===================================================================
--- trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/ChangeLog  2007-10-07 
22:53:02 UTC (rev 87060)
+++ trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/ChangeLog  2007-10-07 
22:57:22 UTC (rev 87061)
@@ -1,3 +1,10 @@
+2007-10-07  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * DetectNonAlphaNumericsInTypeNamesRule.cs: New rule (Nidhi Rawal, GSoC 
2007)
+       * Gendarme.Rules.Naming.mdp: Update project file.
+       * Gendarme.Rules.Naming.xml.in: Update rule descriptions.
+       * Makefile.am: Add new rules/tests to build.
+
 2007-10-04  Nestor Salceda  <[EMAIL PROTECTED]>
 
        * Gendarme.Rules.Naming.mdp: New.  Created MonoDevelop project file for 
the

Added: 
trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/DetectNonAlphaNumericsInTypeNamesRule.cs
===================================================================
--- 
trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/DetectNonAlphaNumericsInTypeNamesRule.cs
   2007-10-07 22:53:02 UTC (rev 87060)
+++ 
trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/DetectNonAlphaNumericsInTypeNamesRule.cs
   2007-10-07 22:57:22 UTC (rev 87061)
@@ -0,0 +1,86 @@
+// 
+// Gendarme.Rules.Naming.DetectNonAlphaNumericsInTypeNamesRule
+//
+// Authors:
+//     Nidhi Rawal <[EMAIL PROTECTED]>
+//
+// Copyright (c) <2007> Nidhi Rawal
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to 
deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+using System;
+using System.Collections;
+
+using Mono.Cecil;
+using Mono.Cecil.Cil;
+using Gendarme.Framework;
+
+namespace Gendarme.Rules.Naming {
+
+       public class DetectNonAlphaNumericsInTypeNamesRule: IMethodRule, 
ITypeRule {
+               
+               private bool IsPropertyEventOrOperator (MethodDefinition method)
+               {
+                       if (method.SemanticsAttributes.ToString () == "Getter" 
|| method.SemanticsAttributes.ToString () == "Setter" || 
method.SemanticsAttributes.ToString() == "AddOn" || 
method.SemanticsAttributes.ToString () == "RemoveOn" || method.Name == 
"op_Implicit" || method.Name == "op_Explicit")
+                               return true;
+                       else
+                               return false;
+               }
+                       
+               public MessageCollection CheckType (TypeDefinition type, Runner 
runner)
+               {
+                       string [] access_spec  = type.Attributes.ToString 
().Split(',');
+                       MessageCollection messageCollection = new 
MessageCollection ();
+                       
+                       // Compiler generates an error for any other non 
alpha-numerics than underscore ('_'), so we just need to check the presence of 
underscore in type names 
+                       
+                       if (access_spec[0] != "NestedPrivate" && 
type.Name.IndexOf ("_") != -1)
+                       {
+                               Location location = new Location 
(type.FullName, type.Name, 0);
+                               Message message = new Message ("Type name 
contains underscore", location, MessageType.Error);
+                               messageCollection.Add (message);
+                       }
+                       
+                       if (messageCollection.Count == 0)
+                               return null;
+                       return messageCollection;
+               }
+               
+               public MessageCollection CheckMethod (MethodDefinition method, 
Runner runner)
+               {
+                       string [] access_spec  = method.Attributes.ToString 
().Split(',');
+                       MessageCollection messageCollection = new 
MessageCollection ();
+                       
+                       if(!IsPropertyEventOrOperator(method))
+                       {
+                               // Compiler generates an error for any other 
non alpha-numerics than underscore ('_'), so we just need to check the presence 
of underscore in method names
+                               if (access_spec[0] != "Private" && 
method.Name.IndexOf("_") != -1)
+                               {
+                                       Location location = new Location 
(method.DeclaringType.ToString(), method.Name, 0);
+                                       Message message = new Message ("Method 
name contains underscore", location, MessageType.Error);
+                                       messageCollection.Add (message);
+                               }
+                       }
+                       
+                       if (messageCollection.Count == 0)
+                               return null;
+                       return messageCollection;
+               }
+       }
+}

Modified: 
trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Gendarme.Rules.Naming.mdp
===================================================================
--- trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Gendarme.Rules.Naming.mdp  
2007-10-07 22:53:02 UTC (rev 87060)
+++ trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Gendarme.Rules.Naming.mdp  
2007-10-07 22:57:22 UTC (rev 87061)
@@ -19,10 +19,12 @@
     <File name="./AttributeEndsWithAttributeSuffixRule.cs" subtype="Code" 
buildaction="Compile" />
     <File name="./EnumNotEndsWithEnumOrFlagsSuffixRule.cs" subtype="Code" 
buildaction="Compile" />
     <File name="./Gendarme.Rules.Naming.xml.in" subtype="Code" 
buildaction="Nothing" />
+    <File name="./DetectNonAlphaNumericsInTypeNamesRule.cs" subtype="Code" 
buildaction="Compile" />
   </Contents>
   <References>
     <ProjectReference type="Gac" localcopy="True" refto="System, 
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
     <ProjectReference type="Project" localcopy="True" refto="framework" />
     <ProjectReference type="Assembly" localcopy="True" 
refto="../../../lib/Mono.Cecil.dll" />
   </References>
+  <Deployment.LinuxDeployData generatePcFile="False" />
 </Project>
\ No newline at end of file

Modified: 
trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Gendarme.Rules.Naming.xml.in
===================================================================
--- 
trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Gendarme.Rules.Naming.xml.in   
    2007-10-07 22:53:02 UTC (rev 87060)
+++ 
trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Gendarme.Rules.Naming.xml.in   
    2007-10-07 22:57:22 UTC (rev 87061)
@@ -2,34 +2,31 @@
        <rule   Name="AttributeEndsWithAttributeSuffixRule"
                
Type="Gendarme.Rules.Naming.AttributeEndsWithAttributeSuffixRule, 
Gendarme.Rules.Naming, [EMAIL PROTECTED]@, Culture=neutral, PublicKeyToken=null"
                
Uri="http://groups.google.com/group/Gendarme/web/rules-documentation#AttributeEndsWithAttributeSuffixRule";>
-       
                <problem>The type '{0}' is an attribute and by convention the 
attributes should end with the Attribute suffix.</problem>
                <solution>You should rename the type and append the Attribute 
suffix.</solution>
        </rule>
-
        <rule   Name="EnumNotEndsWithEnumOrFlagsSuffixRule"
                
Type="Gendarme.Rules.Naming.EnumNotEndsWithEnumOrFlagsSuffixRule, 
Gendarme.Rules.Naming, [EMAIL PROTECTED]@, Culture=neutral, PublicKeyToken=null"
                
Uri="http://groups.google.com/group/Gendarme/web/rules-documentation#EnumNotEndsWithEnumOrFlagsSuffixRule";>
-       
                <problem>The type '{0}' is an enumeration and by convention the 
enums shoudn't end with the suffix Enum or Flags.</problem>
                <solution>You should remove the Enum or Flags suffix.</solution>
        </rule>
-
-
        <rule   Name="UsePluralNameInEnumFlagsRule"
                Type="Gendarme.Rules.Naming.UsePluralNameInEnumFlagsRule, 
Gendarme.Rules.Naming, [EMAIL PROTECTED]@, Culture=neutral, PublicKeyToken=null"
                
Uri="http://groups.google.com/group/Gendarme/web/rules-documentation#UsePluralNameInEnumFlagsRule";>
-       
                <problem>The type '{0}' is a flags enumeration and by 
convention the flag enums should have a plural name.</problem>
                <solution>You should convert from singular to plural.</solution>
        </rule>
-
-
        <rule   Name="UseSingularNameInEnumsUnlessAreFlagsRule"
                
Type="Gendarme.Rules.Naming.UseSingularNameInEnumsUnlessAreFlagsRule, 
Gendarme.Rules.Naming, [EMAIL PROTECTED]@, Culture=neutral, PublicKeyToken=null"
                
Uri="http://groups.google.com/group/Gendarme/web/rules-documentation#UseSingularNameInEnumsUnlessAreFlagsRule";>
-       
                <problem>The type '{0}' is an enumeration and by convention the 
enums should have a singular name.</problem>
                <solution>You should convert to plural to singular.</solution>
        </rule>
+       <rule   Name="DetectNonAlphaNumericsInTypeNamesRule" 
+               
Type="Gendarme.Rules.Naming.DetectNonAlphaNumericsInTypeNamesRule, 
Gendarme.Rules.Naming, [EMAIL PROTECTED]@, Culture=neutral, PublicKeyToken=null"
+               Uri="" >
+               <problem>The type or method name '{0}' contains underscore in 
its name.</problem>
+               <solution>Remove the underscore from name.</solution>
+       </rule>
 </rules>

Modified: trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Makefile.am
===================================================================
--- trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Makefile.am        
2007-10-07 22:53:02 UTC (rev 87060)
+++ trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Makefile.am        
2007-10-07 22:57:22 UTC (rev 87061)
@@ -10,7 +10,8 @@
 naming_rules_sources_in = ../../AssemblyInfo.cs.in
 naming_rules_generated_sources = $(naming_rules_sources_in:.in=)
 naming_rules_sources = AttributeEndsWithAttributeSuffixRule.cs  
EnumNotEndsWithEnumOrFlagsSuffixRule.cs \
-UsePluralNameInEnumFlagsRule.cs UseSingularNameInEnumsUnlessAreFlagsRule.cs
+       UsePluralNameInEnumFlagsRule.cs 
UseSingularNameInEnumsUnlessAreFlagsRule.cs \
+       DetectNonAlphaNumericsInTypeNamesRule.cs
 
 naming_rules_build_sources = $(addprefix $(srcdir)/, $(naming_rules_sources))
 naming_rules_build_sources += $(naming_rules_generated_sources)
@@ -33,7 +34,8 @@
        done;
 
 naming_test_sources = AttributeEndsWithAttributeSuffixTest.cs 
EnumNotEndsWithEnumOrFlagsSuffixTest.cs \
-UsePluralNameInEnumFlagsTest.cs UseSingularNameInEnumsUnlessAreFlagsTest.cs
+       UsePluralNameInEnumFlagsTest.cs 
UseSingularNameInEnumsUnlessAreFlagsTest.cs \
+       DetectNonAlphaNumericsInTypeNamesTest.cs
 
 naming_test_build_sources = $(addprefix $(srcdir)/Test/, 
$(naming_test_sources))
 

Modified: trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Test/ChangeLog
===================================================================
--- trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Test/ChangeLog     
2007-10-07 22:53:02 UTC (rev 87060)
+++ trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Test/ChangeLog     
2007-10-07 22:57:22 UTC (rev 87061)
@@ -1,3 +1,9 @@
+2007-10-07  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * DetectNonAlphaNumericsInTypeNamesTest.cs: Unit tests (Nidhi Rawal, 
+       GSoC 2007)
+       * Test.Rules.Portability.mdp: Update project file.
+
 2007-10-05  Nestor Salceda  <[EMAIL PROTECTED]>
 
        * Test.Rules.Naming.mdp:  Changed output directory, by convention

Added: 
trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Test/DetectNonAlphaNumericsInTypeNamesTest.cs
===================================================================
--- 
trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Test/DetectNonAlphaNumericsInTypeNamesTest.cs
      2007-10-07 22:53:02 UTC (rev 87060)
+++ 
trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Test/DetectNonAlphaNumericsInTypeNamesTest.cs
      2007-10-07 22:57:22 UTC (rev 87061)
@@ -0,0 +1,261 @@
+// 
+// Unit tests for DetectNonAlphaNumericsInTypeNamesRule
+//
+// Authors:
+//     Nidhi Rawal <[EMAIL PROTECTED]>
+//
+// Copyright (c) <2007> Nidhi Rawal
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to 
deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 
FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+using System;
+using System.Reflection;
+
+using Gendarme.Framework;
+using Gendarme.Rules.Naming;
+using Mono.Cecil;
+using NUnit.Framework;
+
+namespace Test.Rules.Naming {
+
+       [TestFixture]
+       public class DetectNonAlphaNumericsInTypeNamesTest {
+                       
+               public class ClassContainingProperty {
+                       int i=0;
+                       public int Property {
+                               get {
+                                       return i;
+                               }
+                               set {
+                                       i = value;
+                               }
+                       }
+               }
+               
+               public class ClassContainingEvent
+               {
+                       public event EventHandler MyEvent
+                       {
+                               add { } 
+                               remove { }
+                       }
+               }
+       
+               class ClassContainingConversionOperator 
+               { 
+                       private string FullName = "";
+                       public ClassContainingConversionOperator (string str) 
+                       { 
+                               FullName = str; 
+                       } 
+                       public static implicit operator 
ClassContainingConversionOperator (string str) 
+                       { 
+                               return new ClassContainingConversionOperator 
(str); 
+                       }
+               }
+                       
+               class ClassContainingPrivateMethodWithUnderscore 
+               {
+                       private void my_method ()
+                       {
+                       }
+               }
+               
+               class ClassContainingPublicMethodWithUnderscore
+               {
+                       public void methot_test ()
+                       {
+                       }
+               }
+                       
+               private class PrivateClassName_WithUnderscore
+               {
+               }
+               
+               public class PublicClassName_WithUnderscore
+               {
+               }
+                                       
+               private interface PrivateInterface_WithUnderscore
+               {
+               }
+                       
+               public interface PublicInterface_WithUnderscore
+               {
+               }
+                       
+               class DefaultPrivate_Class
+               {
+                       void DefaultPrivate_Method ()
+                       {
+                       }
+               }
+               
+               public class ClassWithoutUnderscore 
+               {
+                       public void methodWithoutUnderscore ()
+                       {
+                       }
+               }
+               
+               private IMethodRule methodRule;
+               private ITypeRule typeRule;
+               private AssemblyDefinition assembly;
+               private TypeDefinition type;
+               MessageCollection messageCollection;
+
+               [TestFixtureSetUp]
+               public void FixtureSetUp ()
+               {
+                       string unit = Assembly.GetExecutingAssembly ().Location;
+                       assembly = AssemblyFactory.GetAssembly (unit);
+                       methodRule = new 
DetectNonAlphaNumericsInTypeNamesRule();
+                       typeRule = new DetectNonAlphaNumericsInTypeNamesRule();
+                       messageCollection = null;
+               }
+               
+               private TypeDefinition GetTest (string name)
+               {
+                       string fullname = 
"Test.Rules.Naming.DetectNonAlphaNumericsInTypeNamesTest/" + name;
+                       return assembly.MainModule.Types[fullname];
+               }
+               
+               [Test]
+               public void propertyTest ()
+               {
+                       type = GetTest ("ClassContainingProperty");
+                       foreach (MethodDefinition method in type.Methods) {
+                               messageCollection = methodRule.CheckMethod 
(method, new MinimalRunner ());
+                       }
+                       Assert.IsNull (messageCollection);
+               }
+                       
+               [Test]
+               public void eventTest ()
+               {
+                       type = GetTest ("ClassContainingEvent");
+                       foreach (MethodDefinition method in type.Methods) {
+                               messageCollection = methodRule.CheckMethod 
(method, new MinimalRunner ());
+                       }
+                       Assert.IsNull (messageCollection);
+               }
+                       
+               [Test]
+               public void conversionOperatorTest ()
+               {
+                       type = GetTest ("ClassContainingConversionOperator");
+                       foreach (MethodDefinition method in type.Methods) {
+                               messageCollection = methodRule.CheckMethod 
(method, new MinimalRunner ());
+                       }
+                       Assert.IsNull (messageCollection);
+               }
+               
+               [Test]
+               public void privateMethodWithUnderscoreTest ()
+               {
+                       type = GetTest 
("ClassContainingPrivateMethodWithUnderscore");
+                       foreach (MethodDefinition method in type.Methods) {
+                               messageCollection = methodRule.CheckMethod 
(method, new MinimalRunner ());
+                       }
+                       Assert.IsNull (messageCollection);
+               }
+               
+               [Test]
+               public void publicMethodWithUnderscoreTest ()
+               {
+                       type = GetTest 
("ClassContainingPublicMethodWithUnderscore");
+                       foreach (MethodDefinition method in type.Methods) {
+                               messageCollection = methodRule.CheckMethod 
(method, new MinimalRunner ());
+                       }
+                       Assert.IsNotNull (messageCollection);
+                       Assert.AreEqual (messageCollection.Count, 1);
+               }
+               
+               [Test]
+               public void privateClassWithUnderscoreTest ()
+               {
+                       type = GetTest ("PrivateClassName_WithUnderscore");
+                       messageCollection = typeRule.CheckType (type, new 
MinimalRunner ());
+                       Assert.IsNull (messageCollection);
+               }
+               
+               [Test]
+               public void publicClassWithUnderscoreTest ()
+               {
+                       type = GetTest ("PublicClassName_WithUnderscore");
+                       messageCollection = typeRule.CheckType (type, new 
MinimalRunner ());
+                       Assert.IsNotNull (messageCollection);
+                       Assert.AreEqual (messageCollection.Count, 1);
+               }
+               
+               [Test]
+               public void privateInterfaceWithUnderscoreTest ()
+               {
+                       type = GetTest ("PrivateInterface_WithUnderscore");
+                       messageCollection = typeRule.CheckType (type, new 
MinimalRunner ());
+                       Assert.IsNull (messageCollection); 
+               }
+               
+               [Test]
+               public void publicInterfaceWithUnderscoreTest ()
+               {
+                       type = GetTest ("PublicInterface_WithUnderscore");
+                       messageCollection = typeRule.CheckType (type, new 
MinimalRunner ());
+                       Assert.IsNotNull (messageCollection);
+                       Assert.AreEqual (messageCollection.Count, 1);
+               }
+               
+               [Test]
+               public void defaultPrivateClassTest ()
+               {
+                       type = GetTest ("DefaultPrivate_Class");
+                       messageCollection = typeRule.CheckType (type, new 
MinimalRunner ());
+                       Assert.IsNull (messageCollection);
+               }
+               
+               [Test]
+               public void defaultPrivateMethodTest ()
+               {
+                       type = GetTest ("DefaultPrivate_Class");
+                       foreach (MethodDefinition method in type.Methods) {
+                               messageCollection = methodRule.CheckMethod 
(method, new MinimalRunner ());
+                       }
+                       Assert.IsNull (messageCollection);
+               }
+               
+               [Test]
+               public void classWithoutUnderscoreTest ()
+               {
+                       type = GetTest ("ClassWithoutUnderscore");
+                       messageCollection = typeRule.CheckType (type, new 
MinimalRunner ());
+                       Assert.IsNull (messageCollection);
+               }
+               
+               [Test]
+               public void methodWithoutUnderscoreTest ()
+               {
+                       type = GetTest ("ClassWithoutUnderscore");
+                       foreach (MethodDefinition method in type.Methods) {
+                               messageCollection = methodRule.CheckMethod 
(method, new MinimalRunner ());
+                       }
+                       Assert.IsNull (messageCollection);
+               }
+       }
+}

Modified: 
trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Test/Test.Rules.Naming.mdp
===================================================================
--- trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Test/Test.Rules.Naming.mdp 
2007-10-07 22:53:02 UTC (rev 87060)
+++ trunk/cecil/gendarme/rules/Gendarme.Rules.Naming/Test/Test.Rules.Naming.mdp 
2007-10-07 22:57:22 UTC (rev 87061)
@@ -18,6 +18,7 @@
     <File name="./EnumNotEndsWithEnumOrFlagsSuffixTest.cs" subtype="Code" 
buildaction="Compile" />
     <File name="./UsePluralNameInEnumFlagsTest.cs" subtype="Code" 
buildaction="Compile" />
     <File name="./UseSingularNameInEnumsUnlessAreFlagsTest.cs" subtype="Code" 
buildaction="Compile" />
+    <File name="./DetectNonAlphaNumericsInTypeNamesTest.cs" subtype="Code" 
buildaction="Compile" />
   </Contents>
   <References>
     <ProjectReference type="Gac" localcopy="True" refto="System, 
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
@@ -26,4 +27,5 @@
     <ProjectReference type="Assembly" localcopy="True" 
refto="../../../../lib/Mono.Cecil.dll" />
     <ProjectReference type="Gac" localcopy="True" refto="nunit.framework, 
Version=2.2.0.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77" />
   </References>
+  <Deployment.LinuxDeployData generatePcFile="False" />
 </Project>
\ No newline at end of file

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to