Searched refs:IsValueType (Results 1 – 6 of 6) sorted by relevance
61 if ( typeof( TValue ).IsValueType ) in get()74 if ( typeof( TValue ).IsValueType ) in get()86 if ( typeof( TValue ).IsValueType ) in get()
60 if (typeof(TValue).IsValueType) in get()72 if (typeof(TValue).IsValueType) in get()83 if (typeof(TValue).IsValueType) in get()
52 internal static bool IsValueType(this Type target) in IsValueType() method in Google.Protobuf.Compatibility.TypeExtensions54 return target.GetTypeInfo().IsValueType; in IsValueType()
66 public void IsValueType(Type type, bool expected) in IsValueType() method in Google.Protobuf.Compatibility.TypeExtensionsTest68 Assert.AreEqual(expected, TypeExtensions.IsValueType(type)); in IsValueType()
165 if (typeof(T).IsValueType) in TestDefaultValue()
350 …private static readonly bool TypeSupportsPacking = typeof(T).IsValueType() && Nullable.GetUnderlyi…