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)
77
77
}
78
78
79
79
public new static Accessor Create ( Context cx , IMethodSymbol symbol ) =>
80
- AccessorFactory . Instance . CreateEntityFromSymbol ( cx , symbol ) ;
80
+ AccessorFactory . Instance . CreateEntity ( cx , symbol ) ;
81
81
82
82
class AccessorFactory : ICachedEntityFactory < IMethodSymbol , Accessor >
83
83
{
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ ConstructorDeclarationSyntax Syntax
104
104
{
105
105
case MethodKind . StaticConstructor :
106
106
case MethodKind . Constructor :
107
- return ConstructorFactory . Instance . CreateEntityFromSymbol ( cx , constructor ) ;
107
+ return ConstructorFactory . Instance . CreateEntity ( cx , constructor ) ;
108
108
default :
109
109
throw new InternalError ( constructor , "Attempt to create a Constructor from a symbol that isn't a constructor" ) ;
110
110
}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class Conversion : UserOperator
11
11
: base ( cx , init ) { }
12
12
13
13
public new static Conversion Create ( Context cx , IMethodSymbol symbol ) =>
14
- ConversionFactory . Instance . CreateEntityFromSymbol ( cx , symbol ) ;
14
+ ConversionFactory . Instance . CreateEntity ( cx , symbol ) ;
15
15
16
16
public override Microsoft . CodeAnalysis . Location ReportingLocation
17
17
{
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public override void Populate(TextWriter trapFile)
24
24
}
25
25
26
26
public new static Destructor Create ( Context cx , IMethodSymbol symbol ) =>
27
- DestructorFactory . Instance . CreateEntityFromSymbol ( cx , symbol ) ;
27
+ DestructorFactory . Instance . CreateEntity ( cx , symbol ) ;
28
28
29
29
class DestructorFactory : ICachedEntityFactory < IMethodSymbol , Destructor >
30
30
{
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public override void Populate(TextWriter trapFile)
60
60
TypeMention . Create ( Context , syntaxType , this , type ) ;
61
61
}
62
62
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 ) ;
64
64
65
65
class EventFactory : ICachedEntityFactory < IEventSymbol , Event >
66
66
{
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public override void Populate(TextWriter trapFile)
53
53
}
54
54
55
55
public new static EventAccessor Create ( Context cx , IMethodSymbol symbol ) =>
56
- EventAccessorFactory . Instance . CreateEntityFromSymbol ( cx , symbol ) ;
56
+ EventAccessorFactory . Instance . CreateEntity ( cx , symbol ) ;
57
57
58
58
class EventAccessorFactory : ICachedEntityFactory < IMethodSymbol , EventAccessor >
59
59
{
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class Field : CachedSymbol<IFieldSymbol>, IExpressionParentEntity
18
18
type = new Lazy < AnnotatedType > ( ( ) => Entities . Type . Create ( cx , symbol . GetAnnotatedType ( ) ) ) ;
19
19
}
20
20
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 ) ;
22
22
23
23
// Do not populate backing fields.
24
24
// Populate Tuple fields.
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ public override void Populate(TextWriter trapFile)
71
71
TypeMention . Create ( Context , syntax . Type , this , type ) ;
72
72
}
73
73
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 ) ;
75
75
76
76
public override void WriteId ( TextWriter trapFile )
77
77
{
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public override void WriteQuotedId(TextWriter trapFile)
22
22
trapFile . Write ( '*' ) ;
23
23
}
24
24
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 ) ;
26
26
27
27
class LocalFunctionFactory : ICachedEntityFactory < IMethodSymbol , LocalFunction >
28
28
{
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ symbol is ILocalSymbol l ?
43
43
44
44
public static LocalVariable Create ( Context cx , ISymbol local )
45
45
{
46
- return LocalVariableFactory . Instance . CreateEntityFromSymbol ( cx , local ) ;
46
+ return LocalVariableFactory . Instance . CreateEntity ( cx , local ) ;
47
47
}
48
48
49
49
void DefineConstantValue ( TextWriter trapFile )
You can’t perform that action at this time.
0 commit comments