File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
### Fixed
11
11
12
12
- Fix analyzer [ RCS1090] ( https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1090 ) ([ PR] ( https://github.com/dotnet/roslynator/pull/1566 ) )
13
- - [ CLI] Fix command ` generate-doc ` ([ PR] ( https://github.com/dotnet/roslynator/pull/1568 ) )
13
+ - [ CLI] Fix command ` generate-doc ` ([ PR] ( https://github.com/dotnet/roslynator/pull/1568 ) , [ PR ] ( https://github.com/dotnet/roslynator/pull/1570 ) )
14
14
15
15
### Change
16
16
Original file line number Diff line number Diff line change @@ -1530,7 +1530,7 @@ void WriteConstantValue(IFieldSymbol fieldSymbol)
1530
1530
1531
1531
if ( fieldSymbol . Type . TypeKind == TypeKind . Enum )
1532
1532
{
1533
- OneOrMany < EnumFieldSymbolInfo > . Enumerator en = EnumUtility . GetConstituentFields ( fieldSymbol . ConstantValue , fieldSymbol . ContainingType ) . GetEnumerator ( ) ;
1533
+ OneOrMany < EnumFieldSymbolInfo > . Enumerator en = EnumUtility . GetConstituentFields ( fieldSymbol . ConstantValue , ( INamedTypeSymbol ) fieldSymbol . Type ) . GetEnumerator ( ) ;
1534
1534
1535
1535
if ( en . MoveNext ( ) )
1536
1536
{
You can’t perform that action at this time.
0 commit comments