9 references to Create
Microsoft.CodeAnalysis (5)
Compilation\Expression.cs (1)
20
return ConstantValue.
Create
((ulong)value);
ConstantValue.cs (1)
380
case ConstantValueTypeDiscriminator.UInt64: return
Create
((ulong)value);
EnumConstantHelper.cs (1)
106
offsetValue = ConstantValue.
Create
((ulong)(previous + offset));
MetadataReader\MetadataDecoder.cs (1)
1099
return ConstantValue.
Create
(sigReader.ReadUInt64());
MetadataReader\PEModule.cs (1)
3767
return ConstantValue.
Create
(reader.ReadUInt64());
Microsoft.CodeAnalysis.CSharp (4)
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
807
cases = node.Cases.SelectAsArray(p => (ConstantValue.
Create
((ulong)p.value.UInt32Value), p.label));
Lowering\LocalRewriter\LocalRewriter_Literal.cs (1)
118
arguments.Add(new BoundLiteral(syntax, ConstantValue.
Create
((ulong)value), _compilation.GetSpecialType(SpecialType.System_UInt64)));
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
1261
constantOne = ConstantValue.
Create
(1LU);
Utilities\ValueSetFactory.ULongTC.cs (1)
57
ConstantValue INumericTC<ulong>.ToConstantValue(ulong value) => ConstantValue.
Create
(value);