8 references to LiteralOperation
Microsoft.CodeAnalysis (8)
Generated\Operations.Generated.cs (1)
10894
return new
LiteralOperation
(internalOperation.OwningSemanticModel, internalOperation.Syntax, internalOperation.Type, internalOperation.OperationConstantValue, internalOperation.IsImplicit);
Operations\ControlFlowGraphBuilder.cs (7)
2434
AddStatement(new FlowCaptureOperation(resultId, binOp.Syntax, new
LiteralOperation
(semanticModel: null, left.Syntax, booleanType, constantValue, isImplicit: true)));
2694
AddStatement(new FlowCaptureOperation(captureId, leftSyntax, new
LiteralOperation
(semanticModel: null, leftSyntax, condition.Type, constantValue, isImplicit: true)));
4948
isUp = new
LiteralOperation
(semanticModel: null, stepValue.Syntax, booleanType, constantValue: ConstantValue.Create(false), isImplicit: true);
4956
IOperation literal = new
LiteralOperation
(semanticModel: null, stepValue.Syntax, stepValue.Type,
5243
var shiftConst = new
LiteralOperation
(semanticModel: null, operand.Syntax, _compilation.GetSpecialType(SpecialType.System_Int32),
7099
return new
LiteralOperation
(semanticModel: null, operation.Syntax, operation.Type, operation.GetConstantValue(), IsImplicit(operation));
7104
return new
LiteralOperation
(semanticModel: null, operation.Syntax, operation.Type, operation.GetConstantValue(), IsImplicit(operation));