AsmResolver.Tests.Net.SignatureComparerTests.MatchFunctionPointerTypeSignatures C# (CSharp) Method

MatchFunctionPointerTypeSignatures() private method

private MatchFunctionPointerTypeSignatures ( ) : void
return void
        public void MatchFunctionPointerTypeSignatures()
        {
            var expected = new FunctionPointerTypeSignature(
                new MethodSignature(new[] { new ParameterSignature(CreateTypeSig1()) }, CreateTypeSig2()));
            var match = new FunctionPointerTypeSignature(
                new MethodSignature(new[] { new ParameterSignature(CreateTypeSig1()) }, CreateTypeSig2()));
            var fail1 = new FunctionPointerTypeSignature(
                new MethodSignature(new[] { new ParameterSignature(CreateTypeSig2()) }, CreateTypeSig2()));

            VerifyMatching(expected, match, fail1);
        }