34 references to GetNonNullableType
System.Data.Linq (34)
DbConvert.cs (1)
29
Type toType = System.Data.Linq.SqlClient.TypeSystem.
GetNonNullableType
(type);
SqlClient\Common\SqlFactory.cs (1)
370
Type valueType = TypeSystem.
GetNonNullableType
(expression.ClrType);
SqlClient\Common\SqlNode.cs (6)
335
if (value != null && TypeSystem.
GetNonNullableType
(value.ClrType) != typeof(bool)) {
349
if (value != null && TypeSystem.
GetNonNullableType
(value.ClrType) != typeof(bool)) {
1119
&& !TypeSystem.
GetNonNullableType
(this.matchExpression.ClrType).Equals(typeof(bool))
1120
&& !TypeSystem.
GetNonNullableType
(value.ClrType).Equals(typeof(bool)))
2259
if (!TypeSystem.
GetNonNullableType
(this.ClrType).IsAssignableFrom(TypeSystem.
GetNonNullableType
(value.ClrType)))
SqlClient\Query\MethodCallConverter.cs (2)
336
treatType = TypeSystem.
GetNonNullableType
(treatType);
337
originalType = TypeSystem.
GetNonNullableType
(originalType);
SqlClient\Query\QueryConverter.cs (3)
748
Type nnFromType = TypeSystem.
GetNonNullableType
(fromType);
749
Type nnToType = TypeSystem.
GetNonNullableType
(toType);
823
TypeSystem.
GetNonNullableType
(qn.Type) == qn.Arguments[0].Type) {
SqlClient\Query\SqlMethodCallConverter.cs (9)
665
Type leftType = TypeSystem.
GetNonNullableType
(bo.Left.ClrType);
1222
Type nnType = TypeSystem.
GetNonNullableType
(expr.ClrType);
1272
(TypeSystem.
GetNonNullableType
(targetType) == TypeSystem.
GetNonNullableType
(expr.ClrType))) {
1286
Type rightType = TypeSystem.
GetNonNullableType
(bo.Right.ClrType);
1309
Debug.Assert(TypeSystem.
GetNonNullableType
(bo.Left.ClrType) == typeof(DateTimeOffset));
1363
return TypeSystem.
GetNonNullableType
(bo.Left.ClrType) == typeof(DateTimeOffset) ?
1380
} else if (TypeSystem.
GetNonNullableType
(bo.Left.ClrType) == typeof(DateTimeOffset)) {
2168
Type baseClrTypeOfExpr = TypeSystem.
GetNonNullableType
(exp.ClrType);
SqlClient\Query\SqlRetyper.cs (2)
39
from = System.Data.Linq.SqlClient.TypeSystem.
GetNonNullableType
(from);
40
to = System.Data.Linq.SqlClient.TypeSystem.
GetNonNullableType
(to);
SqlClient\Query\SqlSupersetValidator.cs (2)
41
if (TypeSystem.
GetNonNullableType
(col.ClrType) != TypeSystem.
GetNonNullableType
(expr.ClrType)) {
SqlClient\Query\SqlTypeConverter.cs (2)
78
Type oldClrType = TypeSystem.
GetNonNullableType
(uo.Operand.ClrType);
79
Type newClrType = TypeSystem.
GetNonNullableType
(uo.ClrType);
SqlClient\Query\TypeSource.cs (2)
50
if (sourceType != null && TypeSystem.
GetNonNullableType
(sourceType).IsValueType) {
140
type = TypeSystem.
GetNonNullableType
(type); // Emulate CLR's behavior: strip nullability from type.
SqlClient\Reader\ObjectReaderCompiler.cs (4)
1597
TypeSystem.
GetNonNullableType
(elementType) == TypeSystem.
GetNonNullableType
(genExpectedTypeArgs[0])
1621
TypeSystem.
GetNonNullableType
(expectedType) == actualType) {
1628
TypeSystem.
GetNonNullableType
(actualType) == expectedType) {