45 references to PT_STRING
Microsoft.CSharp (45)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (1)
369
(!exprSrc.Type.IsPredefType(PredefinedType.
PT_STRING
) || constant.Val.IsNullRef))
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (1)
84
CreateConstant(TypeManager.GetPredefAgg(PredefinedType.
PT_STRING
).getThisType(), ConstVal.Get(str));
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (14)
96
new BinOpSig (PredefinedType.
PT_STRING
, PredefinedType.
PT_STRING
, BinOpMask.Equal, 0, BindStrCmpOp, OpSigFlags.Reference, BinOpFuncKind.StrCmpOp ),
97
new BinOpSig (PredefinedType.
PT_STRING
, PredefinedType.
PT_STRING
, BinOpMask.Add, 2, BindStrBinOp, OpSigFlags.Reference, BinOpFuncKind.StrBinOp ),
98
new BinOpSig (PredefinedType.
PT_STRING
, PredefinedType.PT_OBJECT, BinOpMask.Add, 1, BindStrBinOp, OpSigFlags.Reference, BinOpFuncKind.StrBinOp ),
99
new BinOpSig (PredefinedType.PT_OBJECT, PredefinedType.
PT_STRING
, BinOpMask.Add, 0, BindStrBinOp, OpSigFlags.Reference, BinOpFuncKind.StrBinOp ),
983
if (type1.IsInterfaceType || type1.IsPredefType(PredefinedType.
PT_STRING
)
991
if (type2.IsInterfaceType || type2.IsPredefType(PredefinedType.
PT_STRING
)
1000
type1.IsClassType && !type1.IsPredefType(PredefinedType.
PT_STRING
)
1003
type2.IsClassType && !type2.IsPredefType(PredefinedType.
PT_STRING
)
1828
Debug.Assert(arg1.Type.IsPredefType(PredefinedType.
PT_STRING
) || arg2.Type.IsPredefType(PredefinedType.
PT_STRING
));
1938
Debug.Assert(arg1.Type.IsPredefType(PredefinedType.
PT_STRING
) && arg2.Type.IsPredefType(PredefinedType.
PT_STRING
));
Microsoft\CSharp\RuntimeBinder\Semantics\PredefinedMembers.cs (15)
482
new PredefinedMethodInfo( PREDEFMETH.PM_EXPRESSION_PARAMETER, PredefinedType.PT_EXPRESSION, PredefinedName.PN_PARAMETER, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_PARAMETEREXPRESSION, 2, (int)PredefinedType.PT_TYPE, (int)PredefinedType.
PT_STRING
}),
505
new PredefinedMethodInfo( PREDEFMETH.PM_STRING_CONCAT_OBJECT_2, PredefinedType.
PT_STRING
, PredefinedName.PN_CONCAT, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.
PT_STRING
, 2, (int)PredefinedType.PT_OBJECT, (int)PredefinedType.PT_OBJECT }),
506
new PredefinedMethodInfo( PREDEFMETH.PM_STRING_CONCAT_OBJECT_3, PredefinedType.
PT_STRING
, PredefinedName.PN_CONCAT, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.
PT_STRING
, 3, (int)PredefinedType.PT_OBJECT, (int)PredefinedType.PT_OBJECT, (int)PredefinedType.PT_OBJECT }),
507
new PredefinedMethodInfo( PREDEFMETH.PM_STRING_CONCAT_STRING_2, PredefinedType.
PT_STRING
, PredefinedName.PN_CONCAT, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.
PT_STRING
, 2, (int)PredefinedType.
PT_STRING
, (int)PredefinedType.
PT_STRING
}),
508
new PredefinedMethodInfo( PREDEFMETH.PM_STRING_OPEQUALITY, PredefinedType.
PT_STRING
, PredefinedName.PN_OPEQUALITY, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BOOL, 2, (int)PredefinedType.
PT_STRING
, (int)PredefinedType.
PT_STRING
}),
509
new PredefinedMethodInfo( PREDEFMETH.PM_STRING_OPINEQUALITY, PredefinedType.
PT_STRING
, PredefinedName.PN_OPINEQUALITY, MethodCallingConventionEnum.Static, ACCESS.ACC_PUBLIC, 0, new int[] { (int)PredefinedType.PT_BOOL, 2, (int)PredefinedType.
PT_STRING
, (int)PredefinedType.
PT_STRING
}),
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Concatenate.cs (4)
16
Debug.Assert(first.Type.IsPredefType(PredefinedType.
PT_STRING
) || second.Type.IsPredefType(PredefinedType.
PT_STRING
));
24
if (type.IsPredefType(PredefinedType.
PT_STRING
))
29
Debug.Assert(second.Type.IsPredefType(PredefinedType.
PT_STRING
));
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (5)
188
if (expr.FirstArgument.Type.IsPredefType(PredefinedType.
PT_STRING
) && expr.SecondArgument.Type.IsPredefType(PredefinedType.
PT_STRING
))
199
Expr methodInfo = ExprFactory.CreateMethodInfo(method, SymbolLoader.GetPredefindType(PredefinedType.
PT_STRING
), null);
790
SymbolLoader.GetPredefindType(PredefinedType.
PT_STRING
); // force an ensure state
888
AggregateType stringType = SymbolLoader.GetPredefindType(PredefinedType.
PT_STRING
);
Microsoft\CSharp\RuntimeBinder\Semantics\Types\AggregateType.cs (2)
261
return PredefinedTypeFacts.IsSimpleType(pt) || pt == PredefinedType.
PT_STRING
;
393
return IsPredefined && PredefinedType == PredefinedType.
PT_STRING
Microsoft\CSharp\RuntimeBinder\Semantics\Types\PredefinedTypes.cs (2)
95
PredefinedType.
PT_STRING
=> "string",
144
new PredefinedTypeInfo(PredefinedType.
PT_STRING
, typeof(string), "System.String"),
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (1)
1577
cvType = SymbolLoader.GetPredefindType(PredefinedType.
PT_STRING
);