14 references to ReportDiagnosticsIfObsolete
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder.cs (1)
628ReportDiagnosticsIfObsolete(diagnostics, conversion.Method, node, hasBaseReceiver);
Binder\Binder.ValueChecks.cs (2)
1795ReportDiagnosticsIfObsolete(diagnostics, setMethod, node, receiver?.Kind == BoundKind.BaseReference); 1845ReportDiagnosticsIfObsolete(diagnostics, getMethod, node, receiver?.Kind == BoundKind.BaseReference);
Binder\Binder_Expressions.cs (5)
4966ReportDiagnosticsIfObsolete(diagnostics, resultMember, nonNullSyntax, hasBaseReceiver: isBaseConstructorInitializer); 6757ReportDiagnosticsIfObsolete(diagnostics, method, node, hasBaseReceiver: false); 8275ReportDiagnosticsIfObsolete(diagnostics, symbol, node, hasBaseReceiver: left.Kind == BoundKind.BaseReference); 8678ReportDiagnosticsIfObsolete(diagnostics, propertySymbol, node, hasBaseReceiver: receiver?.Kind == BoundKind.BaseReference); 9842ReportDiagnosticsIfObsolete(diagnostics, property, syntax, hasBaseReceiver: receiver != null && receiver.Kind == BoundKind.BaseReference);
Binder\Binder_Invocation.cs (1)
1283ReportDiagnosticsIfObsolete(diagnostics, method, node, hasBaseReceiver);
Binder\Binder_Operators.cs (1)
1376ReportDiagnosticsIfObsolete(diagnostics, operatorMethod, node, hasBaseReceiver: false);
Binder\Binder_Symbols.cs (2)
268ReportDiagnosticsIfObsolete(diagnostics, type, syntax, hasBaseReceiver: false); 1138argTuple.Item1.ReportDiagnosticsIfObsolete(argTuple.diagnostics, typePart, argTuple.syntax, hasBaseReceiver: false);
Symbols\Symbol_Attributes.cs (1)
426attributeBinder.ReportDiagnosticsIfObsolete(diagnostics, ctor, boundAttribute.Syntax, hasBaseReceiver: false);
Symbols\TypeWithAnnotations.cs (1)
549binder.ReportDiagnosticsIfObsolete(diagnostics, Type, syntax, hasBaseReceiver: false);