2 references to DiffersInReadOnlyModifier
Microsoft.CodeAnalysis.CSharp.Features (2)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (2)
1312
if (oldNode is PropertyDeclarationSyntax oldProperty && newNode is PropertyDeclarationSyntax newProperty &&
DiffersInReadOnlyModifier
(oldProperty.Modifiers, newProperty.Modifiers) ||
1313
oldNode is IndexerDeclarationSyntax oldIndexer && newNode is IndexerDeclarationSyntax newIndexer &&
DiffersInReadOnlyModifier
(oldIndexer.Modifiers, newIndexer.Modifiers))