QuickGraph.Heap.GcTypeHeap.RemoveDefault C# (CSharp) Method

RemoveDefault() private method

private RemoveDefault ( ) : GcTypeHeap
return GcTypeHeap
        private GcTypeHeap RemoveDefault()
        {
            // remove default types
            this.graph.RemoveVertexIf(
                delegate(GcType type)
                {
                    switch (type.Name)
                    {
                        case "System.OutOfMemoryException":
                        case "System.StackOverflowException":
                        case "System.ExecutionEngineException":
                        case "System.RuntimeType":
                        case "System.Reflection.Missing":
                        case "System.IO.TextReader/SyncTextReader":
                        case "System.AppDomain":
                        case "System.AppDomainSetup":
                        case "System.IO.Stream/NullStream":
                        case "System.Text.UTF8Encoding":
                        case "System.__Filters":
                        case "System.Reflection.MemberFilter":
                        case "System.Text.CodePageEncoding":
                        case "System.IO.TextWriter/NullTextWriter":
                        case "System.Text.UTF8Encoding/UTF8Encoder":
                        case "System.IO.TextReader/NullTextReader":
                        case "System.IO.StreamReader/NullStreamReader":
                        case "System.Text.CodePageEncoding/Decoder":
                        case "System.IO.__ConsoleStream":
                        case "System.Text.Encoding/DefaultEncoder":
                        case "System.IO.TextWriter/SyncTextWriter":
                            return true;
                        default:
                            return false;
                    }
                });
            return this;
        }