20 overrides of Display
Microsoft.CodeAnalysis.CSharp (20)
BoundTree\Formatting.cs (20)
29public override object Display 37public override object Display 45public override object Display 53public override object Display 61public override object Display 69public override object Display 77public override object Display 106public override object Display 114public override object Display 122public override object Display 130public override object Display 138public override object Display 146public override object Display 154public override object Display 160public override object Display 166public override object Display 172public override object Display 178public override object Display => Expression.Display; 183public override object Display => FormattableStringFactory.Create("&{0}", Operand.Display); 188public override object Display
59 references to Display
Microsoft.CodeAnalysis.CSharp (59)
Binder\Binder_AnonymousTypes.cs (1)
238errorArg = expression.Display;
Binder\Binder_Await.cs (1)
305Error(diagnostics, ErrorCode.ERR_BadAwaitArgIntrinsic, node, expression.Display);
Binder\Binder_Expressions.cs (9)
313object trueArg = op.Consequence.Display; 314object falseArg = op.Alternative.Display; 2758diagnostics.Add(ErrorCode.ERR_AmbigUDConv, syntax.Location, originalUserDefinedConversions[0], originalUserDefinedConversions[1], operand.Display, targetType); 7635DiagnosticInfo diagnosticInfo = new CSDiagnosticInfo(ErrorCode.ERR_BadOpOnNullOrDefaultOrNew, SyntaxFacts.GetText(operatorToken.Kind()), boundLeft.Display); 7721Error(diagnostics, ErrorCode.ERR_BadUnaryOp, node, operatorToken.Text, boundLeft.Display); 8056Error(diagnostics, ErrorCode.ERR_NoSuchMember, name, boundLeft.Display, plainName); 9263diagnostics.Add(errorOpt ?? new CSDiagnosticInfo(ErrorCode.ERR_BadIndexLHS, expr.Display), node.Location); 11040DiagnosticInfo diagnosticInfo = new CSDiagnosticInfo(ErrorCode.ERR_CannotBeMadeNullable, access.Display); 11129Error(diagnostics, ErrorCode.ERR_BadUnaryOp, operatorToken.GetLocation(), operatorToken.Text, receiver.Display);
Binder\Binder_Operators.cs (18)
89Error(diagnostics, ErrorCode.ERR_BadBinaryOps, node, node.OperatorToken.Text, left.Display, right.Display); 384Error(diagnostics, ErrorCode.ERR_BadBinaryOps, node, node.OperatorToken.Text, left.Display, right.Display); 809Error(diagnostics, errorCode, node, operatorName, operand.Display); 842Error(diagnostics, ErrorCode.ERR_AmbigBinaryOpsOnDefault, node, operatorToken.Text, left.Display, right.Display); 853Error(diagnostics, ErrorCode.ERR_BadOpOnNullOrDefaultOrNew, node, operatorToken.Text, left.Display); 856Error(diagnostics, ErrorCode.ERR_BadOpOnNullOrDefaultOrNew, node, operatorToken.Text, right.Display); 878Error(diagnostics, errorCode, node, operatorToken.Text, left.Display, right.Display); 2732Error(diagnostics, ErrorCode.ERR_BadOpOnNullOrDefaultOrNew, node, operatorText, operand.Display); 3177Error(diagnostics, ErrorCode.ERR_BadUnaryOp, node, SyntaxFacts.GetText(SyntaxKind.IsKeyword), operand.Display); 3235isPatternDiagnostics.Add(ErrorCode.ERR_BadPatternExpression, node.Left.Location, operand.Display); 3972Error(diagnostics, ErrorCode.ERR_BadBinaryOps, node, SyntaxFacts.GetText(node.OperatorToken.Kind()), leftOperand.Display, rightOperand.Display); 4230Error(diagnostics, ErrorCode.ERR_BadBinaryOps, node, SyntaxFacts.GetText(node.OperatorToken.Kind()), leftOperand.Display, rightOperand.Display);
Binder\Binder_Patterns.cs (3)
30diagnostics.Add(ErrorCode.ERR_BadPatternExpression, node.Expression.Location, expression.Display); 623diagnostics.Add(ErrorCode.ERR_PatternWrongType, expression.Syntax.Location, inputType, expression.Display); 635expression.Syntax.Location, inputType, expression.Display, new CSharpRequiredLanguageVersion(requiredVersion));
Binder\Binder_Query.cs (1)
735Error(d, ErrorCode.ERR_QueryRangeVariableAssignedBadValue, errorLocation, yExpression.Display);
Binder\Binder_Statements.cs (2)
901Error(diagnostics, ErrorCode.ERR_ImplicitlyTypedVariableAssignedBadValue, errorSyntax, expression.Display); 2313Error(diagnostics, ErrorCode.ERR_NoImplicitConv, syntax, operand.Display, targetType);
Binder\Binder_TupleOperators.cs (2)
189Error(diagnostics, ErrorCode.ERR_BadBinaryOps, node, node.OperatorToken.Text, left.Display, right.Display);
Binder\ForEachLoopBinder.cs (1)
926diagnostics.Add(ErrorCode.ERR_AnonMethGrpInForEach, collectionSyntax.Location, collectionExpr.Display);
Binder\LockBinder.cs (1)
48Error(diagnostics, ErrorCode.ERR_LockNeedsReference, exprSyntax, expr.Display);
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (6)
1182argument.Display, 1248argument.Display, //'<null>' doesn't need refkind 1302Debug.Assert(argument.Display != null); 1314argument.Display, 1326if (argument.Display is TypeSymbol argType) 1362argument.Display,
Binder\SwitchBinder.cs (1)
443diagnostics.Add(ErrorCode.ERR_SwitchExpressionValueExpected, node.Location, switchGoverningExpression.Display);
Binder\SwitchExpressionBinder.cs (1)
202diagnostics.Add(ErrorCode.ERR_BadPatternExpression, SwitchExpressionSyntax.GoverningExpression.Location, switchGoverningExpression.Display);
Binder\UsingStatementBinder.cs (1)
263Error(diagnostics, errorCode, syntax, declarationTypeOpt ?? expressionOpt!.Display);
BoundTree\Formatting.cs (10)
39get { return ConstantValueOpt?.IsNull == true ? MessageID.IDS_NULL.Localize() : base.Display; } 88argumentDisplays[0] = arguments[0].Display; 93argumentDisplays[i] = arguments[i].Display; 155=> (Type is null) ? FormattableStringFactory.Create("stackalloc {0}[{1}]", ElementType, Count.WasCompilerGenerated ? null : Count.Syntax.ToString()) : base.Display; 161=> (Type is null) ? MessageID.IDS_FeatureSwitchExpression.Localize() : base.Display; 167=> (Type is null) ? MessageID.IDS_FeatureTargetTypedConditional.Localize() : base.Display; 173=> (Type is null) ? MessageID.IDS_FeatureCollectionExpressions.Localize() : base.Display; 178public override object Display => Expression.Display; 205argumentDisplays[0] = arguments[0].Display; 210argumentDisplays[i] = arguments[i].Display;
Symbols\Source\ParameterHelpers.cs (1)
788defaultExpression.Display, parameterType);