5 references to Literal
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (1)
5779
if (segment.
Literal
is string literal)
src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (1)
662
if (segment.
Literal
is string literal)
src\libraries\System.Private.CoreLib\src\System\Text\CompositeFormat.cs (2)
46
Debug.Assert((segment.
Literal
is not null) ^ (segment.ArgIndex >= 0), "The segment should represent a literal or a format hole, but not both.");
48
if (segment.
Literal
is string literal)
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (1)
1900
if (segment.
Literal
is string literal)