33 references to PT_DECIMAL
Microsoft.CSharp (33)
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (2)
709
aggPredefType == PredefinedType.
PT_DECIMAL
));
1377
CType typeDecimal = SymbolLoader.GetPredefindType(PredefinedType.
PT_DECIMAL
);
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (4)
421
if (aggDest.isPredefAgg(PredefinedType.
PT_DECIMAL
))
456
Debug.Assert(_typeSrc.IsPredefType(PredefinedType.
PT_DECIMAL
));
499
Debug.Assert(aggTypeDest.IsPredefType(PredefinedType.
PT_DECIMAL
));
560
if (_typeSrc.IsPredefType(PredefinedType.
PT_DECIMAL
))
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (1)
124
if (type.IsPredefType(PredefinedType.
PT_DECIMAL
))
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (10)
95
new BinOpSig (PredefinedType.
PT_DECIMAL
, PredefinedType.
PT_DECIMAL
, BinOpMask.Real, 0, BindDecBinOp, OpSigFlags.Value, BinOpFuncKind.DecBinOp ),
126
new UnaOpSig( PredefinedType.
PT_DECIMAL
, UnaOpMask.Real, 0, BindDecUnaOp, UnaOpFuncKind.DecUnaOp ),
134
new UnaOpSig( PredefinedType.
PT_DECIMAL
, UnaOpMask.IncDec, 0, null, UnaOpFuncKind.None ),
1645
Debug.Assert(type.IsPredefType(PredefinedType.
PT_DECIMAL
));
1765
Debug.Assert(arg1.Type.IsPredefType(PredefinedType.
PT_DECIMAL
) && arg2.Type.IsPredefType(PredefinedType.
PT_DECIMAL
));
1767
CType typeDec = GetPredefindType(PredefinedType.
PT_DECIMAL
);
1807
Debug.Assert(arg.Type.IsPredefType(PredefinedType.
PT_DECIMAL
));
1810
CType typeDec = GetPredefindType(PredefinedType.
PT_DECIMAL
);
Microsoft\CSharp\RuntimeBinder\Semantics\PredefinedMembers.cs (9)
429
new PredefinedMethodInfo( PREDEFMETH.PM_DECIMAL_OPDECREMENT, PredefinedType.
PT_DECIMAL
, PredefinedName.PN_OPDECREMENT, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.
PT_DECIMAL
, 1, (int)PredefinedType.
PT_DECIMAL
}),
430
new PredefinedMethodInfo( PREDEFMETH.PM_DECIMAL_OPINCREMENT, PredefinedType.
PT_DECIMAL
, PredefinedName.PN_OPINCREMENT, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.
PT_DECIMAL
, 1, (int)PredefinedType.
PT_DECIMAL
}),
431
new PredefinedMethodInfo( PREDEFMETH.PM_DECIMAL_OPUNARYMINUS, PredefinedType.
PT_DECIMAL
, PredefinedName.PN_OPUNARYMINUS, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.
PT_DECIMAL
, 1, (int)PredefinedType.
PT_DECIMAL
}),
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (1)
1027
argtype.StripNubs().IsEnumType && desttype.StripNubs().IsPredefType(PredefinedType.
PT_DECIMAL
);
Microsoft\CSharp\RuntimeBinder\Semantics\Types\AggregateType.cs (2)
384
OwningAggregate.IsEnum() && OwningAggregate.GetUnderlyingType().PredefinedType == PredefinedType.
PT_DECIMAL
386
|| IsPredefined && PredefinedType == PredefinedType.
PT_DECIMAL
);
Microsoft\CSharp\RuntimeBinder\Semantics\Types\PredefinedTypes.cs (3)
67
case PredefinedType.
PT_DECIMAL
:
87
PredefinedType.
PT_DECIMAL
=> "decimal",
134
new PredefinedTypeInfo(PredefinedType.
PT_DECIMAL
, typeof(decimal), "System.Decimal", FUNDTYPE.FT_STRUCT),
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (1)
1496
CType cvType = SymbolLoader.GetPredefindType(PredefinedType.
PT_DECIMAL
);