22 references to IsNullableType
System.Data.Linq (22)
Mapping\AttributedMetaModel.cs (1)
1035this.isNullableType = TypeSystem.IsNullableType(this.type);
Mapping\MappedMetaModel.cs (2)
968this.isNullableType = TypeSystem.IsNullableType(this.type); 1793get { return !this.type.IsValueType || TypeSystem.IsNullableType(this.type); }
SqlClient\Common\TypeSystem.cs (2)
64return !type.IsValueType || IsNullableType(type); 67if (IsNullableType(type)) {
SqlClient\Query\MethodCallConverter.cs (2)
97return TypeSystem.IsNullableType(m.Expression.ClrType) && m.Member.Name == "Value"; 101return TypeSystem.IsNullableType(m.Expression.ClrType) && m.Member.Name == "HasValue";
SqlClient\Query\QueryConverter.cs (1)
822if (TypeSystem.IsNullableType(qn.Type) && qn.Arguments.Count == 1 &&
SqlClient\Query\SqlBinder.cs (4)
178if (this.IsConstNull(bo.Left) && !TypeSystem.IsNullableType(bo.ClrType)) { 181else if (this.IsConstNull(bo.Right) && !TypeSystem.IsNullableType(bo.ClrType)) { 187if (this.IsConstNull(bo.Left) && !TypeSystem.IsNullableType(bo.ClrType)) { 190else if (this.IsConstNull(bo.Right) && !TypeSystem.IsNullableType(bo.ClrType)) {
SqlClient\Query\SqlMethodCallConverter.cs (2)
205if (mc.Method.Name == "GetValueOrDefault" && TypeSystem.IsNullableType(mc.Object.ClrType)) { 1285bool resultNullable = TypeSystem.IsNullableType(bo.ClrType);
SqlClient\Query\SqlMultiplexer.cs (1)
241if (expr.ClrType.IsValueType && !TypeSystem.IsNullableType(expr.ClrType)) {
SqlClient\Reader\ObjectReaderCompiler.cs (7)
826System.Diagnostics.Debug.Assert(TypeSystem.IsNullableType(u.Operand.ClrType)); 842System.Diagnostics.Debug.Assert(TypeSystem.IsNullableType(actualType)); 917if (mc.Object != null && TypeSystem.IsNullableType(mc.Object.ClrType) && callOpCode == OpCodes.Callvirt){ 1437if (clrType.IsValueType && !TypeSystem.IsNullableType(clrType)) { 1620else if (TypeSystem.IsNullableType(expectedType) && 1627else if (TypeSystem.IsNullableType(actualType) && 2080if (!throwIfNotNullable || TypeSystem.IsNullableType(type)) {