15 references to TypeAllowsNull
System.Data.Services (15)
System\Data\Services\Parsing\RequestQueryParser.cs (10)
1454if (WebUtil.TypeAllowsNull(left.Type)) 1456if (!WebUtil.TypeAllowsNull(right.Type)) 1461else if (WebUtil.TypeAllowsNull(right.Type)) 1567if (!WebUtil.TypeAllowsNull(left.Type)) 1571else if (!WebUtil.TypeAllowsNull(right.Type)) 1938if (!WebUtil.TypeAllowsNull(castTargetType)) 2272if (!this.nullPropagationRequired || element == this.it || !WebUtil.TypeAllowsNull(element.Type)) 2288if (!WebUtil.TypeAllowsNull(falseIf.Type)) 2420WebUtil.TypeAllowsNull(applicable[0].Parameters[0].ParameterType) ? 2480if (WebUtil.TypeAllowsNull(type))
System\Data\Services\Providers\BasicExpandProvider.cs (4)
1283if (!WebUtil.TypeAllowsNull(expression.Type)) 1472WebUtil.TypeAllowsNull(propertyAccess.Type), 1593if (!WebUtil.TypeAllowsNull(propertyAccess.Type)) 1715Debug.Assert(WebUtil.TypeAllowsNull(expression.Type), "We should only project types which are nullable.");
System\Data\Services\WebUtil.cs (1)
869return TypeAllowsNull(type) ? type : typeof(Nullable<>).MakeGenericType(type);