2 references to IsStringLiteralOrStaticReference
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Performance\UseCompositeFormat.cs (2)
133if (IsStringLiteralOrStaticReference(stringArg)) 174if (!arg.ConstantValue.HasValue && !IsStringLiteralOrStaticReference(arg.Value, allowLiteral: true))