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