20 overrides of Display
Microsoft.CodeAnalysis.CSharp (20)
BoundTree\Formatting.cs (20)
29
public override object
Display
37
public override object
Display
45
public override object
Display
53
public override object
Display
61
public override object
Display
69
public override object
Display
77
public override object
Display
106
public override object
Display
114
public override object
Display
122
public override object
Display
130
public override object
Display
138
public override object
Display
146
public override object
Display
154
public override object
Display
160
public override object
Display
166
public override object
Display
172
public override object
Display
178
public override object
Display
=> Expression.Display;
183
public override object
Display
=> FormattableStringFactory.Create("&{0}", Operand.Display);
188
public override object
Display
59 references to Display
Microsoft.CodeAnalysis.CSharp (59)
Binder\Binder_AnonymousTypes.cs (1)
238
errorArg = expression.
Display
;
Binder\Binder_Await.cs (1)
305
Error(diagnostics, ErrorCode.ERR_BadAwaitArgIntrinsic, node, expression.
Display
);
Binder\Binder_Expressions.cs (9)
313
object trueArg = op.Consequence.
Display
;
314
object falseArg = op.Alternative.
Display
;
2761
diagnostics.Add(ErrorCode.ERR_AmbigUDConv, syntax.Location, originalUserDefinedConversions[0], originalUserDefinedConversions[1], operand.
Display
, targetType);
7636
DiagnosticInfo diagnosticInfo = new CSDiagnosticInfo(ErrorCode.ERR_BadOpOnNullOrDefaultOrNew, SyntaxFacts.GetText(operatorToken.Kind()), boundLeft.
Display
);
7722
Error(diagnostics, ErrorCode.ERR_BadUnaryOp, node, operatorToken.Text, boundLeft.
Display
);
8057
Error(diagnostics, ErrorCode.ERR_NoSuchMember, name, boundLeft.
Display
, plainName);
9264
diagnostics.Add(errorOpt ?? new CSDiagnosticInfo(ErrorCode.ERR_BadIndexLHS, expr.
Display
), node.Location);
11041
DiagnosticInfo diagnosticInfo = new CSDiagnosticInfo(ErrorCode.ERR_CannotBeMadeNullable, access.
Display
);
11130
Error(diagnostics, ErrorCode.ERR_BadUnaryOp, operatorToken.GetLocation(), operatorToken.Text, receiver.
Display
);
Binder\Binder_Operators.cs (18)
89
Error(diagnostics, ErrorCode.ERR_BadBinaryOps, node, node.OperatorToken.Text, left.
Display
, right.
Display
);
384
Error(diagnostics, ErrorCode.ERR_BadBinaryOps, node, node.OperatorToken.Text, left.
Display
, right.
Display
);
809
Error(diagnostics, errorCode, node, operatorName, operand.
Display
);
842
Error(diagnostics, ErrorCode.ERR_AmbigBinaryOpsOnDefault, node, operatorToken.Text, left.
Display
, right.
Display
);
853
Error(diagnostics, ErrorCode.ERR_BadOpOnNullOrDefaultOrNew, node, operatorToken.Text, left.
Display
);
856
Error(diagnostics, ErrorCode.ERR_BadOpOnNullOrDefaultOrNew, node, operatorToken.Text, right.
Display
);
878
Error(diagnostics, errorCode, node, operatorToken.Text, left.
Display
, right.
Display
);
2737
Error(diagnostics, ErrorCode.ERR_BadOpOnNullOrDefaultOrNew, node, operatorText, operand.
Display
);
3182
Error(diagnostics, ErrorCode.ERR_BadUnaryOp, node, SyntaxFacts.GetText(SyntaxKind.IsKeyword), operand.
Display
);
3240
isPatternDiagnostics.Add(ErrorCode.ERR_BadPatternExpression, node.Left.Location, operand.
Display
);
3977
Error(diagnostics, ErrorCode.ERR_BadBinaryOps, node, SyntaxFacts.GetText(node.OperatorToken.Kind()), leftOperand.
Display
, rightOperand.
Display
);
4235
Error(diagnostics, ErrorCode.ERR_BadBinaryOps, node, SyntaxFacts.GetText(node.OperatorToken.Kind()), leftOperand.
Display
, rightOperand.
Display
);
Binder\Binder_Patterns.cs (3)
30
diagnostics.Add(ErrorCode.ERR_BadPatternExpression, node.Expression.Location, expression.
Display
);
623
diagnostics.Add(ErrorCode.ERR_PatternWrongType, expression.Syntax.Location, inputType, expression.
Display
);
635
expression.Syntax.Location, inputType, expression.
Display
, new CSharpRequiredLanguageVersion(requiredVersion));
Binder\Binder_Query.cs (1)
735
Error(d, ErrorCode.ERR_QueryRangeVariableAssignedBadValue, errorLocation, yExpression.
Display
);
Binder\Binder_Statements.cs (2)
901
Error(diagnostics, ErrorCode.ERR_ImplicitlyTypedVariableAssignedBadValue, errorSyntax, expression.
Display
);
2316
Error(diagnostics, ErrorCode.ERR_NoImplicitConv, syntax, operand.
Display
, targetType);
Binder\Binder_TupleOperators.cs (2)
189
Error(diagnostics, ErrorCode.ERR_BadBinaryOps, node, node.OperatorToken.Text, left.
Display
, right.
Display
);
Binder\ForEachLoopBinder.cs (1)
926
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 (6)
1182
argument.
Display
,
1248
argument.
Display
, //'<null>' doesn't need refkind
1302
Debug.Assert(argument.
Display
!= null);
1314
argument.
Display
,
1326
if (argument.
Display
is TypeSymbol argType)
1362
argument.
Display
,
Binder\SwitchBinder.cs (1)
443
diagnostics.Add(ErrorCode.ERR_SwitchExpressionValueExpected, node.Location, switchGoverningExpression.
Display
);
Binder\SwitchExpressionBinder.cs (1)
202
diagnostics.Add(ErrorCode.ERR_BadPatternExpression, SwitchExpressionSyntax.GoverningExpression.Location, switchGoverningExpression.
Display
);
Binder\UsingStatementBinder.cs (1)
263
Error(diagnostics, errorCode, syntax, declarationTypeOpt ?? expressionOpt!.
Display
);
BoundTree\Formatting.cs (10)
39
get { return ConstantValueOpt?.IsNull == true ? MessageID.IDS_NULL.Localize() : base.
Display
; }
88
argumentDisplays[0] = arguments[0].
Display
;
93
argumentDisplays[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
;
178
public override object Display => Expression.
Display
;
205
argumentDisplays[0] = arguments[0].
Display
;
210
argumentDisplays[i] = arguments[i].
Display
;
Symbols\Source\ParameterHelpers.cs (1)
788
defaultExpression.
Display
, parameterType);