Esempio n. 1
0
		// TODO: this rule should be english only
		public void VisitType(TypeDefinition type)
		{
			if (type.IsFlagsEnum())
			{
				Log.DebugLine(this, "-----------------------------------"); 
				Log.DebugLine(this, "{0}", type);	
			
				if (!type.Name.EndsWith("s") && !type.Name.EndsWith("i") && !type.Name.EndsWith("ae"))
				{
					Reporter.TypeFailed(type, CheckID, string.Empty);
				}
			}
		}