3 references to IsConstantByteOrCharCollectionExpression
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Performance\CSharpUseSearchValues.cs (2)
54(semanticModel.GetOperation(expression) is { } operation && IsConstantByteOrCharCollectionExpression(operation, values: null, out length))); 120IsConstantByteOrCharCollectionExpression(operation, values, out length);
Microsoft.CodeAnalysis.NetAnalyzers (1)
Microsoft.NetCore.Analyzers\Performance\UseSearchValues.cs (1)
187else if (IsConstantByteOrCharCollectionExpression(conversion.Operand, values: null, out length))