File tree Expand file tree Collapse file tree 26 files changed +53
-132
lines changed
Expand file tree Collapse file tree 26 files changed +53
-132
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ public override void Populate(TextWriter trapFile)
7777 }
7878
7979 public new static Accessor Create ( Context cx , IMethodSymbol symbol ) =>
80- AccessorFactory . Instance . CreateEntityFromSymbol ( cx , symbol ) ;
80+ AccessorFactory . Instance . CreateEntity ( cx , symbol ) ;
8181
8282 class AccessorFactory : ICachedEntityFactory < IMethodSymbol , Accessor >
8383 {
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ ConstructorDeclarationSyntax Syntax
104104 {
105105 case MethodKind . StaticConstructor :
106106 case MethodKind . Constructor :
107- return ConstructorFactory . Instance . CreateEntityFromSymbol ( cx , constructor ) ;
107+ return ConstructorFactory . Instance . CreateEntity ( cx , constructor ) ;
108108 default :
109109 throw new InternalError ( constructor , "Attempt to create a Constructor from a symbol that isn't a constructor" ) ;
110110 }
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class Conversion : UserOperator
1111 : base ( cx , init ) { }
1212
1313 public new static Conversion Create ( Context cx , IMethodSymbol symbol ) =>
14- ConversionFactory . Instance . CreateEntityFromSymbol ( cx , symbol ) ;
14+ ConversionFactory . Instance . CreateEntity ( cx , symbol ) ;
1515
1616 public override Microsoft . CodeAnalysis . Location ReportingLocation
1717 {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public override void Populate(TextWriter trapFile)
2424 }
2525
2626 public new static Destructor Create ( Context cx , IMethodSymbol symbol ) =>
27- DestructorFactory . Instance . CreateEntityFromSymbol ( cx , symbol ) ;
27+ DestructorFactory . Instance . CreateEntity ( cx , symbol ) ;
2828
2929 class DestructorFactory : ICachedEntityFactory < IMethodSymbol , Destructor >
3030 {
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public override void Populate(TextWriter trapFile)
6060 TypeMention . Create ( Context , syntaxType , this , type ) ;
6161 }
6262
63- public static Event Create ( Context cx , IEventSymbol symbol ) => EventFactory . Instance . CreateEntityFromSymbol ( cx , symbol ) ;
63+ public static Event Create ( Context cx , IEventSymbol symbol ) => EventFactory . Instance . CreateEntity ( cx , symbol ) ;
6464
6565 class EventFactory : ICachedEntityFactory < IEventSymbol , Event >
6666 {
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public override void Populate(TextWriter trapFile)
5353 }
5454
5555 public new static EventAccessor Create ( Context cx , IMethodSymbol symbol ) =>
56- EventAccessorFactory . Instance . CreateEntityFromSymbol ( cx , symbol ) ;
56+ EventAccessorFactory . Instance . CreateEntity ( cx , symbol ) ;
5757
5858 class EventAccessorFactory : ICachedEntityFactory < IMethodSymbol , EventAccessor >
5959 {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class Field : CachedSymbol<IFieldSymbol>, IExpressionParentEntity
1818 type = new Lazy < AnnotatedType > ( ( ) => Entities . Type . Create ( cx , symbol . GetAnnotatedType ( ) ) ) ;
1919 }
2020
21- public static Field Create ( Context cx , IFieldSymbol field ) => FieldFactory . Instance . CreateEntityFromSymbol ( cx , field ) ;
21+ public static Field Create ( Context cx , IFieldSymbol field ) => FieldFactory . Instance . CreateEntity ( cx , field ) ;
2222
2323 // Do not populate backing fields.
2424 // Populate Tuple fields.
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ public override void Populate(TextWriter trapFile)
7171 TypeMention . Create ( Context , syntax . Type , this , type ) ;
7272 }
7373
74- public static new Indexer Create ( Context cx , IPropertySymbol prop ) => IndexerFactory . Instance . CreateEntityFromSymbol ( cx , prop ) ;
74+ public static new Indexer Create ( Context cx , IPropertySymbol prop ) => IndexerFactory . Instance . CreateEntity ( cx , prop ) ;
7575
7676 public override void WriteId ( TextWriter trapFile )
7777 {
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public override void WriteQuotedId(TextWriter trapFile)
2222 trapFile . Write ( '*' ) ;
2323 }
2424
25- public static new LocalFunction Create ( Context cx , IMethodSymbol field ) => LocalFunctionFactory . Instance . CreateEntityFromSymbol ( cx , field ) ;
25+ public static new LocalFunction Create ( Context cx , IMethodSymbol field ) => LocalFunctionFactory . Instance . CreateEntity ( cx , field ) ;
2626
2727 class LocalFunctionFactory : ICachedEntityFactory < IMethodSymbol , LocalFunction >
2828 {
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ symbol is ILocalSymbol l ?
4343
4444 public static LocalVariable Create ( Context cx , ISymbol local )
4545 {
46- return LocalVariableFactory . Instance . CreateEntityFromSymbol ( cx , local ) ;
46+ return LocalVariableFactory . Instance . CreateEntity ( cx , local ) ;
4747 }
4848
4949 void DefineConstantValue ( TextWriter trapFile )
You can’t perform that action at this time.
0 commit comments