Home
last modified time | relevance | path

Searched refs:IsCompatibleObject (Results 1 – 25 of 28) sorted by relevance

12

/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/Microsoft.Web.Mvc.Test/Test/
H A DTypeHelpersTest.cs45 bool retVal = TypeHelpers.IsCompatibleObject(typeof(int), null); in IsCompatibleObjectReturnsTrueIfTypeIsNotNullableAndValueIsNull()
58 bool retVal = TypeHelpers.IsCompatibleObject(typeof(int), value); in IsCompatibleObjectReturnsFalseIfValueIsIncorrectType()
68 bool retVal = TypeHelpers.IsCompatibleObject(typeof(int?), null); in IsCompatibleObjectReturnsTrueIfTypeIsNullableAndValueIsNull()
81 bool retVal = TypeHelpers.IsCompatibleObject(typeof(IEnumerable<string>), value); in IsCompatibleObjectReturnsTrueIfValueIsOfCorrectType()
/dports/lang/mono/mono-5.10.1.57/external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/
H A DCollectionWrapper.cs164 if (IsCompatibleObject(value)) in IList.Contains()
175 if (IsCompatibleObject(value)) in IList.IndexOf()
212 if (IsCompatibleObject(value)) in IList.Remove()
258 if (!IsCompatibleObject(value)) in VerifyValueType()
262 private static bool IsCompatibleObject(object value) in IsCompatibleObject() method in Newtonsoft.Json.Utilities.CollectionWrapper
/dports/irc/smuxi/smuxi-1.1/lib/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/
H A DCollectionWrapper.cs164 if (IsCompatibleObject(value)) in IList.Contains()
175 if (IsCompatibleObject(value)) in IList.IndexOf()
212 if (IsCompatibleObject(value)) in IList.Remove()
258 if (!IsCompatibleObject(value)) in VerifyValueType()
262 private static bool IsCompatibleObject(object value) in IsCompatibleObject() method in Newtonsoft.Json.Utilities.CollectionWrapper
/dports/devel/newtonsoft-json/Newtonsoft.Json-9.0.1/Src/Newtonsoft.Json/Utilities/
H A DCollectionWrapper.cs201 if (IsCompatibleObject(value)) in IList.Contains()
216 if (IsCompatibleObject(value)) in IList.IndexOf()
263 if (IsCompatibleObject(value)) in IList.Remove()
317 if (!IsCompatibleObject(value)) in VerifyValueType()
323 private static bool IsCompatibleObject(object value) in IsCompatibleObject() method in Newtonsoft.Json.Utilities.CollectionWrapper
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Web.Mvc.Test/Test/
H A DTypeHelpersTest.cs166 bool retVal = TypeHelpers.IsCompatibleObject<int>(null); in IsCompatibleObjectReturnsTrueIfTypeIsNotNullableAndValueIsNull()
179 bool retVal = TypeHelpers.IsCompatibleObject<int>(value); in IsCompatibleObjectReturnsFalseIfValueIsIncorrectType()
189 bool retVal = TypeHelpers.IsCompatibleObject<int?>(null); in IsCompatibleObjectReturnsTrueIfTypeIsNullableAndValueIsNull()
202 bool retVal = TypeHelpers.IsCompatibleObject<IEnumerable<string>>(value); in IsCompatibleObjectReturnsTrueIfValueIsOfCorrectType()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/CoreLib/System/Collections/ObjectModel/
H A DCollection.cs342 if (IsCompatibleObject(value)) in IList.Contains()
351 if (IsCompatibleObject(value)) in IList.IndexOf()
383 if (IsCompatibleObject(value)) in IList.Remove()
389 private static bool IsCompatibleObject(object value) in IsCompatibleObject() method in System.Collections.ObjectModel.Collection
H A DReadOnlyCollection.cs239 private static bool IsCompatibleObject(object value) in IsCompatibleObject() method in System.Collections.ObjectModel.ReadOnlyCollection
248 if (IsCompatibleObject(value)) in IList.Contains()
257 if (IsCompatibleObject(value)) in IList.IndexOf()
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/shared/System/Collections/ObjectModel/
H A DCollection.cs342 if (IsCompatibleObject(value)) in IList.Contains()
351 if (IsCompatibleObject(value)) in IList.IndexOf()
383 if (IsCompatibleObject(value)) in IList.Remove()
389 private static bool IsCompatibleObject(object value) in IsCompatibleObject() method in System.Collections.ObjectModel.Collection
H A DReadOnlyCollection.cs239 private static bool IsCompatibleObject(object value) in IsCompatibleObject() method in System.Collections.ObjectModel.ReadOnlyCollection
248 if (IsCompatibleObject(value)) in IList.Contains()
257 if (IsCompatibleObject(value)) in IList.IndexOf()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/collections/objectmodel/
H A Dcollection.cs286 if(IsCompatibleObject(value)) { in IList.Contains()
293 if(IsCompatibleObject(value)) { in IList.IndexOf()
319 if(IsCompatibleObject(value)) { in IList.Remove()
324 private static bool IsCompatibleObject(object value) { in IsCompatibleObject() method in System.Collections.ObjectModel.Collection
H A Dreadonlycollection.cs202 private static bool IsCompatibleObject(object value) { in IsCompatibleObject() method in System.Collections.ObjectModel.ReadOnlyCollection
209 if(IsCompatibleObject(value)) { in IList.Contains()
216 if(IsCompatibleObject(value)) { in IList.IndexOf()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Linq.Expressions/src/System/Runtime/CompilerServices/
H A DReadOnlyCollectionBuilder.cs325 if (IsCompatibleObject(value)) in IList.Contains()
334 if (IsCompatibleObject(value)) in IList.IndexOf()
358 if (IsCompatibleObject(value)) in IList.Remove()
482 private static bool IsCompatibleObject(object value) in IsCompatibleObject() method in System.Runtime.CompilerServices.ReadOnlyCollectionBuilder
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Core/Microsoft/Scripting/Utils/
H A DReadOnlyCollectionBuilder.cs306 if (IsCompatibleObject(value)) { in System.Collections.IList.Contains()
312 if (IsCompatibleObject(value)) { in System.Collections.IList.IndexOf()
332 if (IsCompatibleObject(value)) { in System.Collections.IList.Remove()
441 private static bool IsCompatibleObject(object value) { in IsCompatibleObject() method in System.Runtime.CompilerServices.ReadOnlyCollectionBuilder
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/System.Web.Mvc/
H A DViewDataDictionary`1.cs47 bool castWillSucceed = TypeHelpers.IsCompatibleObject<TModel>(value); in SetModel()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web.Mvc3/Mvc/
H A DViewDataDictionary`1.cs40 bool castWillSucceed = TypeHelpers.IsCompatibleObject<TModel>(value); in SetModel()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web/ModelBinding/
H A DTypeMatchModelBinder.cs27 if (!TypeHelpers.IsCompatibleObject(bindingContext.ModelType, vpResult.RawValue)) { in GetCompatibleValueProviderResult()
H A DTypeHelpers.cs21 public static bool IsCompatibleObject(Type type, object value) { in IsCompatibleObject() method in System.Web.ModelBinding.TypeHelpers
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/Microsoft.Web.Mvc/ModelBinding/
H A DTypeMatchModelBinder.cs35 … if (!TypeHelpers.IsCompatibleObject(bindingContext.ModelType, valueProviderResult.RawValue)) in GetCompatibleValueProviderResult()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/Microsoft.Web.Mvc/
H A DTypeHelpers.cs27 public static bool IsCompatibleObject(Type type, object value) in IsCompatibleObject() method in Microsoft.Web.Mvc.TypeHelpers
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/System.Web.Http/ModelBinding/Binders/
H A DTypeMatchModelBinder.cs37 … if (!TypeHelper.IsCompatibleObject(bindingContext.ModelType, valueProviderResult.RawValue)) in GetCompatibleValueProviderResult()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Collections.Immutable/src/System/Collections/Immutable/
H A DImmutableList_1.Builder.cs988 if (IsCompatibleObject(value)) in IList.Contains()
1005 if (IsCompatibleObject(value)) in IList.IndexOf()
1048 if (IsCompatibleObject(value)) in IList.Remove()
H A DImmutableList_1.cs1062 bool IList.Contains(object value) => IsCompatibleObject(value) && this.Contains((T)value);
1071 int IList.IndexOf(object value) => IsCompatibleObject(value) ? this.IndexOf((T)value) : -1;
1185 private static bool IsCompatibleObject(object value) in IsCompatibleObject() method in System.Collections.Immutable.ImmutableList
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/shared/System/Collections/Generic/
H A DList.cs193 private static bool IsCompatibleObject(object value) in IsCompatibleObject() method in System.Collections.Generic.List
365 if (IsCompatibleObject(item)) in System.Collections.IList.Contains()
678 if (IsCompatibleObject(item)) in System.Collections.IList.IndexOf()
910 if (IsCompatibleObject(item)) in System.Collections.IList.Remove()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/CoreLib/System/Collections/Generic/
H A DList.cs193 private static bool IsCompatibleObject(object value) in IsCompatibleObject() method in System.Collections.Generic.List
365 if (IsCompatibleObject(item)) in System.Collections.IList.Contains()
678 if (IsCompatibleObject(item)) in System.Collections.IList.IndexOf()
910 if (IsCompatibleObject(item)) in System.Collections.IList.Remove()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/System.Web.Http/Internal/
H A DTypeHelper.cs57 internal static bool IsCompatibleObject(Type type, object value) in IsCompatibleObject() method in System.Web.Http.Internal.TypeHelper

12