Exemple #1
0
        public void InstantiateFieldSignature()
        {
            var signature = new FieldSignature(new GenericParameterSignature(GenericParameterType.Type, 0));
            var context   = new GenericContext(GetProvider(_module.CorLibTypeFactory.String), null);

            var newSignature = signature.InstantiateGenericTypes(context);

            Assert.Equal(new FieldSignature(_module.CorLibTypeFactory.String), newSignature, Comparer);
        }