4 references to IsConstantByteOrCharArrayCreationExpression
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (4)
Microsoft.NetCore.Analyzers\Performance\CSharpUseSearchValues.cs (3)
32
IsConstantByteOrCharArrayCreationExpression
(semanticModel, initializer, values: null, out length);
52
(
IsConstantByteOrCharArrayCreationExpression
(semanticModel, expression, values: null, out length) ||
63
IsConstantByteOrCharArrayCreationExpression
(semanticModel, expression, values: null, out length);
Microsoft.NetCore.Analyzers\Performance\CSharpUseSearchValues.Fixer.cs (1)
115
CSharpUseSearchValuesAnalyzer.
IsConstantByteOrCharArrayCreationExpression
(operation.SemanticModel!, creationSyntax, values, out _) &&