System.CodeDom.Tests.CodeGenerationTests.Roundtrip_Extension C# (CSharp) Méthode

Roundtrip_Extension() private méthode

private Roundtrip_Extension ( ) : void
Résultat void
        public void Roundtrip_Extension()
        {
            CodeDomProvider provider = GetProvider();
            string ext = provider.FileExtension;
            CodeDomProvider provider2 = CodeDomProvider.CreateProvider(CodeDomProvider.GetLanguageFromExtension(ext));
            Assert.Equal(provider.GetType(), provider2.GetType());
        }