1 implementation of FormatString
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
8444public IOperation? FormatString { get; }
13 references to FormatString
Microsoft.CodeAnalysis (3)
Operations\ControlFlowGraphBuilder.cs (3)
7054if (interpolation.FormatString != null) 7056Debug.Assert(interpolation.FormatString is ILiteralOperation or IConversionOperation { Operand: ILiteralOperation }); 7057rewrittenFormatString = VisitRequired(interpolation.FormatString, argument: null);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\SimplifyInterpolation\AbstractSimplifyInterpolationHelpers.cs (1)
43if (interpolation.FormatString == null)
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\SimplifyInterpolation\AbstractSimplifyInterpolationHelpers.cs (1)
43if (interpolation.FormatString == null)
Microsoft.CodeAnalysis.Test.Utilities (8)
Compilation\OperationTreeVerifier.cs (4)
1925Visit(operation.FormatString, "FormatString"); 1927if (operation.FormatString != null && operation.FormatString.Kind != OperationKind.Literal) 1929Assert.Equal(OperationKind.Literal, ((IConversionOperation)operation.FormatString).Operand.Kind);
Compilation\TestOperationVisitor.cs (4)
1306if (operation.FormatString != null) 1308if (operation.FormatString.Kind != OperationKind.Literal) 1310Assert.Equal(OperationKind.Literal, ((IConversionOperation)operation.FormatString).Operand.Kind); 1312children = children.Concat(new[] { operation.FormatString });