14 references to Create
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Analyzers\Core\CodeFixes\AddParameter\AddParameterService.cs (1)
138ConflictAnnotation.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)
748var 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.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)
138ConflictAnnotation.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(