24 references to ReportDiagnosticsIfObsolete
Microsoft.CodeAnalysis.CSharp (24)
Binder\Binder.cs (1)
623
ReportDiagnosticsIfObsolete
(diagnostics, conversion.Method, node, hasBaseReceiver);
Binder\Binder.ValueChecks.cs (2)
1562
ReportDiagnosticsIfObsolete
(diagnostics, setMethod, node, receiver?.Kind == BoundKind.BaseReference);
1612
ReportDiagnosticsIfObsolete
(diagnostics, getMethod, node, receiver?.Kind == BoundKind.BaseReference);
Binder\Binder_Attributes.cs (3)
237
ReportDiagnosticsIfObsolete
(diagnostics, attributeConstructor, node, hasBaseReceiver: false);
509
ReportDiagnosticsIfObsolete
(diagnostics, namedArgumentNameSymbol, namedArgument, hasBaseReceiver: false);
517
ReportDiagnosticsIfObsolete
(diagnostics, setMethod, namedArgument, hasBaseReceiver: false);
Binder\Binder_Conversions.cs (1)
1482
ReportDiagnosticsIfObsolete
(diagnostics, selectedMethod, syntax, hasBaseReceiver: false);
Binder\Binder_Expressions.cs (7)
1799
ReportDiagnosticsIfObsolete
(diagnostics, symbol, node, hasBaseReceiver: false);
4273
ReportDiagnosticsIfObsolete
(diagnostics, resultMember, nonNullSyntax, hasBaseReceiver: isBaseConstructorInitializer);
5722
ReportDiagnosticsIfObsolete
(diagnostics, method, node, hasBaseReceiver: false);
6726
ReportDiagnosticsIfObsolete
(diagnostics, type, node, hasBaseReceiver: false);
7208
ReportDiagnosticsIfObsolete
(diagnostics, symbol, node, hasBaseReceiver: left.Kind == BoundKind.BaseReference);
7596
ReportDiagnosticsIfObsolete
(diagnostics, propertySymbol, node, hasBaseReceiver: receiver?.Kind == BoundKind.BaseReference);
8484
ReportDiagnosticsIfObsolete
(diagnostics, property, syntax, hasBaseReceiver: receiver != null && receiver.Kind == BoundKind.BaseReference);
Binder\Binder_Invocation.cs (1)
1111
ReportDiagnosticsIfObsolete
(diagnostics, method, node, hasBaseReceiver);
Binder\Binder_Operators.cs (1)
1345
ReportDiagnosticsIfObsolete
(diagnostics, operatorMethod, node, hasBaseReceiver: false);
Binder\Binder_Symbols.cs (3)
266
ReportDiagnosticsIfObsolete
(diagnostics, type, syntax, hasBaseReceiver: false);
1136
argTuple.Item1.
ReportDiagnosticsIfObsolete
(argTuple.diagnostics, typePart, argTuple.syntax, hasBaseReceiver: false);
1592
ReportDiagnosticsIfObsolete
(diagnostics, left, leftName, hasBaseReceiver: false);
Binder\ForEachLoopBinder.cs (4)
434
ReportDiagnosticsIfObsolete
(diagnostics, getEnumeratorMethod, foreachKeyword, hasBaseReceiver: false);
439
ReportDiagnosticsIfObsolete
(diagnostics, builder.MoveNextInfo.Method, foreachKeyword, hasBaseReceiver: false);
440
ReportDiagnosticsIfObsolete
(diagnostics, builder.CurrentPropertyGetter, foreachKeyword, hasBaseReceiver: false);
441
ReportDiagnosticsIfObsolete
(diagnostics, builder.CurrentPropertyGetter.AssociatedSymbol, foreachKeyword, hasBaseReceiver: false);
Symbols\TypeWithAnnotations.cs (1)
521
binder.
ReportDiagnosticsIfObsolete
(diagnostics, Type, syntax, hasBaseReceiver: false);