1 implementation of Value
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
10018
public IOperation
Value
{ get; }
9 references to Value
Microsoft.CodeAnalysis (1)
Operations\ControlFlowGraphBuilder.cs (1)
7600
value: VisitRequired(operation.
Value
),
Microsoft.CodeAnalysis.Features (1)
InitializeParameter\AbstractAddParameterCheckCodeRefactoringProvider.cs (1)
321
Value
: ILiteralOperation value
Microsoft.CodeAnalysis.NetAnalyzers (7)
Microsoft.NetCore.Analyzers\Performance\UseCountProperly.cs (7)
343
if (negatedPattern.Pattern is IRelationalPatternOperation { OperatorKind: BinaryOperatorKind.GreaterThan,
Value
: ILiteralOperation { ConstantValue: { HasValue: true, Value: 0 } } }
344
or IRelationalPatternOperation { OperatorKind: BinaryOperatorKind.GreaterThanOrEqual,
Value
: ILiteralOperation { ConstantValue: { HasValue: true, Value: 1 } } })
353
or IRelationalPatternOperation { OperatorKind: BinaryOperatorKind.LessThanOrEqual,
Value
: ILiteralOperation { ConstantValue: { HasValue: true, Value: 0 } } };
368
if (relationalPattern is { OperatorKind: BinaryOperatorKind.LessThan,
Value
: ILiteralOperation { ConstantValue: { HasValue: true, Value: 1 } } }
369
or { OperatorKind: BinaryOperatorKind.LessThanOrEqual,
Value
: ILiteralOperation { ConstantValue: { HasValue: true, Value: 0 } } })
377
return relationalPattern is { OperatorKind: BinaryOperatorKind.GreaterThan,
Value
: ILiteralOperation { ConstantValue: { HasValue: true, Value: 0 } } }
378
or { OperatorKind: BinaryOperatorKind.GreaterThanOrEqual,
Value
: ILiteralOperation { ConstantValue: { HasValue: true, Value: 1 } } };