32 references to ReportDiagnosticsIfObsolete
Microsoft.CodeAnalysis.CSharp (32)
Binder\Binder.cs (1)
628
ReportDiagnosticsIfObsolete
(diagnostics, conversion.Method, node, hasBaseReceiver);
Binder\Binder.ValueChecks.cs (2)
2027
ReportDiagnosticsIfObsolete
(diagnostics, setMethod, node, receiver?.Kind == BoundKind.BaseReference);
2077
ReportDiagnosticsIfObsolete
(diagnostics, getMethod, node, receiver?.Kind == BoundKind.BaseReference);
Binder\Binder_Attributes.cs (2)
529
ReportDiagnosticsIfObsolete
(diagnostics, namedArgumentNameSymbol, namedArgument, hasBaseReceiver: false);
537
ReportDiagnosticsIfObsolete
(diagnostics, setMethod, namedArgument, hasBaseReceiver: false);
Binder\Binder_Await.cs (2)
533
@this.
ReportDiagnosticsIfObsolete
(diagnostics, method, syntax, hasBaseReceiver: false);
534
@this.
ReportDiagnosticsIfObsolete
(diagnostics, method.ContainingType, syntax, hasBaseReceiver: false);
Binder\Binder_Conversions.cs (5)
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);
3040
ReportDiagnosticsIfObsolete
(diagnostics, selectedMethod, syntax, hasBaseReceiver: false);
Binder\Binder_Expressions.cs (7)
1994
ReportDiagnosticsIfObsolete
(diagnostics, symbol, node, hasBaseReceiver: false);
5031
ReportDiagnosticsIfObsolete
(diagnostics, resultMember, nonNullSyntax, hasBaseReceiver: isBaseConstructorInitializer);
6820
ReportDiagnosticsIfObsolete
(diagnostics, method, node, hasBaseReceiver: false);
7853
ReportDiagnosticsIfObsolete
(diagnostics, type, node, hasBaseReceiver: false);
8458
ReportDiagnosticsIfObsolete
(diagnostics, symbol, node, hasBaseReceiver: left.Kind == BoundKind.BaseReference);
9020
ReportDiagnosticsIfObsolete
(diagnostics, propertySymbol, node, hasBaseReceiver: receiver?.Kind == BoundKind.BaseReference);
10184
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 (3)
469
ReportDiagnosticsIfObsolete
(diagnostics, method, node, hasBaseReceiver: false);
2117
ReportDiagnosticsIfObsolete
(diagnostics, operatorMethod, node, hasBaseReceiver: false);
3425
ReportDiagnosticsIfObsolete
(diagnostics, method, node, hasBaseReceiver: false);
Binder\Binder_Symbols.cs (3)
268
ReportDiagnosticsIfObsolete
(diagnostics, type, syntax, hasBaseReceiver: false);
1146
argTuple.Item1.
ReportDiagnosticsIfObsolete
(argTuple.diagnostics, typePart, argTuple.syntax, hasBaseReceiver: false);
1657
ReportDiagnosticsIfObsolete
(diagnostics, left, leftName, hasBaseReceiver: false);
Binder\ForEachLoopBinder.cs (4)
466
ReportDiagnosticsIfObsolete
(diagnostics, getEnumeratorMethod, foreachKeyword, hasBaseReceiver: false);
473
ReportDiagnosticsIfObsolete
(diagnostics, builder.MoveNextInfo.Method, foreachKeyword, hasBaseReceiver: false);
474
ReportDiagnosticsIfObsolete
(diagnostics, builder.CurrentPropertyGetter, foreachKeyword, hasBaseReceiver: false);
475
ReportDiagnosticsIfObsolete
(diagnostics, builder.CurrentPropertyGetter.AssociatedSymbol, foreachKeyword, 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);