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