23 writes to VariantType
mscorlib (23)
system\Runtime\InteropServices\Variant.cs (23)
319
VariantType
= VarEnum.VT_EMPTY;
336
VariantType
= VarEnum.VT_EMPTY;
364
VariantType
= VarEnum.VT_NULL;
381
VariantType
= VarEnum.VT_I1;
395
VariantType
= VarEnum.VT_I2;
409
VariantType
= VarEnum.VT_I4;
423
VariantType
= VarEnum.VT_I8;
437
VariantType
= VarEnum.VT_UI1;
451
VariantType
= VarEnum.VT_UI2;
465
VariantType
= VarEnum.VT_UI4;
479
VariantType
= VarEnum.VT_UI8;
493
VariantType
= VarEnum.VT_INT;
507
VariantType
= VarEnum.VT_UINT;
521
VariantType
= VarEnum.VT_BOOL;
535
VariantType
= VarEnum.VT_ERROR;
549
VariantType
= VarEnum.VT_R4;
563
VariantType
= VarEnum.VT_R8;
580
VariantType
= VarEnum.VT_DECIMAL;
596
VariantType
= VarEnum.VT_CY;
610
VariantType
= VarEnum.VT_DATE;
624
VariantType
= VarEnum.VT_BSTR;
640
VariantType
= VarEnum.VT_UNKNOWN;
659
VariantType
= VarEnum.VT_DISPATCH;
27 references to VariantType
mscorlib (27)
system\Runtime\InteropServices\ComEventsSink.cs (2)
142
if (pSrc->
VariantType
== VT_BYREF_VARIANT)
149
if ((pByRefVariant->
VariantType
& VT_BYREF_TYPEMASK) == VT_BYREF_VARIANT)
system\Runtime\InteropServices\Variant.cs (25)
146
VarEnum vt = (VarEnum)(((int)this.
VariantType
) & ~((int)VarEnum.VT_BYREF));
258
switch (
VariantType
) {
301
throw new NotImplementedException("Variant.ToObject cannot handle" +
VariantType
, ex);
317
VarEnum vt =
VariantType
;
376
BCLDebug.Assert(
VariantType
== VarEnum.VT_I1, "variant");
390
BCLDebug.Assert(
VariantType
== VarEnum.VT_I2, "variant");
404
BCLDebug.Assert(
VariantType
== VarEnum.VT_I4, "variant");
418
BCLDebug.Assert(
VariantType
== VarEnum.VT_I8, "variant");
432
BCLDebug.Assert(
VariantType
== VarEnum.VT_UI1, "variant");
446
BCLDebug.Assert(
VariantType
== VarEnum.VT_UI2, "variant");
460
BCLDebug.Assert(
VariantType
== VarEnum.VT_UI4, "variant");
474
BCLDebug.Assert(
VariantType
== VarEnum.VT_UI8, "variant");
488
BCLDebug.Assert(
VariantType
== VarEnum.VT_INT, "variant");
502
BCLDebug.Assert(
VariantType
== VarEnum.VT_UINT, "variant");
516
BCLDebug.Assert(
VariantType
== VarEnum.VT_BOOL, "variant");
530
BCLDebug.Assert(
VariantType
== VarEnum.VT_ERROR, "variant");
544
BCLDebug.Assert(
VariantType
== VarEnum.VT_R4, "variant");
558
BCLDebug.Assert(
VariantType
== VarEnum.VT_R8, "variant");
572
BCLDebug.Assert(
VariantType
== VarEnum.VT_DECIMAL, "variant");
591
BCLDebug.Assert(
VariantType
== VarEnum.VT_CY, "variant");
605
BCLDebug.Assert(
VariantType
== VarEnum.VT_DATE, "variant");
619
BCLDebug.Assert(
VariantType
== VarEnum.VT_BSTR, "variant");
633
BCLDebug.Assert(
VariantType
== VarEnum.VT_UNKNOWN, "variant");
652
BCLDebug.Assert(
VariantType
== VarEnum.VT_DISPATCH, "variant");
673
BCLDebug.Assert(
VariantType
== (VarEnum.VT_BYREF | VarEnum.VT_VARIANT), "variant");