71 references to CorElementType
System.AddIn (71)
System\Addin\MiniReflection\MiniCustomAttributeInfo.cs (2)
58
private
CorElementType
_type;
61
public MiniCustomAttributeNamedArgInfo(
CorElementType
type, String name, Object value)
System\Addin\MiniReflection\MiniParameterInfo.cs (33)
25
private
CorElementType
_elementType;
28
public MiniParameterInfo(
CorElementType
elementType)
30
System.Diagnostics.Contracts.Contract.Requires(elementType <=
CorElementType
.String ||
31
elementType ==
CorElementType
.I || elementType ==
CorElementType
.U ||
32
elementType ==
CorElementType
.Object);
37
public MiniParameterInfo(
CorElementType
elementType, TypeInfo parameterType)
49
public static bool IsValid(
CorElementType
elementType)
51
return (
CorElementType
.End <= elementType && elementType <=
CorElementType
.Max) ||
52
elementType ==
CorElementType
.Modifier ||
53
elementType ==
CorElementType
.Sentinel ||
54
elementType ==
CorElementType
.Pinned;
75
if (_elementType ==
CorElementType
.Class || _elementType ==
CorElementType
.ValueType)
80
case
CorElementType
.Boolean:
82
case
CorElementType
.I1:
84
case
CorElementType
.U1:
86
case
CorElementType
.I2:
88
case
CorElementType
.U2:
90
case
CorElementType
.Char:
92
case
CorElementType
.I4:
94
case
CorElementType
.U4:
96
case
CorElementType
.I8:
98
case
CorElementType
.U8:
100
case
CorElementType
.R4:
102
case
CorElementType
.R8:
104
case
CorElementType
.I:
106
case
CorElementType
.U:
109
case
CorElementType
.String:
112
case
CorElementType
.Object:
124
if (_elementType ==
CorElementType
.Class || _elementType ==
CorElementType
.ValueType)
System\Addin\MiniReflection\TypeInfo.cs (36)
573
if (sig[i] == (byte)
CorElementType
.CModOpt) i++;
574
else if (sig[i] == (byte)
CorElementType
.CModReqd) i++;
578
if (sig[i] == (byte)
CorElementType
.Void) i++;
579
else if (sig[i] == (byte)
CorElementType
.TypedByRef) i++;
582
if (sig[i] == (byte)
CorElementType
.ByRef) i++;
599
CorElementType
b = (
CorElementType
) sig[i++];
602
case
CorElementType
.Boolean:
603
case
CorElementType
.Char:
604
case
CorElementType
.I1:
605
case
CorElementType
.U1:
606
case
CorElementType
.I2:
607
case
CorElementType
.U2:
608
case
CorElementType
.I4:
609
case
CorElementType
.U4:
610
case
CorElementType
.I8:
611
case
CorElementType
.U8:
612
case
CorElementType
.R4:
613
case
CorElementType
.R8:
614
case
CorElementType
.I:
615
case
CorElementType
.U:
616
case
CorElementType
.String:
617
case
CorElementType
.Object:
620
case
CorElementType
.TypedByRef:
625
case
CorElementType
.Void:
629
case
CorElementType
.Class:
630
case
CorElementType
.ValueType:
633
case
CorElementType
.Ptr:
642
case
CorElementType
.FnPtr:
646
case
CorElementType
.SzArray:
649
case
CorElementType
.Array:
652
case
CorElementType
.ByRef:
654
case
CorElementType
.GenericInst:
657
case
CorElementType
.Var:
1032
namedArgs.Add(new MiniCustomAttributeNamedArgInfo(
CorElementType
.String, propName, value));
1056
if (fieldOrPropType != (int)
CorElementType
.String)