20 overrides of Display
Microsoft.CodeAnalysis.CSharp (20)
BoundTree\Formatting.cs (20)
30
public override object
Display
38
public override object
Display
46
public override object
Display
54
public override object
Display
62
public override object
Display
70
public override object
Display
78
public override object
Display
107
public override object
Display
115
public override object
Display
123
public override object
Display
131
public override object
Display
139
public override object
Display
147
public override object
Display
155
public override object
Display
161
public override object
Display
167
public override object
Display
173
public override object
Display
179
public override object
Display
=> Expression.Display;
184
public override object
Display
=> FormattableStringFactory.Create("&{0}", Operand.Display);
189
public override object
Display
67 references to Display
Microsoft.CodeAnalysis.CSharp (67)
Binder\Binder_AnonymousTypes.cs (1)
245
errorArg = expression.
Display
;
Binder\Binder_Await.cs (1)
573
Error(diagnostics, ErrorCode.ERR_BadAwaitArgIntrinsic, node, expression.
Display
);
Binder\Binder_Conversions.cs (3)
2411
Error(diagnostics, ErrorCode.ERR_NoImplicitConv, spreadElement.Expression.Syntax, spreadElement.Expression.
Display
, elementType);
2479
source.Consequence.
Display
,
2480
source.Alternative.
Display
,
Binder\Binder_Expressions.cs (9)
349
object trueArg = op.Consequence.
Display
;
350
object falseArg = op.Alternative.
Display
;
2885
diagnostics.Add(ErrorCode.ERR_AmbigUDConv, syntax.Location, originalUserDefinedConversions[0], originalUserDefinedConversions[1], operand.
Display
, targetType);
7941
DiagnosticInfo diagnosticInfo = new CSDiagnosticInfo(ErrorCode.ERR_BadOpOnNullOrDefaultOrNew, SyntaxFacts.GetText(operatorToken.Kind()), boundLeft.
Display
);
8027
Error(diagnostics, ErrorCode.ERR_BadUnaryOp, node, operatorToken.Text, boundLeft.
Display
);
8464
Error(diagnostics, ErrorCode.ERR_NoSuchMember, name, boundLeft.
Display
, plainName);
10597
diagnostics.Add(errorOpt ?? new CSDiagnosticInfo(ErrorCode.ERR_BadIndexLHS, expr.
Display
), node.Location);
12450
DiagnosticInfo diagnosticInfo = new CSDiagnosticInfo(ErrorCode.ERR_CannotBeMadeNullable, access.
Display
);
12539
Error(diagnostics, ErrorCode.ERR_BadUnaryOp, operatorToken.GetLocation(), operatorToken.Text, receiver.
Display
);
Binder\Binder_Operators.cs (21)
101
Error(diagnostics, ErrorCode.ERR_BadBinaryOps, node, node.OperatorToken.Text, left.
Display
, right.
Display
);
817
Error(diagnostics, ErrorCode.ERR_BadBinaryOps, node, node.OperatorToken.Text, left.
Display
, right.
Display
);
1292
if (operatorResolutionForReporting.TryReportDiagnostics(node, this, operand.
Display
, null, diagnostics))
1301
Error(diagnostics, errorCode, node, operatorName, operand.
Display
);
1327
if (operatorResolutionForReporting.TryReportDiagnostics(node, this, left.
Display
, right.
Display
, diagnostics))
1341
Error(diagnostics, ErrorCode.ERR_AmbigBinaryOpsOnDefault, node, operatorToken.Text, left.
Display
, right.
Display
);
1352
Error(diagnostics, ErrorCode.ERR_BadOpOnNullOrDefaultOrNew, node, operatorToken.Text, left.
Display
);
1355
Error(diagnostics, ErrorCode.ERR_BadOpOnNullOrDefaultOrNew, node, operatorToken.Text, right.
Display
);
1376
Error(diagnostics, errorCode, node, operatorToken.Text, left.
Display
, right.
Display
);
4355
Error(diagnostics, ErrorCode.ERR_BadOpOnNullOrDefaultOrNew, node, operatorText, operand.
Display
);
4781
Error(diagnostics, ErrorCode.ERR_BadUnaryOp, node, SyntaxFacts.GetText(SyntaxKind.IsKeyword), operand.
Display
);
4958
diagnostics.Add(ErrorCode.ERR_BadPatternExpression, node.Left.Location, operand.
Display
);
5649
Error(diagnostics, ErrorCode.ERR_BadBinaryOps, node, SyntaxFacts.GetText(node.OperatorToken.Kind()), leftOperand.
Display
, rightOperand.
Display
);
5905
Error(diagnostics, ErrorCode.ERR_BadBinaryOps, node, SyntaxFacts.GetText(node.OperatorToken.Kind()), leftOperand.
Display
, rightOperand.
Display
);
Binder\Binder_Patterns.cs (4)
73
diagnostics.Add(ErrorCode.ERR_BadPatternExpression, node.Expression.Location, expression.
Display
);
716
diagnostics.Add(ErrorCode.ERR_PatternWrongType, expression.Syntax.Location, inputType, expression.
Display
);
728
expression.Syntax.Location, inputType, expression.
Display
, new CSharpRequiredLanguageVersion(requiredVersion));
837
diagnostics.Add(ErrorCode.ERR_PatternWrongType, expression.Syntax.Location, caseType, expression.
Display
);
Binder\Binder_Query.cs (1)
740
Error(d, ErrorCode.ERR_QueryRangeVariableAssignedBadValue, errorLocation, yExpression.
Display
);
Binder\Binder_Statements.cs (2)
908
Error(diagnostics, ErrorCode.ERR_ImplicitlyTypedVariableAssignedBadValue, errorSyntax, expression.
Display
);
2363
Error(diagnostics, ErrorCode.ERR_NoImplicitConv, syntax, operand.
Display
, targetType);
Binder\Binder_TupleOperators.cs (2)
193
Error(diagnostics, ErrorCode.ERR_BadBinaryOps, node, node.OperatorToken.Text, left.
Display
, right.
Display
);
Binder\ForEachLoopBinder.cs (1)
958
diagnostics.Add(ErrorCode.ERR_AnonMethGrpInForEach, collectionSyntax.Location, collectionExpr.
Display
);
Binder\LockBinder.cs (1)
48
Error(diagnostics, ErrorCode.ERR_LockNeedsReference, exprSyntax, expr.
Display
);
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (7)
227
Debug.Assert(arguments.Arguments.All(a => a.
Display
!= null));
1223
argument.
Display
,
1289
argument.
Display
, //'<null>' doesn't need refkind
1343
Debug.Assert(argument.
Display
!= null);
1355
argument.
Display
,
1367
if (argument.
Display
is TypeSymbol argType)
1403
argument.
Display
,
Binder\SwitchBinder.cs (1)
465
diagnostics.Add(ErrorCode.ERR_SwitchExpressionValueExpected, node.Location, switchGoverningExpression.
Display
);
Binder\SwitchExpressionBinder.cs (1)
213
diagnostics.Add(ErrorCode.ERR_BadPatternExpression, SwitchExpressionSyntax.GoverningExpression.Location, switchGoverningExpression.
Display
);
Binder\UsingStatementBinder.cs (1)
275
Error(diagnostics, errorCode, syntax, declarationTypeOpt ?? expressionOpt!.
Display
);
BoundTree\Formatting.cs (10)
40
get { return ConstantValueOpt?.IsNull == true ? MessageID.IDS_NULL.Localize() : base.
Display
; }
89
argumentDisplays[0] = arguments[0].
Display
;
94
argumentDisplays[i] = arguments[i].
Display
;
156
=> (Type is null) ? FormattableStringFactory.Create("stackalloc {0}[{1}]", ElementType, Count.WasCompilerGenerated ? null : Count.Syntax.ToString()) : base.
Display
;
162
=> (Type is null) ? MessageID.IDS_FeatureSwitchExpression.Localize() : base.
Display
;
168
=> (Type is null) ? MessageID.IDS_FeatureTargetTypedConditional.Localize() : base.
Display
;
174
=> (Type is null) ? MessageID.IDS_CollectionExpression.Localize() : base.
Display
;
179
public override object Display => Expression.
Display
;
206
argumentDisplays[0] = arguments[0].
Display
;
211
argumentDisplays[i] = arguments[i].
Display
;
Symbols\Source\ParameterHelpers.cs (1)
1000
defaultExpression.
Display
, parameterType);