55 references to Empty
mscorlib (9)
system\convert.cs (4)
172
if (value == null) return TypeCode.
Empty
;
207
if (value == null && (typeCode == TypeCode.
Empty
|| typeCode == TypeCode.String || typeCode == TypeCode.Object)) {
254
case TypeCode.
Empty
:
314
if (rtTargetType == ConvertTypes[(int)TypeCode.
Empty
])
system\rttype.cs (2)
1598
m_typeCode = TypeCode.
Empty
;
3593
if (typeCode != TypeCode.
Empty
)
system\runtime\serialization\formatters\binary\binaryconverter.cs (1)
442
codeATemp[(int)TypeCode.
Empty
] = InternalPrimitiveTypeE.Invalid;
system\type.cs (1)
237
return TypeCode.
Empty
;
system\variant.cs (1)
455
case TypeCode.
Empty
:
System.AddIn.Contract (7)
System\Addin\Contract\RemoteArgument.cs (7)
118
else if ((typeCodeToUse == TypeCode.
Empty
) && (value != System.Reflection.Missing.Value))
123
else if ((convertibleValue == null) && (value != null) && (arrayValue == null) && (typeCodeToUse != TypeCode.Object) && (typeCodeToUse != TypeCode.
Empty
))
294
case TypeCode.
Empty
:
297
return new RemoteArgument(RemoteArgumentKind.Missing, TypeCode.
Empty
, isByRef);
350
if (typeCode != TypeCode.
Empty
)
357
typeCode == TypeCode.
Empty
)
808
this.intrinsicTypeCode == TypeCode.
Empty
)
System.Core (1)
Microsoft\Scripting\Compiler\ILGen.cs (1)
1006
case TypeCode.
Empty
:
System.Data (11)
fx\src\data\System\Data\Common\DataStorage.cs (2)
20
Empty = TypeCode.
Empty
, // 0
273
case StorageType.Empty: throw ExceptionBuilder.InvalidStorageType(TypeCode.
Empty
);
fx\src\data\System\Data\Odbc\Odbc32.cs (2)
895
case TypeCode.
Empty
: throw ADP.InvalidDataType(TypeCode.
Empty
);
fx\src\data\System\Data\OleDb\OLEDB_Enum.cs (1)
296
case TypeCode.
Empty
: return NativeDBType.D_Empty;
fx\src\data\System\Data\Sql\SqlMetaData.cs (4)
1055
case TypeCode.
Empty
: throw ADP.InvalidDataType(TypeCode.
Empty
);
1145
case TypeCode.
Empty
: throw ADP.InvalidDataType(TypeCode.
Empty
);
fx\src\data\System\Data\SqlClient\SqlEnums.cs (2)
286
case TypeCode.
Empty
: throw ADP.InvalidDataType(TypeCode.
Empty
);
System.Data.Entity (2)
System\Data\Metadata\TypeHelpers.cs (2)
702
case TypeCode.
Empty
:
703
throw EntityUtil.InvalidDataType(TypeCode.
Empty
);
System.Runtime.Serialization (5)
System\Runtime\Serialization\CodeGenerator.cs (1)
1096
case TypeCode.
Empty
:
System\Runtime\Serialization\XmlReaderDelegator.cs (2)
268
case TypeCode.
Empty
:
323
case TypeCode.
Empty
:
System\Runtime\Serialization\XmlWriterDelegator.cs (2)
339
case TypeCode.
Empty
:
416
case TypeCode.
Empty
:
System.ServiceModel (1)
System\ServiceModel\Dispatcher\CodeGenerator.cs (1)
468
case TypeCode.
Empty
:
System.Web (9)
UI\WebControls\Parameter.cs (7)
224
if (Type != TypeCode.
Empty
) {
235
if (Type != TypeCode.
Empty
) {
295
if (type == TypeCode.Object || type == TypeCode.
Empty
) {
360
DefaultValue(TypeCode.
Empty
),
368
return TypeCode.
Empty
;
372
if (value < TypeCode.
Empty
|| value > TypeCode.String) {
521
case TypeCode.
Empty
:
UI\WebControls\ParameterCollection.cs (1)
102
return ((IList)this).Add(new Parameter(name, TypeCode.
Empty
, value));
UI\WebControls\SqlDataSourceView.cs (1)
1212
if (parameter.DbType != DbType.Object || (parameter.Type != TypeCode.
Empty
&& parameter.Type != TypeCode.DBNull)) {
System.Web.DynamicData (2)
DynamicData\MetaColumn.cs (2)
17
private TypeCode _typeCode = TypeCode.
Empty
;
381
if (_typeCode == TypeCode.
Empty
) {
System.Web.Entity (7)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
339
case TypeCode.
Empty
:
System\Data\WebControls\EntityDataSourceView.cs (1)
1727
if (parameter.TypeCode == TypeCode.Object || parameter.TypeCode == TypeCode.
Empty
)
System\Data\WebControls\WebControlParameterProxy.cs (5)
82
return TypeCode.
Empty
;
100
Debug.Assert(this.TypeCode != TypeCode.
Empty
|| this.DbType != DbType.Object, "Need to have TypeCode or DbType to get a ClrType");
101
if (this.TypeCode != TypeCode.
Empty
)
151
if (parameter != null && parameter.Type == TypeCode.
Empty
&& parameter.DbType == DbType.Object)
156
if (parameter != null && parameter.DbType != DbType.Object && parameter.Type != TypeCode.
Empty
)
System.Xml (1)
System\Xml\Serialization\CodeGenerator.cs (1)
1113
case TypeCode.
Empty
: