File tree Expand file tree Collapse file tree 3 files changed +2
-8
lines changed
ql/test/library-tests/typeMentions Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -497,13 +497,13 @@ public static IEnumerable<IParameterSymbol> GetParameters(this ISymbol parameter
497
497
/// <summary>
498
498
/// Holds if this symbol is a source declaration.
499
499
/// </summary>
500
- public static bool IsSourceDeclaration ( this ISymbol symbol ) => SymbolEqualityComparer . Default . Equals ( symbol , symbol . OriginalDefinition ) ;
500
+ public static bool IsSourceDeclaration ( this ISymbol symbol ) => SymbolEqualityComparer . IncludeNullability . Equals ( symbol , symbol . OriginalDefinition ) ;
501
501
502
502
/// <summary>
503
503
/// Holds if this method is a source declaration.
504
504
/// </summary>
505
505
public static bool IsSourceDeclaration ( this IMethodSymbol method ) =>
506
- IsSourceDeclaration ( ( ISymbol ) method ) && SymbolEqualityComparer . Default . Equals ( method , method . ConstructedFrom ) && method . ReducedFrom == null ;
506
+ IsSourceDeclaration ( ( ISymbol ) method ) && SymbolEqualityComparer . IncludeNullability . Equals ( method , method . ConstructedFrom ) && method . ReducedFrom == null ;
507
507
508
508
/// <summary>
509
509
/// Holds if this parameter is a source declaration.
Original file line number Diff line number Diff line change 1
1
| Program.cs:6:24:6:27 | Base |
2
- | Program.cs:6:24:6:27 | Base |
3
- | Program.cs:8:23:8:24 | I0 |
4
2
| Program.cs:8:23:8:24 | I0 |
5
3
| Program.cs:9:21:9:22 | I1 |
6
4
| Program.cs:13:12:13:15 | Void |
Original file line number Diff line number Diff line change 1
1
| Program.cs:6:24:6:27 | Base |
2
- | Program.cs:6:24:6:27 | Base |
3
- | Program.cs:6:24:6:27 | Base |
4
- | Program.cs:8:23:8:24 | I0 |
5
- | Program.cs:8:23:8:24 | I0 |
6
2
| Program.cs:8:23:8:24 | I0 |
7
3
| Program.cs:9:21:9:22 | I1 |
8
4
| Program.cs:13:12:13:15 | Void |
You can’t perform that action at this time.
0 commit comments