21 references to ReportDiagnosticsIfObsolete
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder.cs (1)
630
ReportDiagnosticsIfObsolete
(diagnostics, conversion.Method, node, hasBaseReceiver);
Binder\Binder.ValueChecks.cs (2)
2079
ReportDiagnosticsIfObsolete
(diagnostics, setMethod, node, receiver?.Kind == BoundKind.BaseReference);
2130
ReportDiagnosticsIfObsolete
(diagnostics, getMethod, node, receiver?.Kind == BoundKind.BaseReference);
Binder\Binder_Await.cs (2)
546
@this.
ReportDiagnosticsIfObsolete
(diagnostics, method, syntax, hasBaseReceiver: false);
547
@this.
ReportDiagnosticsIfObsolete
(diagnostics, method.ContainingType, syntax, hasBaseReceiver: false);
Binder\Binder_Conversions.cs (5)
1572
ReportDiagnosticsIfObsolete
(diagnostics, collectionBuilderMethod.ContainingType, syntax, hasBaseReceiver: false);
1573
ReportDiagnosticsIfObsolete
(diagnostics, collectionBuilderMethod, syntax, hasBaseReceiver: false);
1706
binder.
ReportDiagnosticsIfObsolete
(diagnostics, method, node, hasBaseReceiver: false);
1956
addMethodBinder.
ReportDiagnosticsIfObsolete
(diagnostics, addMethods[0], syntax, hasBaseReceiver: false);
3553
ReportDiagnosticsIfObsolete
(diagnostics, selectedMethod, syntax, hasBaseReceiver: false);
Binder\Binder_Expressions.cs (5)
5109
ReportDiagnosticsIfObsolete
(diagnostics, resultMember, nonNullSyntax, hasBaseReceiver: isBaseConstructorInitializer);
6983
ReportDiagnosticsIfObsolete
(diagnostics, method, node, hasBaseReceiver: false);
8695
ReportDiagnosticsIfObsolete
(diagnostics, symbol, node, hasBaseReceiver: left.Kind == BoundKind.BaseReference);
9312
ReportDiagnosticsIfObsolete
(diagnostics, propertySymbol, node, hasBaseReceiver: receiver?.Kind == BoundKind.BaseReference);
10496
ReportDiagnosticsIfObsolete
(diagnostics, property, syntax, hasBaseReceiver: receiver != null && receiver.Kind == BoundKind.BaseReference);
Binder\Binder_Invocation.cs (1)
1332
ReportDiagnosticsIfObsolete
(diagnostics, method, node, hasBaseReceiver);
Binder\Binder_Operators.cs (1)
2220
ReportDiagnosticsIfObsolete
(diagnostics, operatorMethod, node, hasBaseReceiver: false);
Binder\Binder_Symbols.cs (2)
270
ReportDiagnosticsIfObsolete
(diagnostics, type, syntax, hasBaseReceiver: false);
1150
argTuple.Item1.
ReportDiagnosticsIfObsolete
(argTuple.diagnostics, typePart, argTuple.syntax, hasBaseReceiver: false);
Symbols\Symbol_Attributes.cs (1)
430
attributeBinder.
ReportDiagnosticsIfObsolete
(diagnostics, ctor, boundAttribute.Syntax, hasBaseReceiver: false);
Symbols\TypeWithAnnotations.cs (1)
549
binder.
ReportDiagnosticsIfObsolete
(diagnostics, Type, syntax, hasBaseReceiver: false);