Ejemplo n.º 1
0
        public void Combine_should_qualify_member_with_type(SymbolType symbolType)
        {
            var actual = MetadataName.Combine(
                TypeName.Parse("String"),
                SymbolName.Parse("Length").ConvertTo(symbolType)
                );

            Assert.Equal(symbolType, actual.SymbolType);
            Assert.Equal("String.Length", actual.FullName);
        }