28 references to PrimitiveTypeCode
Microsoft.CodeAnalysis.CSharp (28)
Binder\Binder_Symbols.cs (1)
2232
if ((object)singleType != null && singleType.
PrimitiveTypeCode
== Cci.PrimitiveTypeCode.Void && simpleName == "Void")
CodeGen\EmitAddress.cs (1)
391
TreatLongsAsNative(index.Type.
PrimitiveTypeCode
);
CodeGen\EmitConversion.cs (8)
18
switch (type.
PrimitiveTypeCode
)
140
var fromPredefTypeKind = fromType.
PrimitiveTypeCode
;
143
var toPredefTypeKind = toType.
PrimitiveTypeCode
;
192
switch (conversion.Type.
PrimitiveTypeCode
)
215
var fromPredefTypeKind = fromType.
PrimitiveTypeCode
;
219
var toPredefTypeKind = toType.
PrimitiveTypeCode
;
296
var fromPredefTypeKind = fromType.
PrimitiveTypeCode
;
305
var toPredefTypeKind = toType.
PrimitiveTypeCode
;
CodeGen\EmitExpression.cs (7)
1023
switch (elementType.
PrimitiveTypeCode
)
1439
switch (type.
PrimitiveTypeCode
)
2355
var typeTo = expression.Type.
PrimitiveTypeCode
;
3220
switch (elementType.
PrimitiveTypeCode
)
3318
switch (type.
PrimitiveTypeCode
)
3746
(IsNumeric(expr.Type) || expr.Type.
PrimitiveTypeCode
== Cci.PrimitiveTypeCode.Boolean) &&
3752
var toType = expr.Type.
PrimitiveTypeCode
;
CodeGen\EmitStatement.cs (5)
208
var tc = ts.
PrimitiveTypeCode
;
258
bool isBool = nonConstType.
PrimitiveTypeCode
== Microsoft.Cci.PrimitiveTypeCode.Boolean;
1324
_builder.EmitIntegerSwitchJumpTable(switchCaseLabels, fallThroughLabel, key, expression.Type.EnumUnderlyingTypeOrSelf().
PrimitiveTypeCode
);
1411
fallThroughLabel, stringLength, int32Type.
PrimitiveTypeCode
);
1448
fallThroughLabel, charTemp, charType.
PrimitiveTypeCode
);
Emitter\Model\NamedTypeSymbolAdapter.cs (1)
67
return AdaptedNamedTypeSymbol.
PrimitiveTypeCode
;
Symbols\Metadata\PE\SymbolFactory.cs (1)
61
return type.
PrimitiveTypeCode
;
Symbols\Retargeting\RetargetingNamespaceSymbol.cs (1)
128
Debug.Assert(t.
PrimitiveTypeCode
== Cci.PrimitiveTypeCode.NotPrimitive);
Symbols\Retargeting\RetargetingSymbolTranslator.cs (2)
164
Debug.Assert(symbol.Kind != SymbolKind.NamedType || ((NamedTypeSymbol)symbol).
PrimitiveTypeCode
== Cci.PrimitiveTypeCode.NotPrimitive);
219
Cci.PrimitiveTypeCode typeCode = type.
PrimitiveTypeCode
;
Symbols\TypeWithAnnotations.cs (1)
273
public Cci.PrimitiveTypeCode PrimitiveTypeCode => Type.
PrimitiveTypeCode
;