14 references to Create
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Analyzers\Core\CodeFixes\AddParameter\AddParameterService.cs (1)
138
ConflictAnnotation.
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)
748
var annotation = ConflictAnnotation.
Create
(FeaturesResources.Conflict_s_detected);
ReplaceMethodWithProperty\CSharpReplaceMethodWithPropertyService.cs (2)
324
var annotation = ConflictAnnotation.
Create
(FeaturesResources.Only_methods_with_a_single_argument_which_is_not_an_out_variable_declaration_can_be_replaced_with_a_property);
383
var annotation = ConflictAnnotation.
Create
(FeaturesResources.Non_invoked_method_cannot_be_replaced_with_property);
Microsoft.CodeAnalysis.Features (8)
ReplaceMethodWithProperty\ReplaceMethodWithPropertyCodeRefactoringProvider.cs (2)
261
ConflictAnnotation.
Create
(FeaturesResources.Method_referenced_implicitly)));
301
ConflictAnnotation.
Create
(FeaturesResources.Method_referenced_implicitly)));
ReplacePropertyWithMethods\AbstractReplacePropertyWithMethodsService.cs (1)
440
token = token.WithAdditionalAnnotations(ConflictAnnotation.
Create
(conflictMessage));
ReplacePropertyWithMethods\ReplacePropertyWithMethodsCodeRefactoringProvider.cs (3)
264
ConflictAnnotation.
Create
(FeaturesResources.Property_referenced_implicitly)));
269
ConflictAnnotation.
Create
(FeaturesResources.Property_reference_cannot_be_updated)));
274
ConflictAnnotation.
Create
(FeaturesResources.Property_reference_cannot_be_updated)));
src\Analyzers\Core\CodeFixes\AddParameter\AddParameterService.cs (1)
138
ConflictAnnotation.
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
(