public InconsistentLogPropertyNamingWarning(
     MessageTemplateTokenInformation tokenInformation,
     PropertyToken namedProperty,
     string suggestedName)
 {
     TokenInformation = tokenInformation;
     NamedProperty    = namedProperty;
     SuggestedName    = suggestedName;
 }
예제 #2
0
 public ComplexObjectDestructuringWarning(MessageTemplateTokenInformation tokenInformation)
 {
     TokenInformation = tokenInformation;
 }
 public AnonymousObjectDestructuringWarning(MessageTemplateTokenInformation tokenInformation)
 {
     TokenInformation = tokenInformation;
 }
예제 #4
0
 public PositionalPropertyUsedWarning(MessageTemplateTokenInformation tokenInformation)
 {
     _tokenInformation = tokenInformation;
 }
 public AddDestructuringToMessageTemplatePropertyFix([NotNull] ComplexObjectDestructuringWarning error)
 {
     _tokenInformation = error.TokenInformation;
 }
 public RenameLogPropertyFix([NotNull] InconsistentLogPropertyNamingWarning error)
 {
     _namedProperty    = error.NamedProperty;
     _suggestedName    = error.SuggestedName;
     _tokenInformation = error.TokenInformation;
 }
예제 #7
0
 public DuplicateTemplatePropertyWarning(MessageTemplateTokenInformation tokenInformation)
 {
     _documentRange = tokenInformation.DocumentRange;
 }