﻿<?xml version="1.0" encoding="utf-8"?><Type Name="InternalNamespacesShouldNotExposeTypesRule" FullName="Gendarme.Rules.Design.InternalNamespacesShouldNotExposeTypesRule"><TypeSignature Language="C#" Value="public class InternalNamespacesShouldNotExposeTypesRule : Gendarme.Framework.Rule, Gendarme.Framework.IAssemblyRule" /><TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit InternalNamespacesShouldNotExposeTypesRule extends Gendarme.Framework.Rule implements class Gendarme.Framework.IAssemblyRule, class Gendarme.Framework.IRule" /><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.IAssemblyRule</InterfaceName></Interface></Interfaces><Attributes><Attribute><AttributeName>Gendarme.Framework.EngineDependency(typeof(Gendarme.Framework.Engines.NamespaceEngine))</AttributeName></Attribute><Attribute><AttributeName>Gendarme.Framework.Problem("This internal namespace should not expose visible types outside the assembly.")</AttributeName></Attribute><Attribute><AttributeName>Gendarme.Framework.Solution("If the type needs to be public move it in another namespace, otherwise make the type internal.")</AttributeName></Attribute></Attributes><Docs><summary>
            This rule checks for externally visible types that reside inside internal namespaces, i.e.
            namespaces ending with <c>Internal</c> or <c>Impl</c>.
            </summary><remarks>To be added.</remarks><example>
            Bad example:
            <code>
            namespace MyStuff.Internal {
            	public class Helper {
            	}
            }
            </code></example><example>
            Good example (internal type):
            <code>
            namespace MyStuff.Internal {
            	internal class Helper {
            	}
            }
            </code></example><example>
            Good example (non-internal namespace):
            <code>
            namespace MyStuff {
            	public class Helper {
            	}
            }
            </code></example></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public InternalNamespacesShouldNotExposeTypesRule ();" /><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="CheckAssembly"><MemberSignature Language="C#" Value="public Gendarme.Framework.RuleResult CheckAssembly (Mono.Cecil.AssemblyDefinition assembly);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype Gendarme.Framework.RuleResult CheckAssembly(class Mono.Cecil.AssemblyDefinition assembly) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>3.10.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>Gendarme.Framework.RuleResult</ReturnType></ReturnValue><Parameters><Parameter Name="assembly" Type="Mono.Cecil.AssemblyDefinition" /></Parameters><Docs><param name="assembly">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks></Docs></Member></Members></Type>