15 references to Create
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
AddParameterService.cs (1)
129
ConflictAnnotation.
Create
(CodeFixesResources.Related_method_signatures_found_in_metadata_will_not_be_updated));
Microsoft.CodeAnalysis.CSharp.Features (4)
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (1)
135
=> ConflictAnnotation.
Create
(CSharpFeaturesResources.Conflict_s_detected);
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (1)
513
var annotation = ConflictAnnotation.
Create
(CSharpFeaturesResources.Conflict_s_detected);
ReplaceMethodWithProperty\CSharpReplaceMethodWithPropertyService.cs (2)
326
var annotation = ConflictAnnotation.
Create
(FeaturesResources.Only_methods_with_a_single_argument_which_is_not_an_out_variable_declaration_can_be_replaced_with_a_property);
385
var annotation = ConflictAnnotation.
Create
(FeaturesResources.Non_invoked_method_cannot_be_replaced_with_property);
Microsoft.CodeAnalysis.Features (7)
AddParameterService.cs (1)
129
ConflictAnnotation.
Create
(CodeFixesResources.Related_method_signatures_found_in_metadata_will_not_be_updated));
ImplementAbstractClass\ImplementAbstractClassData.cs (1)
104
_classIdentifier.WithAdditionalAnnotations(ConflictAnnotation.
Create
(
ReplaceMethodWithProperty\ReplaceMethodWithPropertyCodeRefactoringProvider.cs (2)
265
ConflictAnnotation.
Create
(FeaturesResources.Method_referenced_implicitly)));
305
ConflictAnnotation.
Create
(FeaturesResources.Method_referenced_implicitly)));
ReplacePropertyWithMethods\AbstractReplacePropertyWithMethodsService.cs (1)
440
token = token.WithAdditionalAnnotations(ConflictAnnotation.
Create
(conflictMessage));
ReplacePropertyWithMethods\ReplacePropertyWithMethodsCodeRefactoringProvider.cs (2)
272
ConflictAnnotation.
Create
(FeaturesResources.Property_referenced_implicitly)));
277
ConflictAnnotation.
Create
(FeaturesResources.Property_reference_cannot_be_updated)));
Microsoft.CodeAnalysis.VisualBasic.Features (3)
CodeRefactorings\InlineTemporary\VisualBasicInlineTemporaryCodeRefactoringProvider.ReferenceRewriter.vb (1)
53
ConflictAnnotation.
Create
(VBFeaturesResources.Conflict_s_detected)))
CodeRefactorings\InlineTemporary\VisualBasicInlineTemporaryCodeRefactoringProvider.vb (1)
466
.WithAdditionalAnnotations(ConflictAnnotation.
Create
(VBFeaturesResources.Conflict_s_detected))
ReplaceMethodWithProperty\VisualBasicReplaceMethodWithPropertyService.vb (1)
183
Dim annotation = ConflictAnnotation.
Create
(FeaturesResources.Non_invoked_method_cannot_be_replaced_with_property)