Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/31/18 07:29:15 (5 years ago)
Author:
gkronber
Message:

#2520 changed name and type of parameter for StorableConstructor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • misc/tools/PersistenceCodeFix/PersistenceCodeFix/PersistenceCodeFix/Analyzers/MissingStorableConstructor/MissingStorableConstructorFix.cs

    r14989 r16473  
    5858      paramList = paramList.AddParameters(
    5959        SyntaxFactory.Parameter(
    60           SyntaxFactory.Identifier("deserializing"))
    61             .WithType(SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.BoolKeyword))));
     60          SyntaxFactory.Identifier("_"))
     61            .WithType(SyntaxFactory.ParseTypeName("StorableConstructorFlag")));
    6262
    6363      // create initializer args
     
    6565      initArgs = initArgs.AddArguments(
    6666        SyntaxFactory.Argument(
    67           SyntaxFactory.IdentifierName("deserializing")));
     67          SyntaxFactory.IdentifierName("_")));
    6868
    6969      // create initializer
Note: See TracChangeset for help on using the changeset viewer.