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