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)
384
FUNDTYPE ftSrc = expr.Type.
FundamentalType
;
385
FUNDTYPE ftDest = dest.
FundamentalType
;
399
if (expr.Type is NullType && dest.
FundamentalType
!= FUNDTYPE.FT_REF)
474
FUNDTYPE exprType = expr.Type.
FundamentalType
;
521
if (expr.Type is NullType && dest.
FundamentalType
!= FUNDTYPE.FT_REF)
772
if ((ftTo = typeTo.
FundamentalType
) <= FUNDTYPE.FT_LASTNUMERIC && ftTo > FUNDTYPE.FT_NONE &&
773
(ftFrom = typeFrom.
FundamentalType
) <= FUNDTYPE.FT_LASTNUMERIC && ftFrom > FUNDTYPE.FT_NONE)
1151
FUNDTYPE ftSrc = exprSrc.Type.
FundamentalType
;
1152
FUNDTYPE ftDest = typeDest.
FundamentalType
;
1190
if (constSrc.Type.
FundamentalType
== FUNDTYPE.FT_U8)
1421
FUNDTYPE ftSrc = srcType.
FundamentalType
;
1463
FUNDTYPE ftDest = destType.
FundamentalType
;
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (1)
385
if (_typeSrc is PointerType || _typeSrc.
FundamentalType
<= FUNDTYPE.FT_LASTINTEGRAL && _typeSrc.IsNumericType)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (4)
376
exprSrc.Type.
FundamentalType
== typeDest.
FundamentalType
&&
1445
FUNDTYPE ftSrc = exprSrc.Type.
FundamentalType
;
1446
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)
130
Debug.Assert(type.
FundamentalType
> FUNDTYPE.FT_NONE);
131
Debug.Assert(type.
FundamentalType
< FUNDTYPE.FT_COUNT);
132
switch (type.
FundamentalType
)
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (3)
144
FUNDTYPE ftDest = _typeDest.
FundamentalType
;
403
FUNDTYPE ftDest = _typeDest.
FundamentalType
;
589
if (pSource.OwningAggregate.IsStruct() && _typeDest.
FundamentalType
== FUNDTYPE.FT_REF)
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (11)
971
Debug.Assert(type1.
FundamentalType
!= FUNDTYPE.FT_VAR);
972
if (type1.
FundamentalType
!= FUNDTYPE.FT_REF)
987
Debug.Assert(type2.
FundamentalType
!= FUNDTYPE.FT_VAR);
988
if (type2.
FundamentalType
!= FUNDTYPE.FT_REF)
1190
PredefinedType ptOp = nonNub.
FundamentalType
switch
1647
FUNDTYPE ft = typeRaw.
FundamentalType
;
1670
if (type.IsEnumType && type.
FundamentalType
> FUNDTYPE.FT_LASTINTEGRAL)
1676
Debug.Assert(type.
FundamentalType
!= FUNDTYPE.FT_PTR); // Can't have a pointer.
1677
switch (type.
FundamentalType
)
2144
PredefinedType ptOp = typeEnum.
FundamentalType
switch
2307
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");