@@ -110,50 +110,56 @@ public void BindSignature_General()
110110 } ;
111111
112112 {
113- var sig1 = new BindSignature ( HostType . Wrap ( typeof ( string ) ) , "foo" , typeArgs1 , args1 ) ;
114- var sig2 = new BindSignature ( new HostVariable < string > ( null ) , "foo" , typeArgs1 , args1 ) ;
113+ var sig1 = new BindSignature ( typeof ( BindSignatureTest ) , HostType . Wrap ( typeof ( string ) ) , "foo" , typeArgs1 , args1 ) ;
114+ var sig2 = new BindSignature ( typeof ( ClearScriptTest ) , HostType . Wrap ( typeof ( string ) ) , "foo" , typeArgs1 , args1 ) ;
115115 AssertNotEqual ( sig1 , sig2 ) ;
116116 }
117117
118118 {
119- var sig1 = new BindSignature ( new HostVariable < string > ( null ) , "foo" , typeArgs1 , args1 ) ;
120- var sig2 = new BindSignature ( HostObject . Wrap ( "baz" ) , "foo" , typeArgs1 , args1 ) ;
119+ var sig1 = new BindSignature ( typeof ( BindSignatureTest ) , HostType . Wrap ( typeof ( string ) ) , "foo" , typeArgs1 , args1 ) ;
120+ var sig2 = new BindSignature ( typeof ( BindSignatureTest ) , new HostVariable < string > ( null ) , "foo" , typeArgs1 , args1 ) ;
121121 AssertNotEqual ( sig1 , sig2 ) ;
122122 }
123123
124124 {
125- var sig1 = new BindSignature ( HostType . Wrap ( typeof ( string ) ) , "foo" , typeArgs1 , args1 ) ;
126- var sig2 = new BindSignature ( HostObject . Wrap ( "baz" ) , "foo" , typeArgs1 , args1 ) ;
125+ var sig1 = new BindSignature ( typeof ( BindSignatureTest ) , new HostVariable < string > ( null ) , "foo" , typeArgs1 , args1 ) ;
126+ var sig2 = new BindSignature ( typeof ( BindSignatureTest ) , HostObject . Wrap ( "baz" ) , "foo" , typeArgs1 , args1 ) ;
127127 AssertNotEqual ( sig1 , sig2 ) ;
128128 }
129129
130130 {
131- var sig1 = new BindSignature ( new HostVariable < string > ( null ) , "foo" , typeArgs1 , args1 ) ;
132- var sig2 = new BindSignature ( new HostVariable < string > ( "baz" ) , "foo" , typeArgs1 , args1 ) ;
131+ var sig1 = new BindSignature ( typeof ( BindSignatureTest ) , HostType . Wrap ( typeof ( string ) ) , "foo" , typeArgs1 , args1 ) ;
132+ var sig2 = new BindSignature ( typeof ( BindSignatureTest ) , HostObject . Wrap ( "baz" ) , "foo" , typeArgs1 , args1 ) ;
133133 AssertNotEqual ( sig1 , sig2 ) ;
134134 }
135135
136136 {
137- var sig1 = new BindSignature ( new HostVariable < string > ( "baz" ) , "foo" , typeArgs1 , args1 ) ;
138- var sig2 = new BindSignature ( HostObject . Wrap ( "qux" ) , "foo" , typeArgs1 , args1 ) ;
137+ var sig1 = new BindSignature ( typeof ( BindSignatureTest ) , new HostVariable < string > ( null ) , "foo" , typeArgs1 , args1 ) ;
138+ var sig2 = new BindSignature ( typeof ( BindSignatureTest ) , new HostVariable < string > ( "baz" ) , "foo" , typeArgs1 , args1 ) ;
139+ AssertNotEqual ( sig1 , sig2 ) ;
140+ }
141+
142+ {
143+ var sig1 = new BindSignature ( typeof ( BindSignatureTest ) , new HostVariable < string > ( "baz" ) , "foo" , typeArgs1 , args1 ) ;
144+ var sig2 = new BindSignature ( typeof ( BindSignatureTest ) , HostObject . Wrap ( "qux" ) , "foo" , typeArgs1 , args1 ) ;
139145 AssertEqual ( sig1 , sig2 ) ;
140146 }
141147
142148 {
143- var sig1 = new BindSignature ( HostType . Wrap ( typeof ( string ) ) , "foo" , typeArgs1 , args1 ) ;
144- var sig2 = new BindSignature ( HostType . Wrap ( typeof ( string ) ) , "bar" , typeArgs1 , args1 ) ;
149+ var sig1 = new BindSignature ( typeof ( BindSignatureTest ) , HostType . Wrap ( typeof ( string ) ) , "foo" , typeArgs1 , args1 ) ;
150+ var sig2 = new BindSignature ( typeof ( BindSignatureTest ) , HostType . Wrap ( typeof ( string ) ) , "bar" , typeArgs1 , args1 ) ;
145151 AssertNotEqual ( sig1 , sig2 ) ;
146152 }
147153
148154 {
149- var sig1 = new BindSignature ( HostType . Wrap ( typeof ( string ) ) , "foo" , typeArgs1 , args1 ) ;
150- var sig2 = new BindSignature ( HostType . Wrap ( typeof ( string ) ) , "foo" , typeArgs2 , args1 ) ;
155+ var sig1 = new BindSignature ( typeof ( BindSignatureTest ) , HostType . Wrap ( typeof ( string ) ) , "foo" , typeArgs1 , args1 ) ;
156+ var sig2 = new BindSignature ( typeof ( BindSignatureTest ) , HostType . Wrap ( typeof ( string ) ) , "foo" , typeArgs2 , args1 ) ;
151157 AssertNotEqual ( sig1 , sig2 ) ;
152158 }
153159
154160 {
155- var sig1 = new BindSignature ( HostType . Wrap ( typeof ( string ) ) , "foo" , typeArgs1 , args1 ) ;
156- var sig2 = new BindSignature ( HostType . Wrap ( typeof ( string ) ) , "foo" , typeArgs1 , args2 ) ;
161+ var sig1 = new BindSignature ( typeof ( BindSignatureTest ) , HostType . Wrap ( typeof ( string ) ) , "foo" , typeArgs1 , args1 ) ;
162+ var sig2 = new BindSignature ( typeof ( BindSignatureTest ) , HostType . Wrap ( typeof ( string ) ) , "foo" , typeArgs1 , args2 ) ;
157163 AssertEqual ( sig1 , sig2 ) ;
158164 }
159165 }
0 commit comments