Commit 368d3a8 1 parent 926e7ff commit 368d3a8 Copy full SHA for 368d3a8
File tree 1 file changed +4
-4
lines changed
src/DynamoDBGenerator.SourceGenerator/Types
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ public readonly struct CodeFactory
7
7
public CodeFactory ( IEnumerable < string > lines , IEnumerable < ITypeSymbol > dependantTypes )
8
8
{
9
9
_lines = lines ;
10
- DependantTypes = dependantTypes ;
10
+ _dependantTypes = dependantTypes ;
11
11
}
12
12
13
13
public CodeFactory ( IEnumerable < string > lines )
14
14
{
15
15
_lines = lines ;
16
- DependantTypes = Enumerable . Empty < ITypeSymbol > ( ) ;
16
+ _dependantTypes = Enumerable . Empty < ITypeSymbol > ( ) ;
17
17
}
18
18
19
19
/// <summary>
@@ -24,7 +24,7 @@ public CodeFactory(IEnumerable<string> lines)
24
24
/// <summary>
25
25
/// The types that are <see cref="_lines"/> are dependant on.
26
26
/// </summary>
27
- private IEnumerable < ITypeSymbol > DependantTypes { get ; }
27
+ private readonly IEnumerable < ITypeSymbol > _dependantTypes ;
28
28
29
29
public static IEnumerable < string > Create (
30
30
ITypeSymbol typeSymbol ,
@@ -41,7 +41,7 @@ ISet<ITypeSymbol> handledTypes
41
41
foreach ( var s in code . _lines )
42
42
yield return s ;
43
43
44
- foreach ( var nestedTypeSymbol in code . DependantTypes )
44
+ foreach ( var nestedTypeSymbol in code . _dependantTypes )
45
45
foreach ( var nestedCode in Create ( nestedTypeSymbol , codeSelector , handledTypes ) )
46
46
yield return nestedCode ;
47
47
}
You can’t perform that action at this time.
0 commit comments