6 overrides of FundamentalType
Microsoft.CSharp (6)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\AggregateType.cs (1)
343
public override FUNDTYPE
FundamentalType
Microsoft\CSharp\RuntimeBinder\Semantics\Types\ArrayType.cs (1)
61
public override FUNDTYPE
FundamentalType
=> FUNDTYPE.FT_REF;
Microsoft\CSharp\RuntimeBinder\Semantics\Types\NullableType.cs (1)
56
public override FUNDTYPE
FundamentalType
=> FUNDTYPE.FT_STRUCT;
Microsoft\CSharp\RuntimeBinder\Semantics\Types\NullType.cs (1)
21
public override FUNDTYPE
FundamentalType
=> FUNDTYPE.FT_REF;
Microsoft\CSharp\RuntimeBinder\Semantics\Types\PointerType.cs (1)
30
public override FUNDTYPE
FundamentalType
=> FUNDTYPE.FT_PTR;
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeParameterType.cs (1)
68
public override FUNDTYPE
FundamentalType
=> FUNDTYPE.FT_VAR;
41 references to FundamentalType
Microsoft.CSharp (41)
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (12)
374
FUNDTYPE ftSrc = expr.Type.
FundamentalType
;
375
FUNDTYPE ftDest = dest.
FundamentalType
;
389
if (expr.Type is NullType && dest.
FundamentalType
!= FUNDTYPE.FT_REF)
459
FUNDTYPE exprType = expr.Type.
FundamentalType
;
506
if (expr.Type is NullType && dest.
FundamentalType
!= FUNDTYPE.FT_REF)
745
if ((ftTo = typeTo.
FundamentalType
) <= FUNDTYPE.FT_LASTNUMERIC && ftTo > FUNDTYPE.FT_NONE &&
746
(ftFrom = typeFrom.
FundamentalType
) <= FUNDTYPE.FT_LASTNUMERIC && ftFrom > FUNDTYPE.FT_NONE)
1120
FUNDTYPE ftSrc = exprSrc.Type.
FundamentalType
;
1121
FUNDTYPE ftDest = typeDest.
FundamentalType
;
1159
if (constSrc.Type.
FundamentalType
== FUNDTYPE.FT_U8)
1387
FUNDTYPE ftSrc = srcType.
FundamentalType
;
1429
FUNDTYPE ftDest = destType.
FundamentalType
;
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (1)
384
if (_typeSrc is PointerType || _typeSrc.
FundamentalType
<= FUNDTYPE.FT_LASTINTEGRAL && _typeSrc.IsNumericType)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (4)
368
exprSrc.Type.
FundamentalType
== typeDest.
FundamentalType
&&
1417
FUNDTYPE ftSrc = exprSrc.Type.
FundamentalType
;
1418
FUNDTYPE ftDest = typeDest.
FundamentalType
;
Microsoft\CSharp\RuntimeBinder\Semantics\EXPRExtensions.cs (1)
64
=> expr is ExprConstant constant && expr.Type.
FundamentalType
== FUNDTYPE.FT_REF && constant.Val.IsNullRef;
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (3)
113
Debug.Assert(type.
FundamentalType
> FUNDTYPE.FT_NONE);
114
Debug.Assert(type.
FundamentalType
< FUNDTYPE.FT_COUNT);
115
switch (type.
FundamentalType
)
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (3)
143
FUNDTYPE ftDest = _typeDest.
FundamentalType
;
401
FUNDTYPE ftDest = _typeDest.
FundamentalType
;
587
if (pSource.OwningAggregate.IsStruct() && _typeDest.
FundamentalType
== FUNDTYPE.FT_REF)
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (11)
948
Debug.Assert(type1.
FundamentalType
!= FUNDTYPE.FT_VAR);
949
if (type1.
FundamentalType
!= FUNDTYPE.FT_REF)
964
Debug.Assert(type2.
FundamentalType
!= FUNDTYPE.FT_VAR);
965
if (type2.
FundamentalType
!= FUNDTYPE.FT_REF)
1165
PredefinedType ptOp = nonNub.
FundamentalType
switch
1613
FUNDTYPE ft = typeRaw.
FundamentalType
;
1635
if (type.IsEnumType && type.
FundamentalType
> FUNDTYPE.FT_LASTINTEGRAL)
1641
Debug.Assert(type.
FundamentalType
!= FUNDTYPE.FT_PTR); // Can't have a pointer.
1642
switch (type.
FundamentalType
)
2093
PredefinedType ptOp = typeEnum.
FundamentalType
switch
2254
if (ptOp == PredefinedType.PT_UINT && op.Type.
FundamentalType
== FUNDTYPE.FT_U4)
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Constant.cs (6)
30
switch (Type.
FundamentalType
)
41
Type.
FundamentalType
== FUNDTYPE.FT_I1 || Type.
FundamentalType
== FUNDTYPE.FT_I2
42
|| Type.
FundamentalType
== FUNDTYPE.FT_I4 || Type.
FundamentalType
== FUNDTYPE.FT_U1
43
|| Type.
FundamentalType
== FUNDTYPE.FT_U2, "Bad fundType in getI64Value");