File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ public override IEnumerable<IExtractionProduct> Contents
194194 for ( int i = 0 ; i < genericParams . Length ; ++ i )
195195 genericParams [ i ] = cx . Populate ( new MethodTypeParameter ( this , this , i ) ) ;
196196 for ( int i = 0 ; i < genericParams . Length ; ++ i )
197- genericParams [ i ] . PopulateHandle ( this , md . GetGenericParameters ( ) [ i ] ) ;
197+ genericParams [ i ] . PopulateHandle ( md . GetGenericParameters ( ) [ i ] ) ;
198198 foreach ( var p in genericParams )
199199 yield return p ;
200200 }
Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ IEnumerable<TypeTypeParameter> MakeTypeParameters()
438438 for ( int i = 0 ; i < newTypeParams . Length ; ++ i )
439439 newTypeParams [ i ] = cx . Populate ( new TypeTypeParameter ( this , this , i ) ) ;
440440 for ( int i = 0 ; i < newTypeParams . Length ; ++ i )
441- newTypeParams [ i ] . PopulateHandle ( this , genericParams [ i + toSkip ] ) ;
441+ newTypeParams [ i ] . PopulateHandle ( genericParams [ i + toSkip ] ) ;
442442 return newTypeParams ;
443443 }
444444
@@ -983,7 +983,7 @@ public TypeParameter(GenericContext gc) : base(gc.cx)
983983
984984 public override Type Construct ( IEnumerable < Type > typeArguments ) => throw new InternalError ( "Attempt to construct a type parameter" ) ;
985985
986- public IEnumerable < IExtractionProduct > PopulateHandle ( GenericContext gc , GenericParameterHandle parameterHandle )
986+ public IEnumerable < IExtractionProduct > PopulateHandle ( GenericParameterHandle parameterHandle )
987987 {
988988 if ( ! parameterHandle . IsNil )
989989 {
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ public override bool Equals(object? obj)
8787 readonly ISymUnmanagedReader5 reader ;
8888 readonly FileStream pdbStream ;
8989
90- public static NativePdbReader ? CreateFromAssembly ( string assemblyPath , PEReader peReader )
90+ public static NativePdbReader ? CreateFromAssembly ( PEReader peReader )
9191 {
9292 // The Native PDB reader uses an unmanaged Windows DLL
9393 // so only works on Windows.
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ class PdbReader
150150 public static IPdb ? Create ( string assemblyPath , PEReader peReader )
151151 {
152152 return ( IPdb ? ) MetadataPdbReader . CreateFromAssembly ( assemblyPath , peReader ) ??
153- NativePdbReader . CreateFromAssembly ( assemblyPath , peReader ) ;
153+ NativePdbReader . CreateFromAssembly ( peReader ) ;
154154 }
155155 }
156156}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public abstract class Method : CachedSymbol<IMethodSymbol>, IExpressionParentEnt
1212 public Method ( Context cx , IMethodSymbol init )
1313 : base ( cx , init ) { }
1414
15- protected void PopulateParameters ( TextWriter trapFile )
15+ protected void PopulateParameters ( )
1616 {
1717 var originalMethod = OriginalDefinition ;
1818 IEnumerable < IParameterSymbol > parameters = symbol . Parameters ;
@@ -332,7 +332,7 @@ protected void PopulateMethod(TextWriter trapFile)
332332 // Common population code for all callables
333333 BindComments ( ) ;
334334 PopulateAttributes ( ) ;
335- PopulateParameters ( trapFile ) ;
335+ PopulateParameters ( ) ;
336336 PopulateMethodBody ( trapFile ) ;
337337 PopulateGenerics ( trapFile ) ;
338338 PopulateMetadataHandle ( trapFile ) ;
Original file line number Diff line number Diff line change @@ -125,10 +125,6 @@ public static Property Create(Context cx, IPropertySymbol prop)
125125 return isIndexer ? Indexer . Create ( cx , prop ) : PropertyFactory . Instance . CreateEntityFromSymbol ( cx , prop ) ;
126126 }
127127
128- public void VisitDeclaration ( Context cx , PropertyDeclarationSyntax p )
129- {
130- }
131-
132128 class PropertyFactory : ICachedEntityFactory < IPropertySymbol , Property >
133129 {
134130 public static readonly PropertyFactory Instance = new PropertyFactory ( ) ;
Original file line number Diff line number Diff line change @@ -23,12 +23,6 @@ public override void DefaultVisit(SyntaxNode node)
2323 cx . ModelError ( node , $ "Unhandled syntax node { node . Kind ( ) } ") ;
2424 }
2525
26- public override void VisitPropertyDeclaration ( PropertyDeclarationSyntax node )
27- {
28- ( ( Property ) parent ) . VisitDeclaration ( cx , node ) ;
29- }
30-
31-
3226 public override void VisitArgumentList ( ArgumentListSyntax node )
3327 {
3428 int c = 0 ;
Original file line number Diff line number Diff line change @@ -204,8 +204,6 @@ class LoggerMock : ILogger
204204 public void Dispose ( ) { }
205205
206206 public void Log ( Severity s , string text ) { }
207-
208- public void Log ( Severity s , string text , params object [ ] args ) { }
209207 }
210208 }
211209
Original file line number Diff line number Diff line change @@ -49,8 +49,6 @@ class LoggerMock : ILogger
4949 public void Dispose ( ) { }
5050
5151 public void Log ( Severity s , string text ) { }
52-
53- public void Log ( Severity s , string text , params object [ ] args ) { }
5452 }
5553 }
5654}
Original file line number Diff line number Diff line change @@ -177,8 +177,6 @@ class LoggerMock : ILogger
177177 public void Dispose ( ) { }
178178
179179 public void Log ( Severity s , string text ) { }
180-
181- public void Log ( Severity s , string text , params object [ ] args ) { }
182180 }
183181 }
184182}
You can’t perform that action at this time.
0 commit comments