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