﻿<?xml version="1.0" encoding="utf-8"?><Type Name="TypesShouldBeInsideNamespacesRule" FullName="Gendarme.Rules.Design.TypesShouldBeInsideNamespacesRule"><TypeSignature Language="C#" Value="public class TypesShouldBeInsideNamespacesRule : Gendarme.Framework.Rule, Gendarme.Framework.ITypeRule" /><TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit TypesShouldBeInsideNamespacesRule extends Gendarme.Framework.Rule implements class Gendarme.Framework.IRule, class Gendarme.Framework.ITypeRule" /><AssemblyInfo><AssemblyName>Gendarme.Rules.Design</AssemblyName><AssemblyVersion>3.10.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>Gendarme.Framework.Rule</BaseTypeName></Base><Interfaces><Interface><InterfaceName>Gendarme.Framework.ITypeRule</InterfaceName></Interface></Interfaces><Attributes><Attribute><AttributeName>Gendarme.Framework.FxCopCompatibility("Microsoft.Design", "CA1050:DeclareTypesInNamespaces")</AttributeName></Attribute><Attribute><AttributeName>Gendarme.Framework.Problem("This type is visible outside the assembly so it should be defined inside a namespace to avoid conflicts.")</AttributeName></Attribute><Attribute><AttributeName>Gendarme.Framework.Solution("Move this type inside a namespace or reduce it's visibility (e.g. internal or private).")</AttributeName></Attribute></Attributes><Docs><summary>
            This rule will fire if a type which is visible outside the assembly is not declared
            within a namespace. Using namespaces greatly reduces the probability of name
            collisions, allows tools such as auto-complete to operate better, and can make
            the assemblies API clearer.
            </summary><remarks>To be added.</remarks><example>
            Bad example:
            <code>
            using System;
            public class Configuration {
            }
            </code></example><example>
            Good example:
            <code>
            using System;
            namespace My.Stuff {
            	public class Configuration {
            	}
            }
            </code></example></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public TypesShouldBeInsideNamespacesRule ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>3.10.0.0</AssemblyVersion></AssemblyInfo><Parameters /><Docs><summary>To be added.</summary><remarks>To be added.</remarks></Docs></Member><Member MemberName="CheckType"><MemberSignature Language="C#" Value="public Gendarme.Framework.RuleResult CheckType (Mono.Cecil.TypeDefinition type);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype Gendarme.Framework.RuleResult CheckType(class Mono.Cecil.TypeDefinition type) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>3.10.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>Gendarme.Framework.RuleResult</ReturnType></ReturnValue><Parameters><Parameter Name="type" Type="Mono.Cecil.TypeDefinition" /></Parameters><Docs><param name="type">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks></Docs></Member></Members></Type>