22 references to ConflictAnnotation
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Analyzers\Core\CodeFixes\AddParameter\AddParameterService.cs (1)
139ConflictAnnotation.Create(CodeFixesResources.Related_method_signatures_found_in_metadata_will_not_be_updated));
src\Analyzers\Core\CodeFixes\ImplementAbstractClass\ImplementAbstractClassData.cs (1)
103_classIdentifier.WithAdditionalAnnotations(ConflictAnnotation.Create(
Microsoft.CodeAnalysis.CSharp.Features (4)
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (1)
131=> ConflictAnnotation.Create(FeaturesResources.Conflict_s_detected);
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (1)
483var annotation = ConflictAnnotation.Create(FeaturesResources.Conflict_s_detected);
ReplaceMethodWithProperty\CSharpReplaceMethodWithPropertyService.cs (2)
324var annotation = ConflictAnnotation.Create(FeaturesResources.Only_methods_with_a_single_argument_which_is_not_an_out_variable_declaration_can_be_replaced_with_a_property); 383var annotation = ConflictAnnotation.Create(FeaturesResources.Non_invoked_method_cannot_be_replaced_with_property);
Microsoft.CodeAnalysis.EditorFeatures (3)
Preview\AbstractPreviewFactoryService.cs (3)
444var conflictNodes = newRoot.GetAnnotatedNodesAndTokens(ConflictAnnotation.Kind); 446var conflictDescriptions = conflictNodes.SelectMany(n => n.GetAnnotations(ConflictAnnotation.Kind)) 447.Select(a => $"❌ {ConflictAnnotation.GetDescription(a)}")
Microsoft.CodeAnalysis.Features (8)
ReplaceMethodWithProperty\ReplaceMethodWithPropertyCodeRefactoringProvider.cs (2)
261ConflictAnnotation.Create(FeaturesResources.Method_referenced_implicitly))); 301ConflictAnnotation.Create(FeaturesResources.Method_referenced_implicitly)));
ReplacePropertyWithMethods\AbstractReplacePropertyWithMethodsService.cs (1)
440token = token.WithAdditionalAnnotations(ConflictAnnotation.Create(conflictMessage));
ReplacePropertyWithMethods\ReplacePropertyWithMethodsCodeRefactoringProvider.cs (3)
264ConflictAnnotation.Create(FeaturesResources.Property_referenced_implicitly))); 269ConflictAnnotation.Create(FeaturesResources.Property_reference_cannot_be_updated))); 274ConflictAnnotation.Create(FeaturesResources.Property_reference_cannot_be_updated)));
src\Analyzers\Core\CodeFixes\AddParameter\AddParameterService.cs (1)
139ConflictAnnotation.Create(CodeFixesResources.Related_method_signatures_found_in_metadata_will_not_be_updated));
src\Analyzers\Core\CodeFixes\ImplementAbstractClass\ImplementAbstractClassData.cs (1)
103_classIdentifier.WithAdditionalAnnotations(ConflictAnnotation.Create(
Microsoft.CodeAnalysis.VisualBasic.Features (5)
CodeRefactorings\InlineTemporary\VisualBasicInlineTemporaryCodeRefactoringProvider.ReferenceRewriter.vb (1)
53ConflictAnnotation.Create(FeaturesResources.Conflict_s_detected)))
CodeRefactorings\InlineTemporary\VisualBasicInlineTemporaryCodeRefactoringProvider.vb (3)
201Dim conflicts = newScope.GetAnnotatedNodesAndTokens(ConflictAnnotation.Kind) 202Dim declaratorConflicts = modifiedIdentifier.GetAnnotatedNodesAndTokens(ConflictAnnotation.Kind) 466.WithAdditionalAnnotations(ConflictAnnotation.Create(FeaturesResources.Conflict_s_detected))
ReplaceMethodWithProperty\VisualBasicReplaceMethodWithPropertyService.vb (1)
184Dim annotation = ConflictAnnotation.Create(FeaturesResources.Non_invoked_method_cannot_be_replaced_with_property)