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