@@ -35,8 +35,8 @@ public static bool IsComObject(object value)
3535 /// <returns>True if operation was bound successfully; otherwise, false.</returns>
3636 public static bool TryBindGetMember ( GetMemberBinder binder , DynamicMetaObject instance , out DynamicMetaObject result , bool delayInvocation )
3737 {
38- Requires . NotNull ( binder , nameof ( binder ) ) ;
39- Requires . NotNull ( instance , nameof ( instance ) ) ;
38+ Requires . NotNull ( binder ) ;
39+ Requires . NotNull ( instance ) ;
4040
4141 if ( TryGetMetaObject ( ref instance ) )
4242 {
@@ -66,9 +66,9 @@ public static bool TryBindGetMember(GetMemberBinder binder, DynamicMetaObject in
6666 /// <returns>True if operation was bound successfully; otherwise, false.</returns>
6767 public static bool TryBindSetMember ( SetMemberBinder binder , DynamicMetaObject instance , DynamicMetaObject value , out DynamicMetaObject result )
6868 {
69- Requires . NotNull ( binder , nameof ( binder ) ) ;
70- Requires . NotNull ( instance , nameof ( instance ) ) ;
71- Requires . NotNull ( value , nameof ( value ) ) ;
69+ Requires . NotNull ( binder ) ;
70+ Requires . NotNull ( instance ) ;
71+ Requires . NotNull ( value ) ;
7272
7373 if ( TryGetMetaObject ( ref instance ) )
7474 {
@@ -91,9 +91,9 @@ public static bool TryBindSetMember(SetMemberBinder binder, DynamicMetaObject in
9191 /// <returns>True if operation was bound successfully; otherwise, false.</returns>
9292 public static bool TryBindInvoke ( InvokeBinder binder , DynamicMetaObject instance , DynamicMetaObject [ ] args , out DynamicMetaObject result )
9393 {
94- Requires . NotNull ( binder , nameof ( binder ) ) ;
95- Requires . NotNull ( instance , nameof ( instance ) ) ;
96- Requires . NotNull ( args , nameof ( args ) ) ;
94+ Requires . NotNull ( binder ) ;
95+ Requires . NotNull ( instance ) ;
96+ Requires . NotNull ( args ) ;
9797
9898 if ( TryGetMetaObjectInvoke ( ref instance ) )
9999 {
@@ -116,9 +116,9 @@ public static bool TryBindInvoke(InvokeBinder binder, DynamicMetaObject instance
116116 /// <returns>True if operation was bound successfully; otherwise, false.</returns>
117117 public static bool TryBindInvokeMember ( InvokeMemberBinder binder , bool isSetProperty , DynamicMetaObject instance , DynamicMetaObject [ ] args , out DynamicMetaObject result )
118118 {
119- Requires . NotNull ( binder , nameof ( binder ) ) ;
120- Requires . NotNull ( instance , nameof ( instance ) ) ;
121- Requires . NotNull ( args , nameof ( args ) ) ;
119+ Requires . NotNull ( binder ) ;
120+ Requires . NotNull ( instance ) ;
121+ Requires . NotNull ( args ) ;
122122
123123 if ( TryGetMetaObject ( ref instance ) )
124124 {
@@ -158,9 +158,9 @@ public static bool TryBindInvokeMember(InvokeMemberBinder binder, bool isSetProp
158158 /// <returns>True if operation was bound successfully; otherwise, false.</returns>
159159 public static bool TryBindGetIndex ( GetIndexBinder binder , DynamicMetaObject instance , DynamicMetaObject [ ] args , out DynamicMetaObject result )
160160 {
161- Requires . NotNull ( binder , nameof ( binder ) ) ;
162- Requires . NotNull ( instance , nameof ( instance ) ) ;
163- Requires . NotNull ( args , nameof ( args ) ) ;
161+ Requires . NotNull ( binder ) ;
162+ Requires . NotNull ( instance ) ;
163+ Requires . NotNull ( args ) ;
164164
165165 if ( TryGetMetaObjectInvoke ( ref instance ) )
166166 {
@@ -183,10 +183,10 @@ public static bool TryBindGetIndex(GetIndexBinder binder, DynamicMetaObject inst
183183 /// <returns>True if operation was bound successfully; otherwise, false.</returns>
184184 public static bool TryBindSetIndex ( SetIndexBinder binder , DynamicMetaObject instance , DynamicMetaObject [ ] args , DynamicMetaObject value , out DynamicMetaObject result )
185185 {
186- Requires . NotNull ( binder , nameof ( binder ) ) ;
187- Requires . NotNull ( instance , nameof ( instance ) ) ;
188- Requires . NotNull ( args , nameof ( args ) ) ;
189- Requires . NotNull ( value , nameof ( value ) ) ;
186+ Requires . NotNull ( binder ) ;
187+ Requires . NotNull ( instance ) ;
188+ Requires . NotNull ( args ) ;
189+ Requires . NotNull ( value ) ;
190190
191191 if ( TryGetMetaObjectInvoke ( ref instance ) )
192192 {
@@ -208,8 +208,8 @@ public static bool TryBindSetIndex(SetIndexBinder binder, DynamicMetaObject inst
208208 /// <returns>True if operation was bound successfully; otherwise, false.</returns>
209209 public static bool TryConvert ( ConvertBinder binder , DynamicMetaObject instance , out DynamicMetaObject result )
210210 {
211- Requires . NotNull ( binder , nameof ( binder ) ) ;
212- Requires . NotNull ( instance , nameof ( instance ) ) ;
211+ Requires . NotNull ( binder ) ;
212+ Requires . NotNull ( instance ) ;
213213
214214 if ( IsComObject ( instance . Value ) )
215215 {
@@ -245,7 +245,7 @@ public static bool TryConvert(ConvertBinder binder, DynamicMetaObject instance,
245245 /// <returns>The collection of member names.</returns>
246246 internal static IList < string > GetDynamicDataMemberNames ( object value )
247247 {
248- Requires . NotNull ( value , nameof ( value ) ) ;
248+ Requires . NotNull ( value ) ;
249249 Requires . Condition ( IsComObject ( value ) , nameof ( value ) ) ;
250250
251251 return ComObject . ObjectToComObject ( value ) . GetMemberNames ( true ) ;
@@ -260,7 +260,7 @@ internal static IList<string> GetDynamicDataMemberNames(object value)
260260 /// <returns>The collection of pairs that represent data member's names and their data.</returns>
261261 internal static IList < KeyValuePair < string , object > > GetDynamicDataMembers ( object value , IEnumerable < string > names )
262262 {
263- Requires . NotNull ( value , nameof ( value ) ) ;
263+ Requires . NotNull ( value ) ;
264264 Requires . Condition ( IsComObject ( value ) , nameof ( value ) ) ;
265265
266266 return ComObject . ObjectToComObject ( value ) . GetMembers ( names ) ;
0 commit comments