20 references to ReportDiagnosticsIfObsolete
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder.cs (1)
628
ReportDiagnosticsIfObsolete
(diagnostics, conversion.Method, node, hasBaseReceiver);
Binder\Binder.ValueChecks.cs (2)
1806
ReportDiagnosticsIfObsolete
(diagnostics, setMethod, node, receiver?.Kind == BoundKind.BaseReference);
1856
ReportDiagnosticsIfObsolete
(diagnostics, getMethod, node, receiver?.Kind == BoundKind.BaseReference);
Binder\Binder_Conversions.cs (6)
1069
ReportDiagnosticsIfObsolete
(diagnostics, collectionBuilderMethod.ContainingType, syntax, hasBaseReceiver: false);
1070
ReportDiagnosticsIfObsolete
(diagnostics, collectionBuilderMethod, syntax, hasBaseReceiver: false);
1186
binder.
ReportDiagnosticsIfObsolete
(diagnostics, method, node, hasBaseReceiver: false);
1432
addMethodBinder.
ReportDiagnosticsIfObsolete
(diagnostics, addMethods[0], syntax, hasBaseReceiver: false);
1627
addMethodBinder.
ReportDiagnosticsIfObsolete
(diagnostics, method, node, hasBaseReceiver: false);
3058
ReportDiagnosticsIfObsolete
(diagnostics, selectedMethod, syntax, hasBaseReceiver: false);
Binder\Binder_Expressions.cs (5)
5022
ReportDiagnosticsIfObsolete
(diagnostics, resultMember, nonNullSyntax, hasBaseReceiver: isBaseConstructorInitializer);
6813
ReportDiagnosticsIfObsolete
(diagnostics, method, node, hasBaseReceiver: false);
8451
ReportDiagnosticsIfObsolete
(diagnostics, symbol, node, hasBaseReceiver: left.Kind == BoundKind.BaseReference);
9067
ReportDiagnosticsIfObsolete
(diagnostics, propertySymbol, node, hasBaseReceiver: receiver?.Kind == BoundKind.BaseReference);
10231
ReportDiagnosticsIfObsolete
(diagnostics, property, syntax, hasBaseReceiver: receiver != null && receiver.Kind == BoundKind.BaseReference);
Binder\Binder_Invocation.cs (1)
1326
ReportDiagnosticsIfObsolete
(diagnostics, method, node, hasBaseReceiver);
Binder\Binder_Operators.cs (1)
2100
ReportDiagnosticsIfObsolete
(diagnostics, operatorMethod, node, hasBaseReceiver: false);
Binder\Binder_Symbols.cs (2)
268
ReportDiagnosticsIfObsolete
(diagnostics, type, syntax, hasBaseReceiver: false);
1146
argTuple.Item1.
ReportDiagnosticsIfObsolete
(argTuple.diagnostics, typePart, argTuple.syntax, hasBaseReceiver: false);
Symbols\Symbol_Attributes.cs (1)
426
attributeBinder.
ReportDiagnosticsIfObsolete
(diagnostics, ctor, boundAttribute.Syntax, hasBaseReceiver: false);
Symbols\TypeWithAnnotations.cs (1)
549
binder.
ReportDiagnosticsIfObsolete
(diagnostics, Type, syntax, hasBaseReceiver: false);