8 references to Create
Microsoft.CodeAnalysis (8)
Compilation\Expression.cs (1)
32
return ConstantValue.
Create
(value != 0);
ConstantValue.cs (1)
384
case ConstantValueTypeDiscriminator.Boolean: return
Create
((bool)value);
MetadataReader\MetadataDecoder.cs (1)
1063
return ConstantValue.
Create
(sigReader.ReadBoolean());
MetadataReader\PEModule.cs (1)
3703
return ConstantValue.
Create
(reader.ReadBoolean());
Operations\ControlFlowGraphBuilder.cs (4)
2433
ConstantValue constantValue = ConstantValue.
Create
(!isAndAlso);
2692
var constantValue = ConstantValue.
Create
(stopValue);
3316
? ConstantValue.
Create
(isNull)
4948
isUp = new LiteralOperation(semanticModel: null, stepValue.Syntax, booleanType, constantValue: ConstantValue.
Create
(false), isImplicit: true);