15 references to Literal
Microsoft.CodeAnalysis.CSharp (15)
Compiler\AnonymousTypeMethodBodySynthesizer.cs (2)
278BoundExpression format = F.Literal(formatString.ToStringAndFree()); 288retExpression = F.Literal("{ }");
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
847_bound.Typeof(_typeMap.SubstituteType(p.Type).Type, _bound.WellKnownType(WellKnownType.System_Type)), _bound.Literal(p.Name)); 895var parameter = _bound.StaticCall(WellKnownMember.System_Linq_Expressions_Expression__Parameter, _bound.Typeof(fromType, _bound.WellKnownType(WellKnownType.System_Type)), _bound.Literal(parameterName));
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
470toString = _factory.Literal("");
Lowering\LocalRewriter\LocalRewriter_Event.cs (1)
310BoundExpression eventInfo = _factory.New(ctor, _factory.Typeof(node.Event.ContainingType, ctor.Parameters[0].Type), _factory.Literal(node.Event.MetadataName));
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (1)
385newGuid = _factory.New(ctor, _factory.Literal(node.GuidString));
Lowering\LocalRewriter\LocalRewriter_StringConcat.cs (2)
307return _factory.Literal(string.Empty); 365return _factory.Coalesce(loweredOperand, _factory.Literal(""));
Lowering\LocalRewriter\LoweredDynamicOperationFactory.cs (6)
244_factory.Literal(name), 280_factory.Literal(accessorName), 382_factory.Literal(name), 423_factory.Literal(name), 510_factory.Literal(name), 870return _factory.Call(null, argumentInfoFactory, _factory.Literal((int)flags), _factory.Literal(name));