17 references to Create
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder_Conversions.cs (1)
1702
return ConstantValue.
Create
(DoUncheckedConversion(destinationType, sourceValue), destinationType);
Binder\Binder_Expressions.cs (1)
6261
cv = ConstantValue.
Create
(value, specialType);
Binder\Binder_InterpolatedString.cs (1)
167
var constantValue = ConstantValue.
Create
(text, SpecialType.System_String);
Binder\Binder_Operators.cs (7)
1810
return ConstantValue.
Create
(newValue, resultType);
1839
return ConstantValue.
Create
(newValue, resultType);
1858
return ConstantValue.
Create
(newValue, resultType);
1880
return ConstantValue.
Create
(newValue, resultType);
2829
return ConstantValue.
Create
(newValue, resultType);
2848
return ConstantValue.
Create
(newValue, resultType);
2870
return ConstantValue.
Create
(newValue, resultType);
Symbols\TypedConstantExtensions.cs (3)
54
ConstantValue valueConstant = ConstantValue.
Create
(constant.ValueInternal, splType);
89
ConstantValue memberConstant = ConstantValue.
Create
(field.ConstantValue, specialType);
167
ConstantValue memberConstant = ConstantValue.
Create
(field.ConstantValue, specialType);
Microsoft.CodeAnalysis.VisualBasic (4)
Binding\Binder_Expressions.vb (1)
4441
cv = ConstantValue.
Create
(value, specialType)
Symbols\TypedConstant.vb (3)
55
Dim valueConstant As ConstantValue = ConstantValue.
Create
(constant.ValueInternal, splType)
82
Dim memberConstant = ConstantValue.
Create
(field.ConstantValue, splType)
147
Dim memberConstant = ConstantValue.
Create
(field.ConstantValue, splType)