Removed some unnecessary mimetype code.

Removed some unnecessary mimetype code.

--- src/Graphite/Http/MimeTypes.cs
+++ src/Graphite/Http/MimeTypes.cs
@@ -2,635 +2,6 @@

 namespace Graphite.Http
 {
-    public enum MimeType
-    {
-        ApplicationAndrewInset,
-        ApplicationApplixware,
-        ApplicationAtomcatXml,
-        ApplicationAtomsvcXml,
-        ApplicationAtomXml,
-        ApplicationCcxmlXml,
-        ApplicationCuSeeme,
-        ApplicationDavmountXml,
-        ApplicationEcmascript,
-        ApplicationEmmaXml,
-        ApplicationEpubZip,
-        ApplicationFontTdpfr,
-        ApplicationFontWoff,
-        ApplicationHyperstudio,
-        ApplicationJavaArchive,
-        ApplicationJavascript,
-        ApplicationJavaSerializedObject,
-        ApplicationJavaVm,
-        ApplicationJson,
-        ApplicationLostXml,
-        ApplicationMacBinhex40,
-        ApplicationMacCompactpro,
-        ApplicationMarc,
-        ApplicationMathematica,
-        ApplicationMathmlXml,
-        ApplicationMbox,
-        ApplicationMediaservercontrolXml,
-        ApplicationMp4,
-        ApplicationMsword,
-        ApplicationMxf,
-        ApplicationOctetStream,
-        ApplicationOda,
-        ApplicationOebpsPackageXml,
-        ApplicationOgg,
-        ApplicationOnenote,
-        ApplicationPatchOpsErrorXml,
-        ApplicationPdf,
-        ApplicationPgpEncrypted,
-        ApplicationPgpSignature,
-        ApplicationPicsRules,
-        ApplicationPkcs10,
-        ApplicationPkcs7Mime,
-        ApplicationPkcs7Signature,
-        ApplicationPkixCert,
-        ApplicationPkixcmp,
-        ApplicationPkixCrl,
-        ApplicationPkixPkipath,
-        ApplicationPlsXml,
-        ApplicationPostscript,
-        ApplicationPrsCww,
-        ApplicationRdfXml,
-        ApplicationReginfoXml,
-        ApplicationRelaxNgCompactSyntax,
-        ApplicationResourceListsDiffXml,
-        ApplicationResourceListsXml,
-        ApplicationRlsServicesXml,
-        ApplicationRsdXml,
-        ApplicationRssXml,
-        ApplicationRtf,
-        ApplicationSbmlXml,
-        ApplicationScvpCvRequest,
-        ApplicationScvpCvResponse,
-        ApplicationScvpVpRequest,
-        ApplicationScvpVpResponse,
-        ApplicationSdp,
-        ApplicationSetPaymentInitiation,
-        ApplicationSetRegistrationInitiation,
-        ApplicationShfXml,
-        ApplicationSmilXml,
-        ApplicationSparqlQuery,
-        ApplicationSparqlResultsXml,
-        ApplicationSrgs,
-        ApplicationSrgsXml,
-        ApplicationSsmlXml,
-        ApplicationVnd3gpp2Tcap,
-        ApplicationVnd3gppPicBwLarge,
-        ApplicationVnd3gppPicBwSmall,
-        ApplicationVnd3gppPicBwVar,
-        ApplicationVnd3mPostItNotes,
-        ApplicationVndAccpacSimplyAso,
-        ApplicationVndAccpacSimplyImp,
-        ApplicationVndAcucobol,
-        ApplicationVndAcucorp,
-        ApplicationVndAdobeAirApplicationInstallerPackageZip,
-        ApplicationVndAdobeXdpXml,
-        ApplicationVndAdobeXfdf,
-        ApplicationVndAirzipFilesecureAzf,
-        ApplicationVndAirzipFilesecureAzs,
-        ApplicationVndAmazonEbook,
-        ApplicationVndAmericandynamicsAcc,
-        ApplicationVndAmigaAmi,
-        ApplicationVndAndroidPackageArchive,
-        ApplicationVndAnserWebCertificateIssueInitiation,
-        ApplicationVndAnserWebFundsTransferInitiation,
-        ApplicationVndAntixGameComponent,
-        ApplicationVndAppleInstallerXml,
-        ApplicationVndArastraSwi,
-        ApplicationVndAudiograph,
-        ApplicationVndBlueiceMultipass,
-        ApplicationVndBmi,
-        ApplicationVndBusinessobjects,
-        ApplicationVndChemdrawXml,
-        ApplicationVndChipnutsKaraokeMmd,
-        ApplicationVndCinderella,
-        ApplicationVndClaymore,
-        ApplicationVndClonkC4group,
-        ApplicationVndCommonspace,
-        ApplicationVndContactCmsg,
-        ApplicationVndCosmocaller,
-        ApplicationVndCrickClicker,
-        ApplicationVndCrickClickerKeyboard,
-        ApplicationVndCrickClickerPalette,
-        ApplicationVndCrickClickerTemplate,
-        ApplicationVndCrickClickerWordbank,
-        ApplicationVndCriticaltoolsWbsXml,
-        ApplicationVndCtcPosml,
-        ApplicationVndCupsPpd,
-        ApplicationVndCurlCar,
-        ApplicationVndCurlPcurl,
-        ApplicationVndDataVisionRdz,
-        ApplicationVndDenovoFcselayoutLink,
-        ApplicationVndDna,
-        ApplicationVndDolbyMlp,
-        ApplicationVndDpgraph,
-        ApplicationVndDreamfactory,
-        ApplicationVndDynageo,
-        ApplicationVndEcowinChart,
-        ApplicationVndEnliven,
-        ApplicationVndEpsonEsf,
-        ApplicationVndEpsonMsf,
-        ApplicationVndEpsonQuickanime,
-        ApplicationVndEpsonSalt,
-        ApplicationVndEpsonSsf,
-        ApplicationVndEszigno3Xml,
-        ApplicationVndEzpixAlbum,
-        ApplicationVndEzpixPackage,
-        ApplicationVndFdf,
-        ApplicationVndFdsnMseed,
-        ApplicationVndFdsnSeed,
-        ApplicationVndFlographit,
-        ApplicationVndFluxtimeClip,
-        ApplicationVndFramemaker,
-        ApplicationVndFrogansFnc,
-        ApplicationVndFrogansLtf,
-        ApplicationVndFscWeblaunch,
-        ApplicationVndFujitsuOasys,
-        ApplicationVndFujitsuOasys2,
-        ApplicationVndFujitsuOasys3,
-        ApplicationVndFujitsuOasysgp,
-        ApplicationVndFujitsuOasysprs,
-        ApplicationVndFujixeroxDdd,
-        ApplicationVndFujixeroxDocuworks,
-        ApplicationVndFujixeroxDocuworksBinder,
-        ApplicationVndFuzzysheet,
-        ApplicationVndGenomatixTuxedo,
-        ApplicationVndGeogebraFile,
-        ApplicationVndGeogebraTool,
-        ApplicationVndGeometryExplorer,
-        ApplicationVndGmx,
-        ApplicationVndGoogleEarthKmlXml,
-        ApplicationVndGoogleEarthKmz,
-        ApplicationVndGrafeq,
-        ApplicationVndGrooveAccount,
-        ApplicationVndGrooveHelp,
-        ApplicationVndGrooveIdentityMessage,
-        ApplicationVndGrooveInjector,
-        ApplicationVndGrooveToolMessage,
-        ApplicationVndGrooveToolTemplate,
-        ApplicationVndGrooveVcard,
-        ApplicationVndHandheldEntertainmentXml,
-        ApplicationVndHbci,
-        ApplicationVndHheLessonPlayer,
-        ApplicationVndHpHpgl,
-        ApplicationVndHpHpid,
-        ApplicationVndHpHps,
-        ApplicationVndHpJlyt,
-        ApplicationVndHpPcl,
-        ApplicationVndHpPclxl,
-        ApplicationVndHydrostatixSofData,
-        ApplicationVndHzn3dCrossword,
-        ApplicationVndIbmMinipay,
-        ApplicationVndIbmModcap,
-        ApplicationVndIbmRightsManagement,
-        ApplicationVndIbmSecureContainer,
-        ApplicationVndIccprofile,
-        ApplicationVndIgloader,
-        ApplicationVndImmervisionIvp,
-        ApplicationVndImmervisionIvu,
-        ApplicationVndInterconFormnet,
-        ApplicationVndIntuQbo,
-        ApplicationVndIntuQfx,
-        ApplicationVndIpunpluggedRcprofile,
-        ApplicationVndIrepositoryPackageXml,
-        ApplicationVndIsXpr,
-        ApplicationVndJam,
-        ApplicationVndJcpJavameMidletRms,
-        ApplicationVndJisp,
-        ApplicationVndJoostJodaArchive,
-        ApplicationVndKahootz,
-        ApplicationVndKdeKarbon,
-        ApplicationVndKdeKchart,
-        ApplicationVndKdeKformula,
-        ApplicationVndKdeKivio,
-        ApplicationVndKdeKontour,
-        ApplicationVndKdeKpresenter,
-        ApplicationVndKdeKspread,
-        ApplicationVndKdeKword,
-        ApplicationVndKenameaapp,
-        ApplicationVndKidspiration,
-        ApplicationVndKinar,
-        ApplicationVndKoan,
-        ApplicationVndKodakDescriptor,
-        ApplicationVndLlamagraphicsLifeBalanceDesktop,
-        ApplicationVndLlamagraphicsLifeBalanceExchangeXml,
-        ApplicationVndLotus123,
-        ApplicationVndLotusApproach,
-        ApplicationVndLotusFreelance,
-        ApplicationVndLotusNotes,
-        ApplicationVndLotusOrganizer,
-        ApplicationVndLotusScreencam,
-        ApplicationVndLotusWordpro,
-        ApplicationVndMacportsPortpkg,
-        ApplicationVndMcd,
-        ApplicationVndMedcalcdata,
-        ApplicationVndMediastationCdkey,
-        ApplicationVndMfer,
-        ApplicationVndMfmp,
-        ApplicationVndMicrografxFlo,
-        ApplicationVndMicrografxIgx,
-        ApplicationVndMif,
-        ApplicationVndMobiusDaf,
-        ApplicationVndMobiusDis,
-        ApplicationVndMobiusMbk,
-        ApplicationVndMobiusMqy,
-        ApplicationVndMobiusMsl,
-        ApplicationVndMobiusPlc,
-        ApplicationVndMobiusTxf,
-        ApplicationVndMophunApplication,
-        ApplicationVndMophunCertificate,
-        ApplicationVndMozillaXulXml,
-        ApplicationVndMsArtgalry,
-        ApplicationVndMsCabCompressed,
-        ApplicationVndMseq,
-        ApplicationVndMsExcel,
-        ApplicationVndMsExcelAddinMacroenabled12,
-        ApplicationVndMsExcelSheetBinaryMacroenabled12,
-        ApplicationVndMsExcelSheetMacroenabled12,
-        ApplicationVndMsExcelTemplateMacroenabled12,
-        ApplicationVndMsFontobject,
-        ApplicationVndMsHtmlhelp,
-        ApplicationVndMsIms,
-        ApplicationVndMsLrm,
-        ApplicationVndMsPkiSeccat,
-        ApplicationVndMsPkiStl,
-        ApplicationVndMsPowerpoint,
-        ApplicationVndMsPowerpointAddinMacroenabled12,
-        ApplicationVndMsPowerpointPresentationMacroenabled12,
-        ApplicationVndMsPowerpointSlideMacroenabled12,
-        ApplicationVndMsPowerpointSlideshowMacroenabled12,
-        ApplicationVndMsPowerpointTemplateMacroenabled12,
-        ApplicationVndMsProject,
-        ApplicationVndMsWordDocumentMacroenabled12,
-        ApplicationVndMsWordTemplateMacroenabled12,
-        ApplicationVndMsWorks,
-        ApplicationVndMsWpl,
-        ApplicationVndMsXpsdocument,
-        ApplicationVndMusician,
-        ApplicationVndMuveeStyle,
-        ApplicationVndNeurolanguageNlu,
-        ApplicationVndNoblenetDirectory,
-        ApplicationVndNoblenetSealer,
-        ApplicationVndNoblenetWeb,
-        ApplicationVndNokiaNGageData,
-        ApplicationVndNokiaNGageSymbianInstall,
-        ApplicationVndNokiaRadioPreset,
-        ApplicationVndNokiaRadioPresets,
-        ApplicationVndNovadigmEdm,
-        ApplicationVndNovadigmEdx,
-        ApplicationVndNovadigmExt,
-        ApplicationVndOasisOpendocumentChart,
-        ApplicationVndOasisOpendocumentChartTemplate,
-        ApplicationVndOasisOpendocumentDatabase,
-        ApplicationVndOasisOpendocumentFormula,
-        ApplicationVndOasisOpendocumentFormulaTemplate,
-        ApplicationVndOasisOpendocumentGraphics,
-        ApplicationVndOasisOpendocumentGraphicsTemplate,
-        ApplicationVndOasisOpendocumentImage,
-        ApplicationVndOasisOpendocumentImageTemplate,
-        ApplicationVndOasisOpendocumentPresentation,
-        ApplicationVndOasisOpendocumentPresentationTemplate,
-        ApplicationVndOasisOpendocumentSpreadsheet,
-        ApplicationVndOasisOpendocumentSpreadsheetTemplate,
-        ApplicationVndOasisOpendocumentText,
-        ApplicationVndOasisOpendocumentTextMaster,
-        ApplicationVndOasisOpendocumentTextTemplate,
-        ApplicationVndOasisOpendocumentTextWeb,
-        ApplicationVndOlpcSugar,
-        ApplicationVndOmaDd2Xml,
-        ApplicationVndOpenofficeorgExtension,
-        ApplicationVndOpenxmlformatsOfficedocumentPresentationmlPresentation,
-        ApplicationVndOpenxmlformatsOfficedocumentPresentationmlSlide,
-        ApplicationVndOpenxmlformatsOfficedocumentPresentationmlSlideshow,
-        ApplicationVndOpenxmlformatsOfficedocumentPresentationmlTemplate,
-        ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet,
-        ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlTemplate,
-        ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlDocument,
-        ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlTemplate,
-        ApplicationVndOsgiDp,
-        ApplicationVndPalm,
-        ApplicationVndPgFormat,
-        ApplicationVndPgOsasli,
-        ApplicationVndPicsel,
-        ApplicationVndPocketlearn,
-        ApplicationVndPowerbuilder6,
-        ApplicationVndPreviewsystemsBox,
-        ApplicationVndProteusMagazine,
-        ApplicationVndPublishareDeltaTree,
-        ApplicationVndPviPtid1,
-        ApplicationVndQuarkQuarkxpress,
-        ApplicationVndRecordareMusicxml,
-        ApplicationVndRecordareMusicxmlXml,
-        ApplicationVndRimCod,
-        ApplicationVndRnRealmedia,
-        ApplicationVndRoute66Link66Xml,
-        ApplicationVndSeemail,
-        ApplicationVndSema,
-        ApplicationVndSemd,
-        ApplicationVndSemf,
-        ApplicationVndShanaInformedFormdata,
-        ApplicationVndShanaInformedFormtemplate,
-        ApplicationVndShanaInformedInterchange,
-        ApplicationVndShanaInformedPackage,
-        ApplicationVndSimtechMindmapper,
-        ApplicationVndSmaf,
-        ApplicationVndSmartTeacher,
-        ApplicationVndSolentSdkmXml,
-        ApplicationVndSpotfireDxp,
-        ApplicationVndSpotfireSfs,
-        ApplicationVndStardivisionCalc,
-        ApplicationVndStardivisionDraw,
-        ApplicationVndStardivisionImpress,
-        ApplicationVndStardivisionMath,
-        ApplicationVndStardivisionWriter,
-        ApplicationVndStardivisionWriterGlobal,
-        ApplicationVndSunXmlCalc,
-        ApplicationVndSunXmlCalcTemplate,
-        ApplicationVndSunXmlDraw,
-        ApplicationVndSunXmlDrawTemplate,
-        ApplicationVndSunXmlImpress,
-        ApplicationVndSunXmlImpressTemplate,
-        ApplicationVndSunXmlMath,
-        ApplicationVndSunXmlWriter,
-        ApplicationVndSunXmlWriterGlobal,
-        ApplicationVndSunXmlWriterTemplate,
-        ApplicationVndSusCalendar,
-        ApplicationVndSvd,
-        ApplicationVndSymbianInstall,
-        ApplicationVndSyncmlDmWbxml,
-        ApplicationVndSyncmlDmXml,
-        ApplicationVndSyncmlXml,
-        ApplicationVndTaoIntentModuleArchive,
-        ApplicationVndTmobileLivetv,
-        ApplicationVndTridTpt,
-        ApplicationVndTriscapeMxs,
-        ApplicationVndTrueapp,
-        ApplicationVndUfdl,
-        ApplicationVndUiqTheme,
-        ApplicationVndUmajin,
-        ApplicationVndUnity,
-        ApplicationVndUomlXml,
-        ApplicationVndVcx,
-        ApplicationVndVisio,
-        ApplicationVndVisionary,
-        ApplicationVndVsf,
-        ApplicationVndWapSic,
-        ApplicationVndWapSlc,
-        ApplicationVndWapWbxml,
-        ApplicationVndWapWmlc,
-        ApplicationVndWapWmlscriptc,
-        ApplicationVndWebturbo,
-        ApplicationVndWordperfect,
-        ApplicationVndWqd,
-        ApplicationVndWtStf,
-        ApplicationVndXara,
-        ApplicationVndXfdl,
-        ApplicationVndYamahaHvDic,
-        ApplicationVndYamahaHvScript,
-        ApplicationVndYamahaHvVoice,
-        ApplicationVndYamahaOpenscoreformat,
-        ApplicationVndYamahaOpenscoreformatOsfpvgXml,
-        ApplicationVndYamahaSmafAudio,
-        ApplicationVndYamahaSmafPhrase,
-        ApplicationVndYellowriverCustomMenu,
-        ApplicationVndZul,
-        ApplicationVndZzazzDeckXml,
-        ApplicationVoicexmlXml,
-        ApplicationWinhlp,
-        ApplicationWsdlXml,
-        ApplicationWspolicyXml,
-        ApplicationXAbiword,
-        ApplicationXAceCompressed,
-        ApplicationXAuthorwareBin,
-        ApplicationXAuthorwareMap,
-        ApplicationXAuthorwareSeg,
-        ApplicationXBcpio,
-        ApplicationXBittorrent,
-        ApplicationXBzip,
-        ApplicationXBzip2,
-        ApplicationXCdlink,
-        ApplicationXChat,
-        ApplicationXChessPgn,
-        ApplicationXCpio,
-        ApplicationXCsh,
-        ApplicationXDebianPackage,
-        ApplicationXDirector,
-        ApplicationXDoom,
-        ApplicationXDtbncxXml,
-        ApplicationXDtbookXml,
-        ApplicationXDtbresourceXml,
-        ApplicationXDvi,
-        ApplicationXencXml,
-        ApplicationXFontBdf,
-        ApplicationXFontGhostscript,
-        ApplicationXFontLinuxPsf,
-        ApplicationXFontOtf,
-        ApplicationXFontPcf,
-        ApplicationXFontSnf,
-        ApplicationXFontTtf,
-        ApplicationXFontType1,
-        ApplicationXFuturesplash,
-        ApplicationXGnumeric,
-        ApplicationXGtar,
-        ApplicationXGzip,
-        ApplicationXHdf,
-        ApplicationXhtmlXml,
-        ApplicationXJavaJnlpFile,
-        ApplicationXKillustrator,
-        ApplicationXLatex,
-        ApplicationXml,
-        ApplicationXmlDtd,
-        ApplicationXMobipocketEbook,
-        ApplicationXMsaccess,
-        ApplicationXMsApplication,
-        ApplicationXMsbinder,
-        ApplicationXMscardfile,
-        ApplicationXMsclip,
-        ApplicationXMsdownload,
-        ApplicationXMsmediaview,
-        ApplicationXMsmetafile,
-        ApplicationXMsmoney,
-        ApplicationXMspublisher,
-        ApplicationXMsschedule,
-        ApplicationXMsterminal,
-        ApplicationXMsWmd,
-        ApplicationXMsWmz,
-        ApplicationXMswrite,
-        ApplicationXMsXbap,
-        ApplicationXNetcdf,
-        ApplicationXopXml,
-        ApplicationXPkcs12,
-        ApplicationXPkcs7Certificates,
-        ApplicationXPkcs7Certreqresp,
-        ApplicationXPythonCode,
-        ApplicationXRarCompressed,
-        ApplicationXRpm,
-        ApplicationXSh,
-        ApplicationXShar,
-        ApplicationXShockwaveFlash,
-        ApplicationXSilverlightApp,
-        ApplicationXsltXml,
-        ApplicationXspfXml,
-        ApplicationXStuffit,
-        ApplicationXStuffitx,
-        ApplicationXSv4cpio,
-        ApplicationXSv4crc,
-        ApplicationXTar,
-        ApplicationXTcl,
-        ApplicationXTex,
-        ApplicationXTexinfo,
-        ApplicationXTexTfm,
-        ApplicationXUstar,
-        ApplicationXvXml,
-        ApplicationXWaisSource,
-        ApplicationXX509CaCert,
-        ApplicationXXfig,
-        ApplicationXXpinstall,
-        ApplicationZip,
-        AudioAdpcm,
-        AudioBasic,
-        AudioMidi,
-        AudioMp4,
-        AudioMpeg,
-        AudioOgg,
-        AudioVndDigitalWinds,
-        AudioVndDts,
-        AudioVndDtsHd,
-        AudioVndLucentVoice,
-        AudioVndMsPlayreadyMediaPya,
-        AudioVndNueraEcelp4800,
-        AudioVndNueraEcelp7470,
-        AudioVndNueraEcelp9600,
-        AudioXAac,
-        AudioXAiff,
-        AudioXMpegurl,
-        AudioXMsWax,
-        AudioXMsWma,
-        AudioXPnRealaudio,
-        AudioXPnRealaudioPlugin,
-        AudioXWav,
-        ChemicalXCdx,
-        ChemicalXCif,
-        ChemicalXCmdf,
-        ChemicalXCml,
-        ChemicalXCsml,
-        ChemicalXXyz,
-        FontWoff2,
-        ImageBmp,
-        ImageCgm,
-        ImageG3fax,
-        ImageGif,
-        ImageIef,
-        ImageJpeg,
-        ImagePng,
-        ImagePrsBtif,
-        ImageSvgXml,
-        ImageTiff,
-        ImageVndAdobePhotoshop,
-        ImageVndDjvu,
-        ImageVndDwg,
-        ImageVndDxf,
-        ImageVndFastbidsheet,
-        ImageVndFpx,
-        ImageVndFst,
-        ImageVndFujixeroxEdmicsMmr,
-        ImageVndFujixeroxEdmicsRlc,
-        ImageVndMsModi,
-        ImageVndNetFpx,
-        ImageVndWapWbmp,
-        ImageVndXiff,
-        ImageXCmuRaster,
-        ImageXCmx,
-        ImageXFreehand,
-        ImageXIcon,
-        ImageXPcx,
-        ImageXPict,
-        ImageXPortableAnymap,
-        ImageXPortableBitmap,
-        ImageXPortableGraymap,
-        ImageXPortablePixmap,
-        ImageXRgb,
-        ImageXXbitmap,
-        ImageXXpixmap,
-        ImageXXwindowdump,
-        MessageRfc822,
-        ModelIges,
-        ModelMesh,
-        ModelVndDwf,
-        ModelVndGdl,
-        ModelVndGtw,
-        ModelVndMts,
-        ModelVndVtu,
-        ModelVrml,
-        TextCalendar,
-        TextCss,
-        TextCsv,
-        TextHtml,
-        TextPlain,
-        TextPrsLinesTag,
-        TextRichtext,
-        TextSgml,
-        TextTabSeparatedValues,
-        TextTroff,
-        TextUriList,
-        TextVndCurl,
-        TextVndCurlDcurl,
-        TextVndCurlMcurl,
-        TextVndCurlScurl,
-        TextVndFly,
-        TextVndFmiFlexstor,
-        TextVndGraphviz,
-        TextVndIn3d3dml,
-        TextVndIn3dSpot,
-        TextVndSunJ2meAppDescriptor,
-        TextVndWapSi,
-        TextVndWapSl,
-        TextVndWapWml,
-        TextVndWapWmlscript,
-        TextXAsm,
-        TextXC,
-        TextXFortran,
-        TextXJavaSource,
-        TextXPascal,
-        TextXPython,
-        TextXSetext,
-        TextXUuencode,
-        TextXVcalendar,
-        TextXVcard,
-        Video3gpp,
-        Video3gpp2,
-        VideoH261,
-        VideoH263,
-        VideoH264,
-        VideoJpeg,
-        VideoJpm,
-        VideoMj2,
-        VideoMp4,
-        VideoMpeg,
-        VideoOgg,
-        VideoQuicktime,
-        VideoVndFvt,
-        VideoVndMpegurl,
-        VideoVndMsPlayreadyMediaPyv,
-        VideoVndVivo,
-        VideoXF4v,
-        VideoXFli,
-        VideoXFlv,
-        VideoXM4v,
-        VideoXMsAsf,
-        VideoXMsvideo,
-        VideoXMsWm,
-        VideoXMsWmv,
-        VideoXMsWmx,
-        VideoXMsWvx,
-        VideoXSgiMovie,
-        XConferenceXCooltalk
-    }
-
     public static class MimeTypes
     {
         public const string ApplicationAndrewInset = "application/andrew-inset";
@@ -1259,640 +630,6 @@
         public const string VideoXMsWvx = "video/x-ms-wvx";
         public const string VideoXSgiMovie = "video/x-sgi-movie";
         public const string XConferenceXCooltalk = "x-conference/x-cooltalk";
-
-        public static string ToMimeType(this MimeType mimeType)
-        {
-            switch (mimeType)
-            {
-                case MimeType.ApplicationAndrewInset: return ApplicationAndrewInset;
-                case MimeType.ApplicationApplixware: return ApplicationApplixware;
-                case MimeType.ApplicationAtomcatXml: return ApplicationAtomcatXml;
-                case MimeType.ApplicationAtomsvcXml: return ApplicationAtomsvcXml;
-                case MimeType.ApplicationAtomXml: return ApplicationAtomXml;
-                case MimeType.ApplicationCcxmlXml: return ApplicationCcxmlXml;
-                case MimeType.ApplicationCuSeeme: return ApplicationCuSeeme;
-                case MimeType.ApplicationDavmountXml: return ApplicationDavmountXml;
-                case MimeType.ApplicationEcmascript: return ApplicationEcmascript;
-                case MimeType.ApplicationEmmaXml: return ApplicationEmmaXml;
-                case MimeType.ApplicationEpubZip: return ApplicationEpubZip;
-                case MimeType.ApplicationFontTdpfr: return ApplicationFontTdpfr;
-                case MimeType.ApplicationFontWoff: return ApplicationFontWoff;
-                case MimeType.ApplicationHyperstudio: return ApplicationHyperstudio;
-                case MimeType.ApplicationJavaArchive: return ApplicationJavaArchive;
-                case MimeType.ApplicationJavascript: return ApplicationJavascript;
-                case MimeType.ApplicationJavaSerializedObject: return ApplicationJavaSerializedObject;
-                case MimeType.ApplicationJavaVm: return ApplicationJavaVm;
-                case MimeType.ApplicationJson: return ApplicationJson;
-                case MimeType.ApplicationLostXml: return ApplicationLostXml;
-                case MimeType.ApplicationMacBinhex40: return ApplicationMacBinhex40;
-                case MimeType.ApplicationMacCompactpro: return ApplicationMacCompactpro;
-                case MimeType.ApplicationMarc: return ApplicationMarc;
-                case MimeType.ApplicationMathematica: return ApplicationMathematica;
-                case MimeType.ApplicationMathmlXml: return ApplicationMathmlXml;
-                case MimeType.ApplicationMbox: return ApplicationMbox;
-                case MimeType.ApplicationMediaservercontrolXml: return ApplicationMediaservercontrolXml;
-                case MimeType.ApplicationMp4: return ApplicationMp4;
-                case MimeType.ApplicationMsword: return ApplicationMsword;
-                case MimeType.ApplicationMxf: return ApplicationMxf;
-                case MimeType.ApplicationOctetStream: return ApplicationOctetStream;
-                case MimeType.ApplicationOda: return ApplicationOda;
-                case MimeType.ApplicationOebpsPackageXml: return ApplicationOebpsPackageXml;
-                case MimeType.ApplicationOgg: return ApplicationOgg;
-                case MimeType.ApplicationOnenote: return ApplicationOnenote;
-                case MimeType.ApplicationPatchOpsErrorXml: return ApplicationPatchOpsErrorXml;
-                case MimeType.ApplicationPdf: return ApplicationPdf;
-                case MimeType.ApplicationPgpEncrypted: return ApplicationPgpEncrypted;
-                case MimeType.ApplicationPgpSignature: return ApplicationPgpSignature;
-                case MimeType.ApplicationPicsRules: return ApplicationPicsRules;
-                case MimeType.ApplicationPkcs10: return ApplicationPkcs10;
-                case MimeType.ApplicationPkcs7Mime: return ApplicationPkcs7Mime;
-                case MimeType.ApplicationPkcs7Signature: return ApplicationPkcs7Signature;
-                case MimeType.ApplicationPkixCert: return ApplicationPkixCert;
-                case MimeType.ApplicationPkixcmp: return ApplicationPkixcmp;
-                case MimeType.ApplicationPkixCrl: return ApplicationPkixCrl;
-                case MimeType.ApplicationPkixPkipath: return ApplicationPkixPkipath;
-                case MimeType.ApplicationPlsXml: return ApplicationPlsXml;
-                case MimeType.ApplicationPostscript: return ApplicationPostscript;
-                case MimeType.ApplicationPrsCww: return ApplicationPrsCww;
-                case MimeType.ApplicationRdfXml: return ApplicationRdfXml;
-                case MimeType.ApplicationReginfoXml: return ApplicationReginfoXml;
-                case MimeType.ApplicationRelaxNgCompactSyntax: return ApplicationRelaxNgCompactSyntax;
-                case MimeType.ApplicationResourceListsDiffXml: return ApplicationResourceListsDiffXml;
-                case MimeType.ApplicationResourceListsXml: return ApplicationResourceListsXml;
-                case MimeType.ApplicationRlsServicesXml: return ApplicationRlsServicesXml;
-                case MimeType.ApplicationRsdXml: return ApplicationRsdXml;
-                case MimeType.ApplicationRssXml: return ApplicationRssXml;
-                case MimeType.ApplicationRtf: return ApplicationRtf;
-                case MimeType.ApplicationSbmlXml: return ApplicationSbmlXml;
-                case MimeType.ApplicationScvpCvRequest: return ApplicationScvpCvRequest;
-                case MimeType.ApplicationScvpCvResponse: return ApplicationScvpCvResponse;
-                case MimeType.ApplicationScvpVpRequest: return ApplicationScvpVpRequest;
-                case MimeType.ApplicationScvpVpResponse: return ApplicationScvpVpResponse;
-                case MimeType.ApplicationSdp: return ApplicationSdp;
-                case MimeType.ApplicationSetPaymentInitiation: return ApplicationSetPaymentInitiation;
-                case MimeType.ApplicationSetRegistrationInitiation: return ApplicationSetRegistrationInitiation;
-                case MimeType.ApplicationShfXml: return ApplicationShfXml;
-                case MimeType.ApplicationSmilXml: return ApplicationSmilXml;
-                case MimeType.ApplicationSparqlQuery: return ApplicationSparqlQuery;
-                case MimeType.ApplicationSparqlResultsXml: return ApplicationSparqlResultsXml;
-                case MimeType.ApplicationSrgs: return ApplicationSrgs;
-                case MimeType.ApplicationSrgsXml: return ApplicationSrgsXml;
-                case MimeType.ApplicationSsmlXml: return ApplicationSsmlXml;
-                case MimeType.ApplicationVnd3gpp2Tcap: return ApplicationVnd3gpp2Tcap;
-                case MimeType.ApplicationVnd3gppPicBwLarge: return ApplicationVnd3gppPicBwLarge;
-                case MimeType.ApplicationVnd3gppPicBwSmall: return ApplicationVnd3gppPicBwSmall;
-                case MimeType.ApplicationVnd3gppPicBwVar: return ApplicationVnd3gppPicBwVar;
-                case MimeType.ApplicationVnd3mPostItNotes: return ApplicationVnd3mPostItNotes;
-                case MimeType.ApplicationVndAccpacSimplyAso: return ApplicationVndAccpacSimplyAso;
-                case MimeType.ApplicationVndAccpacSimplyImp: return ApplicationVndAccpacSimplyImp;
-                case MimeType.ApplicationVndAcucobol: return ApplicationVndAcucobol;
-                case MimeType.ApplicationVndAcucorp: return ApplicationVndAcucorp;
-                case MimeType.ApplicationVndAdobeAirApplicationInstallerPackageZip: return ApplicationVndAdobeAirApplicationInstallerPackageZip;
-                case MimeType.ApplicationVndAdobeXdpXml: return ApplicationVndAdobeXdpXml;
-                case MimeType.ApplicationVndAdobeXfdf: return ApplicationVndAdobeXfdf;
-                case MimeType.ApplicationVndAirzipFilesecureAzf: return ApplicationVndAirzipFilesecureAzf;
-                case MimeType.ApplicationVndAirzipFilesecureAzs: return ApplicationVndAirzipFilesecureAzs;
-                case MimeType.ApplicationVndAmazonEbook: return ApplicationVndAmazonEbook;
-                case MimeType.ApplicationVndAmericandynamicsAcc: return ApplicationVndAmericandynamicsAcc;
-                case MimeType.ApplicationVndAmigaAmi: return ApplicationVndAmigaAmi;
-                case MimeType.ApplicationVndAndroidPackageArchive: return ApplicationVndAndroidPackageArchive;
-                case MimeType.ApplicationVndAnserWebCertificateIssueInitiation: return ApplicationVndAnserWebCertificateIssueInitiation;
-                case MimeType.ApplicationVndAnserWebFundsTransferInitiation: return ApplicationVndAnserWebFundsTransferInitiation;
-                case MimeType.ApplicationVndAntixGameComponent: return ApplicationVndAntixGameComponent;
-                case MimeType.ApplicationVndAppleInstallerXml: return ApplicationVndAppleInstallerXml;
-                case MimeType.ApplicationVndArastraSwi: return ApplicationVndArastraSwi;
-                case MimeType.ApplicationVndAudiograph: return ApplicationVndAudiograph;
-                case MimeType.ApplicationVndBlueiceMultipass: return ApplicationVndBlueiceMultipass;
-                case MimeType.ApplicationVndBmi: return ApplicationVndBmi;
-                case MimeType.ApplicationVndBusinessobjects: return ApplicationVndBusinessobjects;
-                case MimeType.ApplicationVndChemdrawXml: return ApplicationVndChemdrawXml;
-                case MimeType.ApplicationVndChipnutsKaraokeMmd: return ApplicationVndChipnutsKaraokeMmd;
-                case MimeType.ApplicationVndCinderella: return ApplicationVndCinderella;
-                case MimeType.ApplicationVndClaymore: return ApplicationVndClaymore;
-                case MimeType.ApplicationVndClonkC4group: return ApplicationVndClonkC4group;
-                case MimeType.ApplicationVndCommonspace: return ApplicationVndCommonspace;
-                case MimeType.ApplicationVndContactCmsg: return ApplicationVndContactCmsg;
-                case MimeType.ApplicationVndCosmocaller: return ApplicationVndCosmocaller;
-                case MimeType.ApplicationVndCrickClicker: return ApplicationVndCrickClicker;
-                case MimeType.ApplicationVndCrickClickerKeyboard: return ApplicationVndCrickClickerKeyboard;
-                case MimeType.ApplicationVndCrickClickerPalette: return ApplicationVndCrickClickerPalette;
-                case MimeType.ApplicationVndCrickClickerTemplate: return ApplicationVndCrickClickerTemplate;
-                case MimeType.ApplicationVndCrickClickerWordbank: return ApplicationVndCrickClickerWordbank;
-                case MimeType.ApplicationVndCriticaltoolsWbsXml: return ApplicationVndCriticaltoolsWbsXml;
-                case MimeType.ApplicationVndCtcPosml: return ApplicationVndCtcPosml;
-                case MimeType.ApplicationVndCupsPpd: return ApplicationVndCupsPpd;
-                case MimeType.ApplicationVndCurlCar: return ApplicationVndCurlCar;
-                case MimeType.ApplicationVndCurlPcurl: return ApplicationVndCurlPcurl;
-                case MimeType.ApplicationVndDataVisionRdz: return ApplicationVndDataVisionRdz;
-                case MimeType.ApplicationVndDenovoFcselayoutLink: return ApplicationVndDenovoFcselayoutLink;
-                case MimeType.ApplicationVndDna: return ApplicationVndDna;
-                case MimeType.ApplicationVndDolbyMlp: return ApplicationVndDolbyMlp;
-                case MimeType.ApplicationVndDpgraph: return ApplicationVndDpgraph;
-                case MimeType.ApplicationVndDreamfactory: return ApplicationVndDreamfactory;
-                case MimeType.ApplicationVndDynageo: return ApplicationVndDynageo;
-                case MimeType.ApplicationVndEcowinChart: return ApplicationVndEcowinChart;
-                case MimeType.ApplicationVndEnliven: return ApplicationVndEnliven;
-                case MimeType.ApplicationVndEpsonEsf: return ApplicationVndEpsonEsf;
-                case MimeType.ApplicationVndEpsonMsf: return ApplicationVndEpsonMsf;
-                case MimeType.ApplicationVndEpsonQuickanime: return ApplicationVndEpsonQuickanime;
-                case MimeType.ApplicationVndEpsonSalt: return ApplicationVndEpsonSalt;
-                case MimeType.ApplicationVndEpsonSsf: return ApplicationVndEpsonSsf;
-                case MimeType.ApplicationVndEszigno3Xml: return ApplicationVndEszigno3Xml;
-                case MimeType.ApplicationVndEzpixAlbum: return ApplicationVndEzpixAlbum;
-                case MimeType.ApplicationVndEzpixPackage: return ApplicationVndEzpixPackage;
-                case MimeType.ApplicationVndFdf: return ApplicationVndFdf;
-                case MimeType.ApplicationVndFdsnMseed: return ApplicationVndFdsnMseed;
-                case MimeType.ApplicationVndFdsnSeed: return ApplicationVndFdsnSeed;
-                case MimeType.ApplicationVndFlographit: return ApplicationVndFlographit;
-                case MimeType.ApplicationVndFluxtimeClip: return ApplicationVndFluxtimeClip;
-                case MimeType.ApplicationVndFramemaker: return ApplicationVndFramemaker;
-                case MimeType.ApplicationVndFrogansFnc: return ApplicationVndFrogansFnc;
-                case MimeType.ApplicationVndFrogansLtf: return ApplicationVndFrogansLtf;
-                case MimeType.ApplicationVndFscWeblaunch: return ApplicationVndFscWeblaunch;
-                case MimeType.ApplicationVndFujitsuOasys: return ApplicationVndFujitsuOasys;
-                case MimeType.ApplicationVndFujitsuOasys2: return ApplicationVndFujitsuOasys2;
-                case MimeType.ApplicationVndFujitsuOasys3: return ApplicationVndFujitsuOasys3;
-                case MimeType.ApplicationVndFujitsuOasysgp: return ApplicationVndFujitsuOasysgp;
-                case MimeType.ApplicationVndFujitsuOasysprs: return ApplicationVndFujitsuOasysprs;
-                case MimeType.ApplicationVndFujixeroxDdd: return ApplicationVndFujixeroxDdd;
-                case MimeType.ApplicationVndFujixeroxDocuworks: return ApplicationVndFujixeroxDocuworks;
-                case MimeType.ApplicationVndFujixeroxDocuworksBinder: return ApplicationVndFujixeroxDocuworksBinder;
-                case MimeType.ApplicationVndFuzzysheet: return ApplicationVndFuzzysheet;
-                case MimeType.ApplicationVndGenomatixTuxedo: return ApplicationVndGenomatixTuxedo;
-                case MimeType.ApplicationVndGeogebraFile: return ApplicationVndGeogebraFile;
-                case MimeType.ApplicationVndGeogebraTool: return ApplicationVndGeogebraTool;
-                case MimeType.ApplicationVndGeometryExplorer: return ApplicationVndGeometryExplorer;
-                case MimeType.ApplicationVndGmx: return ApplicationVndGmx;
-                case MimeType.ApplicationVndGoogleEarthKmlXml: return ApplicationVndGoogleEarthKmlXml;
-                case MimeType.ApplicationVndGoogleEarthKmz: return ApplicationVndGoogleEarthKmz;
-                case MimeType.ApplicationVndGrafeq: return ApplicationVndGrafeq;
-                case MimeType.ApplicationVndGrooveAccount: return ApplicationVndGrooveAccount;
-                case MimeType.ApplicationVndGrooveHelp: return ApplicationVndGrooveHelp;
-                case MimeType.ApplicationVndGrooveIdentityMessage: return ApplicationVndGrooveIdentityMessage;
-                case MimeType.ApplicationVndGrooveInjector: return ApplicationVndGrooveInjector;
-                case MimeType.ApplicationVndGrooveToolMessage: return ApplicationVndGrooveToolMessage;
-                case MimeType.ApplicationVndGrooveToolTemplate: return ApplicationVndGrooveToolTemplate;
-                case MimeType.ApplicationVndGrooveVcard: return ApplicationVndGrooveVcard;
-                case MimeType.ApplicationVndHandheldEntertainmentXml: return ApplicationVndHandheldEntertainmentXml;
-                case MimeType.ApplicationVndHbci: return ApplicationVndHbci;
-                case MimeType.ApplicationVndHheLessonPlayer: return ApplicationVndHheLessonPlayer;
-                case MimeType.ApplicationVndHpHpgl: return ApplicationVndHpHpgl;
-                case MimeType.ApplicationVndHpHpid: return ApplicationVndHpHpid;
-                case MimeType.ApplicationVndHpHps: return ApplicationVndHpHps;
-                case MimeType.ApplicationVndHpJlyt: return ApplicationVndHpJlyt;
-                case MimeType.ApplicationVndHpPcl: return ApplicationVndHpPcl;
-                case MimeType.ApplicationVndHpPclxl: return ApplicationVndHpPclxl;
-                case MimeType.ApplicationVndHydrostatixSofData: return ApplicationVndHydrostatixSofData;
-                case MimeType.ApplicationVndHzn3dCrossword: return ApplicationVndHzn3dCrossword;
-                case MimeType.ApplicationVndIbmMinipay: return ApplicationVndIbmMinipay;
-                case MimeType.ApplicationVndIbmModcap: return ApplicationVndIbmModcap;
-                case MimeType.ApplicationVndIbmRightsManagement: return ApplicationVndIbmRightsManagement;
-                case MimeType.ApplicationVndIbmSecureContainer: return ApplicationVndIbmSecureContainer;
-                case MimeType.ApplicationVndIccprofile: return ApplicationVndIccprofile;
-                case MimeType.ApplicationVndIgloader: return ApplicationVndIgloader;
-                case MimeType.ApplicationVndImmervisionIvp: return ApplicationVndImmervisionIvp;
-                case MimeType.ApplicationVndImmervisionIvu: return ApplicationVndImmervisionIvu;
-                case MimeType.ApplicationVndInterconFormnet: return ApplicationVndInterconFormnet;
-                case MimeType.ApplicationVndIntuQbo: return ApplicationVndIntuQbo;
-                case MimeType.ApplicationVndIntuQfx: return ApplicationVndIntuQfx;
-                case MimeType.ApplicationVndIpunpluggedRcprofile: return ApplicationVndIpunpluggedRcprofile;
-                case MimeType.ApplicationVndIrepositoryPackageXml: return ApplicationVndIrepositoryPackageXml;
-                case MimeType.ApplicationVndIsXpr: return ApplicationVndIsXpr;
-                case MimeType.ApplicationVndJam: return ApplicationVndJam;
-                case MimeType.ApplicationVndJcpJavameMidletRms: return ApplicationVndJcpJavameMidletRms;
-                case MimeType.ApplicationVndJisp: return ApplicationVndJisp;
-                case MimeType.ApplicationVndJoostJodaArchive: return ApplicationVndJoostJodaArchive;
-                case MimeType.ApplicationVndKahootz: return ApplicationVndKahootz;
-                case MimeType.ApplicationVndKdeKarbon: return ApplicationVndKdeKarbon;
-                case MimeType.ApplicationVndKdeKchart: return ApplicationVndKdeKchart;
-                case MimeType.ApplicationVndKdeKformula: return ApplicationVndKdeKformula;
-                case MimeType.ApplicationVndKdeKivio: return ApplicationVndKdeKivio;
-                case MimeType.ApplicationVndKdeKontour: return ApplicationVndKdeKontour;
-                case MimeType.ApplicationVndKdeKpresenter: return ApplicationVndKdeKpresenter;
-                case MimeType.ApplicationVndKdeKspread: return ApplicationVndKdeKspread;
-                case MimeType.ApplicationVndKdeKword: return ApplicationVndKdeKword;
-                case MimeType.ApplicationVndKenameaapp: return ApplicationVndKenameaapp;
-                case MimeType.ApplicationVndKidspiration: return ApplicationVndKidspiration;
-                case MimeType.ApplicationVndKinar: return ApplicationVndKinar;
-                case MimeType.ApplicationVndKoan: return ApplicationVndKoan;
-                case MimeType.ApplicationVndKodakDescriptor: return ApplicationVndKodakDescriptor;
-                case MimeType.ApplicationVndLlamagraphicsLifeBalanceDesktop: return ApplicationVndLlamagraphicsLifeBalanceDesktop;
-                case MimeType.ApplicationVndLlamagraphicsLifeBalanceExchangeXml: return ApplicationVndLlamagraphicsLifeBalanceExchangeXml;
-                case MimeType.ApplicationVndLotus123: return ApplicationVndLotus123;
-                case MimeType.ApplicationVndLotusApproach: return ApplicationVndLotusApproach;
-                case MimeType.ApplicationVndLotusFreelance: return ApplicationVndLotusFreelance;
-                case MimeType.ApplicationVndLotusNotes: return ApplicationVndLotusNotes;
-                case MimeType.ApplicationVndLotusOrganizer: return ApplicationVndLotusOrganizer;
-                case MimeType.ApplicationVndLotusScreencam: return ApplicationVndLotusScreencam;
-                case MimeType.ApplicationVndLotusWordpro: return ApplicationVndLotusWordpro;
-                case MimeType.ApplicationVndMacportsPortpkg: return ApplicationVndMacportsPortpkg;
-                case MimeType.ApplicationVndMcd: return ApplicationVndMcd;
-                case MimeType.ApplicationVndMedcalcdata: return ApplicationVndMedcalcdata;
-                case MimeType.ApplicationVndMediastationCdkey: return ApplicationVndMediastationCdkey;
-                case MimeType.ApplicationVndMfer: return ApplicationVndMfer;
-                case MimeType.ApplicationVndMfmp: return ApplicationVndMfmp;
-                case MimeType.ApplicationVndMicrografxFlo: return ApplicationVndMicrografxFlo;
-                case MimeType.ApplicationVndMicrografxIgx: return ApplicationVndMicrografxIgx;
-                case MimeType.ApplicationVndMif: return ApplicationVndMif;
-                case MimeType.ApplicationVndMobiusDaf: return ApplicationVndMobiusDaf;
-                case MimeType.ApplicationVndMobiusDis: return ApplicationVndMobiusDis;
-                case MimeType.ApplicationVndMobiusMbk: return ApplicationVndMobiusMbk;
-                case MimeType.ApplicationVndMobiusMqy: return ApplicationVndMobiusMqy;
-                case MimeType.ApplicationVndMobiusMsl: return ApplicationVndMobiusMsl;
-                case MimeType.ApplicationVndMobiusPlc: return ApplicationVndMobiusPlc;
-                case MimeType.ApplicationVndMobiusTxf: return ApplicationVndMobiusTxf;
-                case MimeType.ApplicationVndMophunApplication: return ApplicationVndMophunApplication;
-                case MimeType.ApplicationVndMophunCertificate: return ApplicationVndMophunCertificate;
-                case MimeType.ApplicationVndMozillaXulXml: return ApplicationVndMozillaXulXml;
-                case MimeType.ApplicationVndMsArtgalry: return ApplicationVndMsArtgalry;
-                case MimeType.ApplicationVndMsCabCompressed: return ApplicationVndMsCabCompressed;
-                case MimeType.ApplicationVndMseq: return ApplicationVndMseq;
-                case MimeType.ApplicationVndMsExcel: return ApplicationVndMsExcel;
-                case MimeType.ApplicationVndMsExcelAddinMacroenabled12: return ApplicationVndMsExcelAddinMacroenabled12;
-                case MimeType.ApplicationVndMsExcelSheetBinaryMacroenabled12: return ApplicationVndMsExcelSheetBinaryMacroenabled12;
-                case MimeType.ApplicationVndMsExcelSheetMacroenabled12: return ApplicationVndMsExcelSheetMacroenabled12;
-                case MimeType.ApplicationVndMsExcelTemplateMacroenabled12: return ApplicationVndMsExcelTemplateMacroenabled12;
-                case MimeType.ApplicationVndMsFontobject: return ApplicationVndMsFontobject;
-                case MimeType.ApplicationVndMsHtmlhelp: return ApplicationVndMsHtmlhelp;
-                case MimeType.ApplicationVndMsIms: return ApplicationVndMsIms;
-                case MimeType.ApplicationVndMsLrm: return ApplicationVndMsLrm;
-                case MimeType.ApplicationVndMsPkiSeccat: return ApplicationVndMsPkiSeccat;
-                case MimeType.ApplicationVndMsPkiStl: return ApplicationVndMsPkiStl;
-                case MimeType.ApplicationVndMsPowerpoint: return ApplicationVndMsPowerpoint;
-                case MimeType.ApplicationVndMsPowerpointAddinMacroenabled12: return ApplicationVndMsPowerpointAddinMacroenabled12;
-                case MimeType.ApplicationVndMsPowerpointPresentationMacroenabled12: return ApplicationVndMsPowerpointPresentationMacroenabled12;
-                case MimeType.ApplicationVndMsPowerpointSlideMacroenabled12: return ApplicationVndMsPowerpointSlideMacroenabled12;
-                case MimeType.ApplicationVndMsPowerpointSlideshowMacroenabled12: return ApplicationVndMsPowerpointSlideshowMacroenabled12;
-                case MimeType.ApplicationVndMsPowerpointTemplateMacroenabled12: return ApplicationVndMsPowerpointTemplateMacroenabled12;
-                case MimeType.ApplicationVndMsProject: return ApplicationVndMsProject;
-                case MimeType.ApplicationVndMsWordDocumentMacroenabled12: return ApplicationVndMsWordDocumentMacroenabled12;
-                case MimeType.ApplicationVndMsWordTemplateMacroenabled12: return ApplicationVndMsWordTemplateMacroenabled12;
-                case MimeType.ApplicationVndMsWorks: return ApplicationVndMsWorks;
-                case MimeType.ApplicationVndMsWpl: return ApplicationVndMsWpl;
-                case MimeType.ApplicationVndMsXpsdocument: return ApplicationVndMsXpsdocument;
-                case MimeType.ApplicationVndMusician: return ApplicationVndMusician;
-                case MimeType.ApplicationVndMuveeStyle: return ApplicationVndMuveeStyle;
-                case MimeType.ApplicationVndNeurolanguageNlu: return ApplicationVndNeurolanguageNlu;
-                case MimeType.ApplicationVndNoblenetDirectory: return ApplicationVndNoblenetDirectory;
-                case MimeType.ApplicationVndNoblenetSealer: return ApplicationVndNoblenetSealer;
-                case MimeType.ApplicationVndNoblenetWeb: return ApplicationVndNoblenetWeb;
-                case MimeType.ApplicationVndNokiaNGageData: return ApplicationVndNokiaNGageData;
-                case MimeType.ApplicationVndNokiaNGageSymbianInstall: return ApplicationVndNokiaNGageSymbianInstall;
-                case MimeType.ApplicationVndNokiaRadioPreset: return ApplicationVndNokiaRadioPreset;
-                case MimeType.ApplicationVndNokiaRadioPresets: return ApplicationVndNokiaRadioPresets;
-                case MimeType.ApplicationVndNovadigmEdm: return ApplicationVndNovadigmEdm;
-                case MimeType.ApplicationVndNovadigmEdx: return ApplicationVndNovadigmEdx;
-                case MimeType.ApplicationVndNovadigmExt: return ApplicationVndNovadigmExt;
-                case MimeType.ApplicationVndOasisOpendocumentChart: return ApplicationVndOasisOpendocumentChart;
-                case MimeType.ApplicationVndOasisOpendocumentChartTemplate: return ApplicationVndOasisOpendocumentChartTemplate;
-                case MimeType.ApplicationVndOasisOpendocumentDatabase: return ApplicationVndOasisOpendocumentDatabase;
-                case MimeType.ApplicationVndOasisOpendocumentFormula: return ApplicationVndOasisOpendocumentFormula;
-                case MimeType.ApplicationVndOasisOpendocumentFormulaTemplate: return ApplicationVndOasisOpendocumentFormulaTemplate;
-                case MimeType.ApplicationVndOasisOpendocumentGraphics: return ApplicationVndOasisOpendocumentGraphics;
-                case MimeType.ApplicationVndOasisOpendocumentGraphicsTemplate: return ApplicationVndOasisOpendocumentGraphicsTemplate;
-                case MimeType.ApplicationVndOasisOpendocumentImage: return ApplicationVndOasisOpendocumentImage;
-                case MimeType.ApplicationVndOasisOpendocumentImageTemplate: return ApplicationVndOasisOpendocumentImageTemplate;
-                case MimeType.ApplicationVndOasisOpendocumentPresentation: return ApplicationVndOasisOpendocumentPresentation;
-                case MimeType.ApplicationVndOasisOpendocumentPresentationTemplate: return ApplicationVndOasisOpendocumentPresentationTemplate;
-                case MimeType.ApplicationVndOasisOpendocumentSpreadsheet: return ApplicationVndOasisOpendocumentSpreadsheet;
-                case MimeType.ApplicationVndOasisOpendocumentSpreadsheetTemplate: return ApplicationVndOasisOpendocumentSpreadsheetTemplate;
-                case MimeType.ApplicationVndOasisOpendocumentText: return ApplicationVndOasisOpendocumentText;
-                case MimeType.ApplicationVndOasisOpendocumentTextMaster: return ApplicationVndOasisOpendocumentTextMaster;
-                case MimeType.ApplicationVndOasisOpendocumentTextTemplate: return ApplicationVndOasisOpendocumentTextTemplate;
-                case MimeType.ApplicationVndOasisOpendocumentTextWeb: return ApplicationVndOasisOpendocumentTextWeb;
-                case MimeType.ApplicationVndOlpcSugar: return ApplicationVndOlpcSugar;
-                case MimeType.ApplicationVndOmaDd2Xml: return ApplicationVndOmaDd2Xml;
-                case MimeType.ApplicationVndOpenofficeorgExtension: return ApplicationVndOpenofficeorgExtension;
-                case MimeType.ApplicationVndOpenxmlformatsOfficedocumentPresentationmlPresentation: return ApplicationVndOpenxmlformatsOfficedocumentPresentationmlPresentation;
-                case MimeType.ApplicationVndOpenxmlformatsOfficedocumentPresentationmlSlide: return ApplicationVndOpenxmlformatsOfficedocumentPresentationmlSlide;
-                case MimeType.ApplicationVndOpenxmlformatsOfficedocumentPresentationmlSlideshow: return ApplicationVndOpenxmlformatsOfficedocumentPresentationmlSlideshow;
-                case MimeType.ApplicationVndOpenxmlformatsOfficedocumentPresentationmlTemplate: return ApplicationVndOpenxmlformatsOfficedocumentPresentationmlTemplate;
-                case MimeType.ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet: return ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet;
-                case MimeType.ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlTemplate: return ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlTemplate;
-                case MimeType.ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlDocument: return ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlDocument;
-                case MimeType.ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlTemplate: return ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlTemplate;
-                case MimeType.ApplicationVndOsgiDp: return ApplicationVndOsgiDp;
-                case MimeType.ApplicationVndPalm: return ApplicationVndPalm;
-                case MimeType.ApplicationVndPgFormat: return ApplicationVndPgFormat;
-                case MimeType.ApplicationVndPgOsasli: return ApplicationVndPgOsasli;
-                case MimeType.ApplicationVndPicsel: return ApplicationVndPicsel;
-                case MimeType.ApplicationVndPocketlearn: return ApplicationVndPocketlearn;
-                case MimeType.ApplicationVndPowerbuilder6: return ApplicationVndPowerbuilder6;
-                case MimeType.ApplicationVndPreviewsystemsBox: return ApplicationVndPreviewsystemsBox;
-                case MimeType.ApplicationVndProteusMagazine: return ApplicationVndProteusMagazine;
-                case MimeType.ApplicationVndPublishareDeltaTree: return ApplicationVndPublishareDeltaTree;
-                case MimeType.ApplicationVndPviPtid1: return ApplicationVndPviPtid1;
-                case MimeType.ApplicationVndQuarkQuarkxpress: return ApplicationVndQuarkQuarkxpress;
-                case MimeType.ApplicationVndRecordareMusicxml: return ApplicationVndRecordareMusicxml;
-                case MimeType.ApplicationVndRecordareMusicxmlXml: return ApplicationVndRecordareMusicxmlXml;
-                case MimeType.ApplicationVndRimCod: return ApplicationVndRimCod;
-                case MimeType.ApplicationVndRnRealmedia: return ApplicationVndRnRealmedia;
-                case MimeType.ApplicationVndRoute66Link66Xml: return ApplicationVndRoute66Link66Xml;
-                case MimeType.ApplicationVndSeemail: return ApplicationVndSeemail;
-                case MimeType.ApplicationVndSema: return ApplicationVndSema;
-                case MimeType.ApplicationVndSemd: return ApplicationVndSemd;
-                case MimeType.ApplicationVndSemf: return ApplicationVndSemf;
-                case MimeType.ApplicationVndShanaInformedFormdata: return ApplicationVndShanaInformedFormdata;
-                case MimeType.ApplicationVndShanaInformedFormtemplate: return ApplicationVndShanaInformedFormtemplate;
-                case MimeType.ApplicationVndShanaInformedInterchange: return ApplicationVndShanaInformedInterchange;
-                case MimeType.ApplicationVndShanaInformedPackage: return ApplicationVndShanaInformedPackage;
-                case MimeType.ApplicationVndSimtechMindmapper: return ApplicationVndSimtechMindmapper;
-                case MimeType.ApplicationVndSmaf: return ApplicationVndSmaf;
-                case MimeType.ApplicationVndSmartTeacher: return ApplicationVndSmartTeacher;
-                case MimeType.ApplicationVndSolentSdkmXml: return ApplicationVndSolentSdkmXml;
-                case MimeType.ApplicationVndSpotfireDxp: return ApplicationVndSpotfireDxp;
-                case MimeType.ApplicationVndSpotfireSfs: return ApplicationVndSpotfireSfs;
-                case MimeType.ApplicationVndStardivisionCalc: return ApplicationVndStardivisionCalc;
-                case MimeType.ApplicationVndStardivisionDraw: return ApplicationVndStardivisionDraw;
-                case MimeType.ApplicationVndStardivisionImpress: return ApplicationVndStardivisionImpress;
-                case MimeType.ApplicationVndStardivisionMath: return ApplicationVndStardivisionMath;
-                case MimeType.ApplicationVndStardivisionWriter: return ApplicationVndStardivisionWriter;
-                case MimeType.ApplicationVndStardivisionWriterGlobal: return ApplicationVndStardivisionWriterGlobal;
-                case MimeType.ApplicationVndSunXmlCalc: return ApplicationVndSunXmlCalc;
-                case MimeType.ApplicationVndSunXmlCalcTemplate: return ApplicationVndSunXmlCalcTemplate;
-                case MimeType.ApplicationVndSunXmlDraw: return ApplicationVndSunXmlDraw;
-                case MimeType.ApplicationVndSunXmlDrawTemplate: return ApplicationVndSunXmlDrawTemplate;
-                case MimeType.ApplicationVndSunXmlImpress: return ApplicationVndSunXmlImpress;
-                case MimeType.ApplicationVndSunXmlImpressTemplate: return ApplicationVndSunXmlImpressTemplate;
-                case MimeType.ApplicationVndSunXmlMath: return ApplicationVndSunXmlMath;
-                case MimeType.ApplicationVndSunXmlWriter: return ApplicationVndSunXmlWriter;
-                case MimeType.ApplicationVndSunXmlWriterGlobal: return ApplicationVndSunXmlWriterGlobal;
-                case MimeType.ApplicationVndSunXmlWriterTemplate: return ApplicationVndSunXmlWriterTemplate;
-                case MimeType.ApplicationVndSusCalendar: return ApplicationVndSusCalendar;
-                case MimeType.ApplicationVndSvd: return ApplicationVndSvd;
-                case MimeType.ApplicationVndSymbianInstall: return ApplicationVndSymbianInstall;
-                case MimeType.ApplicationVndSyncmlDmWbxml: return ApplicationVndSyncmlDmWbxml;
-                case MimeType.ApplicationVndSyncmlDmXml: return ApplicationVndSyncmlDmXml;
-                case MimeType.ApplicationVndSyncmlXml: return ApplicationVndSyncmlXml;
-                case MimeType.ApplicationVndTaoIntentModuleArchive: return ApplicationVndTaoIntentModuleArchive;
-                case MimeType.ApplicationVndTmobileLivetv: return ApplicationVndTmobileLivetv;
-                case MimeType.ApplicationVndTridTpt: return ApplicationVndTridTpt;
-                case MimeType.ApplicationVndTriscapeMxs: return ApplicationVndTriscapeMxs;
-                case MimeType.ApplicationVndTrueapp: return ApplicationVndTrueapp;
-                case MimeType.ApplicationVndUfdl: return ApplicationVndUfdl;
-                case MimeType.ApplicationVndUiqTheme: return ApplicationVndUiqTheme;
-                case MimeType.ApplicationVndUmajin: return ApplicationVndUmajin;
-                case MimeType.ApplicationVndUnity: return ApplicationVndUnity;
-                case MimeType.ApplicationVndUomlXml: return ApplicationVndUomlXml;
-                case MimeType.ApplicationVndVcx: return ApplicationVndVcx;
-                case MimeType.ApplicationVndVisio: return ApplicationVndVisio;
-                case MimeType.ApplicationVndVisionary: return ApplicationVndVisionary;
-                case MimeType.ApplicationVndVsf: return ApplicationVndVsf;
-                case MimeType.ApplicationVndWapSic: return ApplicationVndWapSic;
-                case MimeType.ApplicationVndWapSlc: return ApplicationVndWapSlc;
-                case MimeType.ApplicationVndWapWbxml: return ApplicationVndWapWbxml;
-                case MimeType.ApplicationVndWapWmlc: return ApplicationVndWapWmlc;
-                case MimeType.ApplicationVndWapWmlscriptc: return ApplicationVndWapWmlscriptc;
-                case MimeType.ApplicationVndWebturbo: return ApplicationVndWebturbo;
-                case MimeType.ApplicationVndWordperfect: return ApplicationVndWordperfect;
-                case MimeType.ApplicationVndWqd: return ApplicationVndWqd;
-                case MimeType.ApplicationVndWtStf: return ApplicationVndWtStf;
-                case MimeType.ApplicationVndXara: return ApplicationVndXara;
-                case MimeType.ApplicationVndXfdl: return ApplicationVndXfdl;
-                case MimeType.ApplicationVndYamahaHvDic: return ApplicationVndYamahaHvDic;
-                case MimeType.ApplicationVndYamahaHvScript: return ApplicationVndYamahaHvScript;
-                case MimeType.ApplicationVndYamahaHvVoice: return ApplicationVndYamahaHvVoice;
-                case MimeType.ApplicationVndYamahaOpenscoreformat: return ApplicationVndYamahaOpenscoreformat;
-                case MimeType.ApplicationVndYamahaOpenscoreformatOsfpvgXml: return ApplicationVndYamahaOpenscoreformatOsfpvgXml;
-                case MimeType.ApplicationVndYamahaSmafAudio: return ApplicationVndYamahaSmafAudio;
-                case MimeType.ApplicationVndYamahaSmafPhrase: return ApplicationVndYamahaSmafPhrase;
-                case MimeType.ApplicationVndYellowriverCustomMenu: return ApplicationVndYellowriverCustomMenu;
-                case MimeType.ApplicationVndZul: return ApplicationVndZul;
-                case MimeType.ApplicationVndZzazzDeckXml: return ApplicationVndZzazzDeckXml;
-                case MimeType.ApplicationVoicexmlXml: return ApplicationVoicexmlXml;
-                case MimeType.ApplicationWinhlp: return ApplicationWinhlp;
-                case MimeType.ApplicationWsdlXml: return ApplicationWsdlXml;
-                case MimeType.ApplicationWspolicyXml: return ApplicationWspolicyXml;
-                case MimeType.ApplicationXAbiword: return ApplicationXAbiword;
-                case MimeType.ApplicationXAceCompressed: return ApplicationXAceCompressed;
-                case MimeType.ApplicationXAuthorwareBin: return ApplicationXAuthorwareBin;
-                case MimeType.ApplicationXAuthorwareMap: return ApplicationXAuthorwareMap;
-                case MimeType.ApplicationXAuthorwareSeg: return ApplicationXAuthorwareSeg;
-                case MimeType.ApplicationXBcpio: return ApplicationXBcpio;
-                case MimeType.ApplicationXBittorrent: return ApplicationXBittorrent;
-                case MimeType.ApplicationXBzip: return ApplicationXBzip;
-                case MimeType.ApplicationXBzip2: return ApplicationXBzip2;
-                case MimeType.ApplicationXCdlink: return ApplicationXCdlink;
-                case MimeType.ApplicationXChat: return ApplicationXChat;
-                case MimeType.ApplicationXChessPgn: return ApplicationXChessPgn;
-                case MimeType.ApplicationXCpio: return ApplicationXCpio;
-                case MimeType.ApplicationXCsh: return ApplicationXCsh;
-                case MimeType.ApplicationXDebianPackage: return ApplicationXDebianPackage;
-                case MimeType.ApplicationXDirector: return ApplicationXDirector;
-                case MimeType.ApplicationXDoom: return ApplicationXDoom;
-                case MimeType.ApplicationXDtbncxXml: return ApplicationXDtbncxXml;
-                case MimeType.ApplicationXDtbookXml: return ApplicationXDtbookXml;
-                case MimeType.ApplicationXDtbresourceXml: return ApplicationXDtbresourceXml;
-                case MimeType.ApplicationXDvi: return ApplicationXDvi;
-                case MimeType.ApplicationXencXml: return ApplicationXencXml;
-                case MimeType.ApplicationXFontBdf: return ApplicationXFontBdf;
-                case MimeType.ApplicationXFontGhostscript: return ApplicationXFontGhostscript;
-                case MimeType.ApplicationXFontLinuxPsf: return ApplicationXFontLinuxPsf;
-                case MimeType.ApplicationXFontOtf: return ApplicationXFontOtf;
-                case MimeType.ApplicationXFontPcf: return ApplicationXFontPcf;
-                case MimeType.ApplicationXFontSnf: return ApplicationXFontSnf;
-                case MimeType.ApplicationXFontTtf: return ApplicationXFontTtf;
-                case MimeType.ApplicationXFontType1: return ApplicationXFontType1;
-                case MimeType.ApplicationXFuturesplash: return ApplicationXFuturesplash;
-                case MimeType.ApplicationXGnumeric: return ApplicationXGnumeric;
-                case MimeType.ApplicationXGtar: return ApplicationXGtar;
-                case MimeType.ApplicationXGzip: return ApplicationXGzip;
-                case MimeType.ApplicationXHdf: return ApplicationXHdf;
-                case MimeType.ApplicationXhtmlXml: return ApplicationXhtmlXml;
-                case MimeType.ApplicationXJavaJnlpFile: return ApplicationXJavaJnlpFile;
-                case MimeType.ApplicationXKillustrator: return ApplicationXKillustrator;
-                case MimeType.ApplicationXLatex: return ApplicationXLatex;
-                case MimeType.ApplicationXml: return ApplicationXml;
-                case MimeType.ApplicationXmlDtd: return ApplicationXmlDtd;
-                case MimeType.ApplicationXMobipocketEbook: return ApplicationXMobipocketEbook;
-                case MimeType.ApplicationXMsaccess: return ApplicationXMsaccess;
-                case MimeType.ApplicationXMsApplication: return ApplicationXMsApplication;
-                case MimeType.ApplicationXMsbinder: return ApplicationXMsbinder;
-                case MimeType.ApplicationXMscardfile: return ApplicationXMscardfile;
-                case MimeType.ApplicationXMsclip: return ApplicationXMsclip;
-                case MimeType.ApplicationXMsdownload: return ApplicationXMsdownload;
-                case MimeType.ApplicationXMsmediaview: return ApplicationXMsmediaview;
-                case MimeType.ApplicationXMsmetafile: return ApplicationXMsmetafile;
-                case MimeType.ApplicationXMsmoney: return ApplicationXMsmoney;
-                case MimeType.ApplicationXMspublisher: return ApplicationXMspublisher;
-                case MimeType.ApplicationXMsschedule: return ApplicationXMsschedule;
-                case MimeType.ApplicationXMsterminal: return ApplicationXMsterminal;
-                case MimeType.ApplicationXMsWmd: return ApplicationXMsWmd;
-                case MimeType.ApplicationXMsWmz: return ApplicationXMsWmz;
-                case MimeType.ApplicationXMswrite: return ApplicationXMswrite;
-                case MimeType.ApplicationXMsXbap: return ApplicationXMsXbap;
-                case MimeType.ApplicationXNetcdf: return ApplicationXNetcdf;
-                case MimeType.ApplicationXopXml: return ApplicationXopXml;
-                case MimeType.ApplicationXPkcs12: return ApplicationXPkcs12;
-                case MimeType.ApplicationXPkcs7Certificates: return ApplicationXPkcs7Certificates;
-                case MimeType.ApplicationXPkcs7Certreqresp: return ApplicationXPkcs7Certreqresp;
-                case MimeType.ApplicationXPythonCode: return ApplicationXPythonCode;
-                case MimeType.ApplicationXRarCompressed: return ApplicationXRarCompressed;
-                case MimeType.ApplicationXRpm: return ApplicationXRpm;
-                case MimeType.ApplicationXSh: return ApplicationXSh;
-                case MimeType.ApplicationXShar: return ApplicationXShar;
-                case MimeType.ApplicationXShockwaveFlash: return ApplicationXShockwaveFlash;
-                case MimeType.ApplicationXSilverlightApp: return ApplicationXSilverlightApp;
-                case MimeType.ApplicationXsltXml: return ApplicationXsltXml;
-                case MimeType.ApplicationXspfXml: return ApplicationXspfXml;
-                case MimeType.ApplicationXStuffit: return ApplicationXStuffit;
-                case MimeType.ApplicationXStuffitx: return ApplicationXStuffitx;
-                case MimeType.ApplicationXSv4cpio: return ApplicationXSv4cpio;
-                case MimeType.ApplicationXSv4crc: return ApplicationXSv4crc;
-                case MimeType.ApplicationXTar: return ApplicationXTar;
-                case MimeType.ApplicationXTcl: return ApplicationXTcl;
-                case MimeType.ApplicationXTex: return ApplicationXTex;
-                case MimeType.ApplicationXTexinfo: return ApplicationXTexinfo;
-                case MimeType.ApplicationXTexTfm: return ApplicationXTexTfm;
-                case MimeType.ApplicationXUstar: return ApplicationXUstar;
-                case MimeType.ApplicationXvXml: return ApplicationXvXml;
-                case MimeType.ApplicationXWaisSource: return ApplicationXWaisSource;
-                case MimeType.ApplicationXX509CaCert: return ApplicationXX509CaCert;
-                case MimeType.ApplicationXXfig: return ApplicationXXfig;
-                case MimeType.ApplicationXXpinstall: return ApplicationXXpinstall;
-                case MimeType.ApplicationZip: return ApplicationZip;
-                case MimeType.AudioAdpcm: return AudioAdpcm;
-                case MimeType.AudioBasic: return AudioBasic;
-                case MimeType.AudioMidi: return AudioMidi;
-                case MimeType.AudioMp4: return AudioMp4;
-                case MimeType.AudioMpeg: return AudioMpeg;
-                case MimeType.AudioOgg: return AudioOgg;
-                case MimeType.AudioVndDigitalWinds: return AudioVndDigitalWinds;
-                case MimeType.AudioVndDts: return AudioVndDts;
-                case MimeType.AudioVndDtsHd: return AudioVndDtsHd;
-                case MimeType.AudioVndLucentVoice: return AudioVndLucentVoice;
-                case MimeType.AudioVndMsPlayreadyMediaPya: return AudioVndMsPlayreadyMediaPya;
-                case MimeType.AudioVndNueraEcelp4800: return AudioVndNueraEcelp4800;
-                case MimeType.AudioVndNueraEcelp7470: return AudioVndNueraEcelp7470;
-                case MimeType.AudioVndNueraEcelp9600: return AudioVndNueraEcelp9600;
-                case MimeType.AudioXAac: return AudioXAac;
-                case MimeType.AudioXAiff: return AudioXAiff;
-                case MimeType.AudioXMpegurl: return AudioXMpegurl;
-                case MimeType.AudioXMsWax: return AudioXMsWax;
-                case MimeType.AudioXMsWma: return AudioXMsWma;
-                case MimeType.AudioXPnRealaudio: return AudioXPnRealaudio;
-                case MimeType.AudioXPnRealaudioPlugin: return AudioXPnRealaudioPlugin;
-                case MimeType.AudioXWav: return AudioXWav;
-                case MimeType.ChemicalXCdx: return ChemicalXCdx;
-                case MimeType.ChemicalXCif: return ChemicalXCif;
-                case MimeType.ChemicalXCmdf: return ChemicalXCmdf;
-                case MimeType.ChemicalXCml: return ChemicalXCml;
-                case MimeType.ChemicalXCsml: return ChemicalXCsml;
-                case MimeType.ChemicalXXyz: return ChemicalXXyz;
-                case MimeType.FontWoff2: return FontWoff2;
-                case MimeType.ImageBmp: return ImageBmp;
-                case MimeType.ImageCgm: return ImageCgm;
-                case MimeType.ImageG3fax: return ImageG3fax;
-                case MimeType.ImageGif: return ImageGif;
-                case MimeType.ImageIef: return ImageIef;
-                case MimeType.ImageJpeg: return ImageJpeg;
-                case MimeType.ImagePng: return ImagePng;
-                case MimeType.ImagePrsBtif: return ImagePrsBtif;
-                case MimeType.ImageSvgXml: return ImageSvgXml;
-                case MimeType.ImageTiff: return ImageTiff;
-                case MimeType.ImageVndAdobePhotoshop: return ImageVndAdobePhotoshop;
-                case MimeType.ImageVndDjvu: return ImageVndDjvu;
-                case MimeType.ImageVndDwg: return ImageVndDwg;
-                case MimeType.ImageVndDxf: return ImageVndDxf;
-                case MimeType.ImageVndFastbidsheet: return ImageVndFastbidsheet;
-                case MimeType.ImageVndFpx: return ImageVndFpx;
-                case MimeType.ImageVndFst: return ImageVndFst;
-                case MimeType.ImageVndFujixeroxEdmicsMmr: return ImageVndFujixeroxEdmicsMmr;
-                case MimeType.ImageVndFujixeroxEdmicsRlc: return ImageVndFujixeroxEdmicsRlc;
-                case MimeType.ImageVndMsModi: return ImageVndMsModi;
-                case MimeType.ImageVndNetFpx: return ImageVndNetFpx;
-                case MimeType.ImageVndWapWbmp: return ImageVndWapWbmp;
-                case MimeType.ImageVndXiff: return ImageVndXiff;
-                case MimeType.ImageXCmuRaster: return ImageXCmuRaster;
-                case MimeType.ImageXCmx: return ImageXCmx;
-                case MimeType.ImageXFreehand: return ImageXFreehand;
-                case MimeType.ImageXIcon: return ImageXIcon;
-                case MimeType.ImageXPcx: return ImageXPcx;
-                case MimeType.ImageXPict: return ImageXPict;
-                case MimeType.ImageXPortableAnymap: return ImageXPortableAnymap;
-                case MimeType.ImageXPortableBitmap: return ImageXPortableBitmap;
-                case MimeType.ImageXPortableGraymap: return ImageXPortableGraymap;
-                case MimeType.ImageXPortablePixmap: return ImageXPortablePixmap;
-                case MimeType.ImageXRgb: return ImageXRgb;
-                case MimeType.ImageXXbitmap: return ImageXXbitmap;
-                case MimeType.ImageXXpixmap: return ImageXXpixmap;
-                case MimeType.ImageXXwindowdump: return ImageXXwindowdump;
-                case MimeType.MessageRfc822: return MessageRfc822;
-                case MimeType.ModelIges: return ModelIges;
-                case MimeType.ModelMesh: return ModelMesh;
-                case MimeType.ModelVndDwf: return ModelVndDwf;
-                case MimeType.ModelVndGdl: return ModelVndGdl;
-                case MimeType.ModelVndGtw: return ModelVndGtw;
-                case MimeType.ModelVndMts: return ModelVndMts;
-                case MimeType.ModelVndVtu: return ModelVndVtu;
-                case MimeType.ModelVrml: return ModelVrml;
-                case MimeType.TextCalendar: return TextCalendar;
-                case MimeType.TextCss: return TextCss;
-                case MimeType.TextCsv: return TextCsv;
-                case MimeType.TextHtml: return TextHtml;
-                case MimeType.TextPlain: return TextPlain;
-                case MimeType.TextPrsLinesTag: return TextPrsLinesTag;
-                case MimeType.TextRichtext: return TextRichtext;
-                case MimeType.TextSgml: return TextSgml;
-                case MimeType.TextTabSeparatedValues: return TextTabSeparatedValues;
-                case MimeType.TextTroff: return TextTroff;
-                case MimeType.TextUriList: return TextUriList;
-                case MimeType.TextVndCurl: return TextVndCurl;
-                case MimeType.TextVndCurlDcurl: return TextVndCurlDcurl;
-                case MimeType.TextVndCurlMcurl: return TextVndCurlMcurl;
-                case MimeType.TextVndCurlScurl: return TextVndCurlScurl;
-                case MimeType.TextVndFly: return TextVndFly;
-                case MimeType.TextVndFmiFlexstor: return TextVndFmiFlexstor;
-                case MimeType.TextVndGraphviz: return TextVndGraphviz;
-                case MimeType.TextVndIn3d3dml: return TextVndIn3d3dml;
-                case MimeType.TextVndIn3dSpot: return TextVndIn3dSpot;
-                case MimeType.TextVndSunJ2meAppDescriptor: return TextVndSunJ2meAppDescriptor;
-                case MimeType.TextVndWapSi: return TextVndWapSi;
-                case MimeType.TextVndWapSl: return TextVndWapSl;
-                case MimeType.TextVndWapWml: return TextVndWapWml;
-                case MimeType.TextVndWapWmlscript: return TextVndWapWmlscript;
-                case MimeType.TextXAsm: return TextXAsm;
-                case MimeType.TextXC: return TextXC;
-                case MimeType.TextXFortran: return TextXFortran;
-                case MimeType.TextXJavaSource: return TextXJavaSource;
-                case MimeType.TextXPascal: return TextXPascal;
-                case MimeType.TextXPython: return TextXPython;
-                case MimeType.TextXSetext: return TextXSetext;
-                case MimeType.TextXUuencode: return TextXUuencode;
-                case MimeType.TextXVcalendar: return TextXVcalendar;
-                case MimeType.TextXVcard: return TextXVcard;
-                case MimeType.Video3gpp: return Video3gpp;
-                case MimeType.Video3gpp2: return Video3gpp2;
-                case MimeType.VideoH261: return VideoH261;
-                case MimeType.VideoH263: return VideoH263;
-                case MimeType.VideoH264: return VideoH264;
-                case MimeType.VideoJpeg: return VideoJpeg;
-                case MimeType.VideoJpm: return VideoJpm;
-                case MimeType.VideoMj2: return VideoMj2;
-                case MimeType.VideoMp4: return VideoMp4;
-                case MimeType.VideoMpeg: return VideoMpeg;
-                case MimeType.VideoOgg: return VideoOgg;
-                case MimeType.VideoQuicktime: return VideoQuicktime;
-                case MimeType.VideoVndFvt: return VideoVndFvt;
-                case MimeType.VideoVndMpegurl: return VideoVndMpegurl;
-                case MimeType.VideoVndMsPlayreadyMediaPyv: return VideoVndMsPlayreadyMediaPyv;
-                case MimeType.VideoVndVivo: return VideoVndVivo;
-                case MimeType.VideoXF4v: return VideoXF4v;
-                case MimeType.VideoXFli: return VideoXFli;
-                case MimeType.VideoXFlv: return VideoXFlv;
-                case MimeType.VideoXM4v: return VideoXM4v;
-                case MimeType.VideoXMsAsf: return VideoXMsAsf;
-                case MimeType.VideoXMsvideo: return VideoXMsvideo;
-                case MimeType.VideoXMsWm: return VideoXMsWm;
-                case MimeType.VideoXMsWmv: return VideoXMsWmv;
-                case MimeType.VideoXMsWmx: return VideoXMsWmx;
-                case MimeType.VideoXMsWvx: return VideoXMsWvx;
-                case MimeType.VideoXSgiMovie: return VideoXSgiMovie;
-                case MimeType.XConferenceXCooltalk: return XConferenceXCooltalk;
-                default: return null;
-            }
-        }
-
         public static string GetMimeTypeFromExtension(this string extension)
         {
             if (extension.Equals(".123", StringComparison.OrdinalIgnoreCase)) return ApplicationVndLotus123;


All RepositoryCacheTests pass. However, I've been compelled to "hack" some of the tests because two different DirectoryInfo pointing to the same path are not considered equal.

--- Tests/RepositoryCacheTest.cs
+++ Tests/RepositoryCacheTest.cs
@@ -54,7 +54,9 @@
             Assert.AreEqual(other, RepositoryCache.FileKey.exact(other).getFile());

             Assert.AreEqual(gitdir, RepositoryCache.FileKey.lenient(gitdir).getFile());
-            Assert.AreEqual(gitdir, RepositoryCache.FileKey.lenient(parent).getFile());
+
+            // Test was "fixed" because DirectoryInfo.Equals() compares two different references
+            Assert.AreEqual(gitdir.FullName, RepositoryCache.FileKey.lenient(parent).getFile().FullName);
             Assert.AreEqual(other, RepositoryCache.FileKey.lenient(other).getFile());
         }

@@ -71,7 +73,9 @@
             Assert.AreEqual(gitdir, RepositoryCache.FileKey.exact(gitdir).getFile());

             Assert.AreEqual(gitdir, RepositoryCache.FileKey.lenient(gitdir).getFile());
-            Assert.AreEqual(gitdir, RepositoryCache.FileKey.lenient(new DirectoryInfo(Path.Combine(parent.FullName, name))).getFile());
+
+            // Test was "fixed" because DirectoryInfo.Equals() compares two different references
+            Assert.AreEqual(gitdir.FullName, RepositoryCache.FileKey.lenient(new DirectoryInfo(Path.Combine(parent.FullName, name))).getFile().FullName);
         }

         [Test]


File header fix

File header fix

--- src/Elmah/Elnumerable.cs
+++ src/Elmah/Elnumerable.cs
@@ -5,7 +5,7 @@
 //
 //  Author(s):
 //
-//      James Driscoll, mailto:jamesdriscoll@btinternet.com
+//      Atif Aziz, http://www.raboof.com
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.


Fix Health from Explosives

Fix Health from Explosives

--- Iris/Classes/Explosion.cs
+++ Iris/Classes/Explosion.cs
@@ -34,7 +34,7 @@

                 foreach (Actor a in MainGame.dm.Players)
                 {
-                    if (a is ClientPlayer)
+                    if (a is ClientPlayer && a.Alive)
                     {
                         float angleBetween = Helper.angleBetween(this.Pos, a.Core);
                         if (Helper.Distance(a.Core, this.Pos) < 130)


exit after correct answer

exit after correct answer

--- src/LambdaFunction/Function.cs
+++ src/LambdaFunction/Function.cs
@@ -86,6 +86,7 @@
                         } else
                         {
                             (innerResponse as PlainTextOutputSpeech).Text = $"Yes! {answer} is correct!";
+                            response.Response.ShouldEndSession = true;
                         }

                         break;
@@ -104,7 +105,7 @@
             {
                 response.SessionAttributes = new System.Collections.Generic.Dictionary<string, object>();
             }
-            response.SessionAttributes.Add("foo", count++);
+            //response.SessionAttributes.Add("foo", count++);

             log.LogLine($"Skill Response Object...");
             log.LogLine(JsonConvert.SerializeObject(response));


Reduce number of indirect variables allocated during translation

--- JSIL/ILBlockTranslator.cs
+++ JSIL/ILBlockTranslator.cs
@@ -28,6 +28,7 @@
         internal readonly DynamicCallSiteInfoCollection DynamicCallSites = new DynamicCallSiteInfoCollection();

         protected readonly Dictionary<ILVariable, JSVariable> RenamedVariables = new Dictionary<ILVariable, JSVariable>();
+        private readonly Dictionary<string, JSIndirectVariable> IndirectVariables = new Dictionary<string, JSIndirectVariable>();

         public readonly SpecialIdentifiers SpecialIdentifiers;

@@ -475,6 +476,15 @@
                 return jsr;

             return newExpression;
+        }
+
+        private JSIndirectVariable MakeIndirectVariable (string name) {
+            JSIndirectVariable result;
+
+            if (!IndirectVariables.TryGetValue(name, out result))
+                IndirectVariables.Add(name, result = new JSIndirectVariable(Variables, name, ThisMethodReference));
+
+            return result;
         }

         protected JSExpression DoMethodReplacement (
@@ -629,7 +639,7 @@
                 }

                 case "System.Object JSIL.Builtins::get_This()":
-                    return new JSIndirectVariable(Variables, "this", ThisMethodReference);
+                    return MakeIndirectVariable("this");

                 case "System.Boolean JSIL.Builtins::get_IsJavascript()":
                     return new JSBooleanLiteral(true);
@@ -1846,15 +1856,15 @@
             bool isThis = (variable.OriginalParameter != null) && (variable.OriginalParameter.Index < 0);

             if (RenamedVariables.TryGetValue(variable, out renamed)) {
-                return new JSIndirectVariable(Variables, renamed.Identifier, ThisMethodReference);
+                return MakeIndirectVariable(renamed.Identifier);
             } else if (
                 !isThis &&
                 Variables.TryGetValue(escapedName, out theVariable)
             ) {
                 // Handle cases where the variable's identifier must be escaped (like @this)
-                return new JSIndirectVariable(Variables, theVariable.Name, ThisMethodReference);
+                return MakeIndirectVariable(theVariable.Name);
             } else {
-                return new JSIndirectVariable(Variables, variable.Name, ThisMethodReference);
+                return MakeIndirectVariable(variable.Name);
             }
         }


add alignment options, nudging to element list widget

--- UIElements/HUDElementList.cs
+++ UIElements/HUDElementList.cs
@@ -17,8 +17,12 @@
         }
         public ListDirection Direction { get; set; }

+        // HorzAligin only has effect when using Vertical direction, and vice-versa
+        public HorizontalAlignment HorzAlign { get; set; }
+        public VerticalAlignment VertAlign { get; set; }

         List<SceneUIElement> ListItems = new List<SceneUIElement>();
+        List<Vector3f> ItemNudge = new List<Vector3f>();

         bool is_layout_valid;

@@ -28,12 +32,18 @@
             Height = 100;
             Spacing = 10;
             Direction = ListDirection.Vertical;
+            HorzAlign = HorizontalAlignment.Left;
+            VertAlign = VerticalAlignment.Top;
+
             is_layout_valid = false;
         }

-
         public virtual void AddListItem(SceneUIElement element)
+        {
+            AddListItem(element, Vector3f.Zero);
+        }
+        public virtual void AddListItem(SceneUIElement element, Vector3f nudge)
         {
             if ( RootGameObject != null )
                 throw new Exception("HUDElementList.AddElement: currently cannot add elements after calling Create");
@@ -41,6 +51,7 @@
                 throw new Exception("HUDElementList.AddElement: cannot add element " + element.RootGameObject.name + ", does not implement IBoxModelElement!");

             ListItems.Add(element);
+            ItemNudge.Add(nudge);
             is_layout_valid = false;
         }

@@ -89,6 +100,26 @@
             Vector2f topLeft = BoxModel.GetBoxPosition(contentBounds, BoxPosition.TopLeft);
             Vector2f insertPos = topLeft;

+            BoxPosition sourcePos = BoxPosition.TopLeft;
+            if (Direction == ListDirection.Horizontal) {
+                if (VertAlign == VerticalAlignment.Center) {
+                    sourcePos = BoxPosition.CenterLeft;
+                    insertPos = BoxModel.GetBoxPosition(contentBounds, BoxPosition.CenterLeft);
+                } else if (VertAlign == VerticalAlignment.Bottom) {
+                    sourcePos = BoxPosition.BottomLeft;
+                    insertPos = BoxModel.GetBoxPosition(contentBounds, BoxPosition.BottomLeft);
+                }
+            } else {
+                if (HorzAlign == HorizontalAlignment.Center) {
+                    sourcePos = BoxPosition.CenterTop;
+                    insertPos = BoxModel.GetBoxPosition(contentBounds, BoxPosition.CenterTop);
+                } else if (HorzAlign == HorizontalAlignment.Right) {
+                    sourcePos = BoxPosition.TopRight;
+                    insertPos = BoxModel.GetBoxPosition(contentBounds, BoxPosition.TopRight);
+                }
+            }
+
+
             int N = ListItems.Count;
             for ( int i = 0; i < N; ++i ) {
                 IBoxModelElement boxelem = ListItems[i] as IBoxModelElement;
@@ -97,7 +128,8 @@
                     continue;
                 }

-                BoxModel.SetObjectPosition(boxelem, BoxPosition.TopLeft, insertPos);
+                Vector2f usePos = insertPos + ItemNudge[i].xy;
+                BoxModel.SetObjectPosition(boxelem, sourcePos, usePos, ItemNudge[i].z);

                 if ( Direction == ListDirection.Vertical )
                     insertPos.y -= boxelem.Size2D.y + Spacing;


few fine form size adjustments

few fine form size adjustments

--- UdpTool/MainForm.Designer.cs
+++ UdpTool/MainForm.Designer.cs
@@ -71,15 +71,15 @@
             this.panel1.Controls.Add(this.sendButton);
             this.panel1.Controls.Add(this.destinationPort);
             this.panel1.Controls.Add(this.destinationIPAddress);
-            this.panel1.Location = new System.Drawing.Point(399, 1);
+            this.panel1.Location = new System.Drawing.Point(391, 1);
             this.panel1.Name = "panel1";
-            this.panel1.Size = new System.Drawing.Size(393, 429);
+            this.panel1.Size = new System.Drawing.Size(390, 435);
             this.panel1.TabIndex = 0;
             //
             // inputInHex
             //
             this.inputInHex.AutoSize = true;
-            this.inputInHex.Location = new System.Drawing.Point(10, 380);
+            this.inputInHex.Location = new System.Drawing.Point(8, 380);
             this.inputInHex.Name = "inputInHex";
             this.inputInHex.Size = new System.Drawing.Size(347, 17);
             this.inputInHex.TabIndex = 13;
@@ -89,7 +89,7 @@
             // label3
             //
             this.label3.AutoSize = true;
-            this.label3.Location = new System.Drawing.Point(7, 71);
+            this.label3.Location = new System.Drawing.Point(5, 71);
             this.label3.Name = "label3";
             this.label3.Size = new System.Drawing.Size(105, 13);
             this.label3.TabIndex = 8;
@@ -98,18 +98,20 @@
             // label2
             //
             this.label2.AutoSize = true;
-            this.label2.Location = new System.Drawing.Point(144, 12);
+            this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label2.Location = new System.Drawing.Point(164, 12);
             this.label2.Name = "label2";
-            this.label2.Size = new System.Drawing.Size(82, 13);
+            this.label2.Size = new System.Drawing.Size(98, 13);
             this.label2.TabIndex = 7;
             this.label2.Text = "Destination Port";
             //
             // label1
             //
             this.label1.AutoSize = true;
-            this.label1.Location = new System.Drawing.Point(7, 12);
+            this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+            this.label1.Location = new System.Drawing.Point(5, 12);
             this.label1.Name = "label1";
-            this.label1.Size = new System.Drawing.Size(114, 13);
+            this.label1.Size = new System.Drawing.Size(136, 13);
             this.label1.TabIndex = 6;
             this.label1.Text = "Destination IP Address";
             //
@@ -118,7 +120,7 @@
             this.groupBox1.Controls.Add(this.endOfLineUnix);
             this.groupBox1.Controls.Add(this.endOfLineDos);
             this.groupBox1.Controls.Add(this.endOfLineMac);
-            this.groupBox1.Location = new System.Drawing.Point(10, 329);
+            this.groupBox1.Location = new System.Drawing.Point(8, 329);
             this.groupBox1.Name = "groupBox1";
             this.groupBox1.Size = new System.Drawing.Size(254, 45);
             this.groupBox1.TabIndex = 9;
@@ -160,7 +162,7 @@
             // inputText
             //
             this.inputText.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.inputText.Location = new System.Drawing.Point(10, 87);
+            this.inputText.Location = new System.Drawing.Point(8, 87);
             this.inputText.MaxLength = 1000000;
             this.inputText.Multiline = true;
             this.inputText.Name = "inputText";
@@ -180,21 +182,21 @@
             //
             // destinationPort
             //
-            this.destinationPort.Location = new System.Drawing.Point(147, 29);
+            this.destinationPort.Location = new System.Drawing.Point(167, 29);
             this.destinationPort.Name = "destinationPort";
-            this.destinationPort.Size = new System.Drawing.Size(82, 20);
+            this.destinationPort.Size = new System.Drawing.Size(95, 20);
             this.destinationPort.TabIndex = 7;
             //
             // destinationIPAddress
             //
-            this.destinationIPAddress.Location = new System.Drawing.Point(10, 29);
+            this.destinationIPAddress.Location = new System.Drawing.Point(8, 29);
             this.destinationIPAddress.Name = "destinationIPAddress";
-            this.destinationIPAddress.Size = new System.Drawing.Size(120, 20);
+            this.destinationIPAddress.Size = new System.Drawing.Size(133, 20);
             this.destinationIPAddress.TabIndex = 6;
             //
             // bind
             //
-            this.bind.Location = new System.Drawing.Point(242, 26);
+            this.bind.Location = new System.Drawing.Point(239, 26);
             this.bind.Name = "bind";
             this.bind.Size = new System.Drawing.Size(75, 23);
             this.bind.TabIndex = 2;
@@ -205,24 +207,24 @@
             // label5
             //
             this.label5.AutoSize = true;
-            this.label5.Location = new System.Drawing.Point(145, 12);
+            this.label5.Location = new System.Drawing.Point(142, 12);
             this.label5.Name = "label5";
-            this.label5.Size = new System.Drawing.Size(72, 13);
+            this.label5.Size = new System.Drawing.Size(26, 13);
             this.label5.TabIndex = 8;
-            this.label5.Text = "Port (optional)";
+            this.label5.Text = "Port";
             //
             // label4
             //
             this.label4.AutoSize = true;
-            this.label4.Location = new System.Drawing.Point(7, 12);
+            this.label4.Location = new System.Drawing.Point(4, 12);
             this.label4.Name = "label4";
-            this.label4.Size = new System.Drawing.Size(95, 13);
+            this.label4.Size = new System.Drawing.Size(49, 13);
             this.label4.TabIndex = 7;
-            this.label4.Text = "Interface (optional)";
+            this.label4.Text = "Interface";
             //
             // sourcePort
             //
-            this.sourcePort.Location = new System.Drawing.Point(148, 28);
+            this.sourcePort.Location = new System.Drawing.Point(145, 28);
             this.sourcePort.Name = "sourcePort";
             this.sourcePort.Size = new System.Drawing.Size(82, 20);
             this.sourcePort.TabIndex = 1;
@@ -230,7 +232,7 @@
             // sourceIPAddress
             //
             this.sourceIPAddress.FormattingEnabled = true;
-            this.sourceIPAddress.Location = new System.Drawing.Point(10, 28);
+            this.sourceIPAddress.Location = new System.Drawing.Point(7, 28);
             this.sourceIPAddress.Name = "sourceIPAddress";
             this.sourceIPAddress.Size = new System.Drawing.Size(119, 21);
             this.sourceIPAddress.TabIndex = 0;
@@ -248,13 +250,13 @@
             this.panel2.Controls.Add(this.sourcePort);
             this.panel2.Location = new System.Drawing.Point(0, 1);
             this.panel2.Name = "panel2";
-            this.panel2.Size = new System.Drawing.Size(393, 429);
+            this.panel2.Size = new System.Drawing.Size(390, 435);
             this.panel2.TabIndex = 1;
             //
             // label6
             //
             this.label6.AutoSize = true;
-            this.label6.Location = new System.Drawing.Point(7, 71);
+            this.label6.Location = new System.Drawing.Point(4, 71);
             this.label6.Name = "label6";
             this.label6.Size = new System.Drawing.Size(352, 13);
             this.label6.TabIndex = 9;
@@ -263,7 +265,7 @@
             // viewInHex
             //
             this.viewInHex.AutoSize = true;
-            this.viewInHex.Location = new System.Drawing.Point(10, 403);
+            this.viewInHex.Location = new System.Drawing.Point(7, 406);
             this.viewInHex.Name = "viewInHex";
             this.viewInHex.Size = new System.Drawing.Size(153, 17);
             this.viewInHex.TabIndex = 4;
@@ -272,7 +274,7 @@
             //
             // clearButton
             //
-            this.clearButton.Location = new System.Drawing.Point(315, 403);
+            this.clearButton.Location = new System.Drawing.Point(312, 403);
             this.clearButton.Name = "clearButton";
             this.clearButton.Size = new System.Drawing.Size(75, 23);
             this.clearButton.TabIndex = 5;
@@ -283,7 +285,7 @@
             // outputText
             //
             this.outputText.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.outputText.Location = new System.Drawing.Point(10, 87);
+            this.outputText.Location = new System.Drawing.Point(6, 87);
             this.outputText.MaxLength = 1000000;
             this.outputText.Multiline = true;
             this.outputText.Name = "outputText";
@@ -296,9 +298,9 @@
             //
             this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
             this.status});
-            this.statusStrip1.Location = new System.Drawing.Point(0, 431);
+            this.statusStrip1.Location = new System.Drawing.Point(0, 439);
             this.statusStrip1.Name = "statusStrip1";
-            this.statusStrip1.Size = new System.Drawing.Size(796, 22);
+            this.statusStrip1.Size = new System.Drawing.Size(784, 22);
             this.statusStrip1.TabIndex = 2;
             this.statusStrip1.Text = "statusStrip1";
             //
@@ -311,7 +313,7 @@
             //
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.ClientSize = new System.Drawing.Size(796, 453);
+            this.ClientSize = new System.Drawing.Size(784, 461);
             this.Controls.Add(this.statusStrip1);
             this.Controls.Add(this.panel2);
             this.Controls.Add(this.panel1);


Fix weird loop logic

Fix weird loop logic

--- osu.Game.Tests/Visual/SongSelect/TestScenePlaySongSelect.cs
+++ osu.Game.Tests/Visual/SongSelect/TestScenePlaySongSelect.cs
@@ -883,7 +883,7 @@
             {
                 var usableRulesets = rulesets.AvailableRulesets.Where(r => r.OnlineID != 2).ToArray();

-                for (int i = 0; i < 100; i += 10)
+                for (int i = 0; i < 10; i++)
                     manager.Import(TestResources.CreateTestBeatmapSetInfo(rulesets: usableRulesets)).Wait();
             });
         }


Re-add name cache with top priority (helps find e.g. U+1F525 'FIRE')

--- Unicodex/FilterController.cs
+++ Unicodex/FilterController.cs
@@ -102,6 +102,7 @@
         public SearchController(MainWindow window) : base(window, window.SearchResults, window.SearchTextBox)
         {
             Filter = new Filter<Model.Character>(new Cache<Model.Character>[] {
+                new NameCache<Model.Character>(),
                 new FavoritesCache(((App)Application.Current).Favorites),
                 new AllWordsCache<Model.Character>(),
                 new TagsCache(((App)Application.Current).TagGroups),


Bind MultiplayerGameplayLeaderboard to player updates later in load process

--- osu.Game/Screens/Play/HUD/MultiplayerGameplayLeaderboard.cs
+++ osu.Game/Screens/Play/HUD/MultiplayerGameplayLeaderboard.cs
@@ -53,8 +53,6 @@
         [BackgroundDependencyLoader]
         private void load(OsuConfigManager config, IAPIProvider api)
         {
-            streamingClient.OnNewFrames += handleIncomingFrames;
-
             foreach (var userId in playingUsers)
             {
                 streamingClient.WatchUser(userId);
@@ -90,6 +88,9 @@

             playingUsers.BindTo(multiplayerClient.CurrentMatchPlayingUserIds);
             playingUsers.BindCollectionChanged(usersChanged);
+
+            // this leaderboard should be guaranteed to be completely loaded before the gameplay starts (is a prerequisite in MultiplayerPlayer).
+            streamingClient.OnNewFrames += handleIncomingFrames;
         }

         private void usersChanged(object sender, NotifyCollectionChangedEventArgs e)


Added a cast (only required for a short time)

--- UnitTests/Html/Quirksmode.cs
+++ UnitTests/Html/Quirksmode.cs
@@ -1,6 +1,7 @@
 using Microsoft.VisualStudio.TestTools.UnitTesting;
 using AngleSharp.DOM.Html;
 using AngleSharp;
+using AngleSharp.DOM;

 namespace UnitTests
 {
@@ -39,7 +40,7 @@
                 testEl.RemoveChild(testEl.ChildNodes[i]);

             Assert.AreEqual(0, testEl.Children.Length);
-            testEl.AppendChild(test);
+            testEl.AppendChild(test as TextNode);
             Assert.AreEqual(text, testEl.InnerHTML);
             Assert.AreEqual(document, test.OwnerDocument);
         }


Disambiguate the query text by type in the query cache

--- Utilitron/Data/Repository.cs
+++ Utilitron/Data/Repository.cs
@@ -130,14 +130,14 @@
             if (queryName == null)
                 throw new ArgumentNullException(nameof(queryName));

-            return Queries.GetOrAdd(queryName, GetQueryInternal);
+            var type = GetType();
+            var fullName = $"{type.FullName}.{queryName}";
+
+            return Queries.GetOrAdd(fullName, x => GetQueryInternal(queryName, type));
         }

-        private string GetQueryInternal(string queryName)
+        private static string GetQueryInternal(string queryName, Type type)
         {
-            // Get the current type
-            var type = GetType();
-
             // Get the query
             var query = QueryUtilities.GetEmbeddedQuery(queryName, type);