14 references to new
Microsoft.CodeAnalysis.CodeStyle (4)
AliasAnnotation.cs (1)
19
=>
new
(Kind, aliasName);
AnnotationTable.cs (1)
54
realAnnotation = new
SyntaxAnnotation
(_annotationKind, idString);
SpecialTypeAnnotation.cs (1)
18
=>
new
(Kind, s_fromSpecialTypes.GetOrAdd(specialType, CreateFromSpecialTypes));
SymbolAnnotation.cs (1)
18
=>
new
(Kind, DocumentationCommentId.CreateReferenceId(symbol));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Syntax\SerializationTests.cs (2)
113
var annotation = new
SyntaxAnnotation
("TestAnnotation", "this is a test");
188
var annotation1 = new
SyntaxAnnotation
("MyAnnotationId", "SomeData");
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Syntax\SerializationTests.vb (1)
197
Dim annotation = New
SyntaxAnnotation
("TestAnnotation", "this is a test")
Microsoft.CodeAnalysis.Workspaces (7)
AliasAnnotation.cs (1)
19
=>
new
(Kind, aliasName);
AnnotationTable.cs (1)
54
realAnnotation = new
SyntaxAnnotation
(_annotationKind, idString);
CodeActions\Annotations\ConflictAnnotation.cs (1)
15
=>
new
(Kind, description);
CodeActions\Annotations\WarningAnnotation.cs (1)
15
=>
new
(Kind, description);
CodeCleanup\AbstractCodeCleanerService.cs (1)
661
: this(type, oppositeMarkerType, new
SyntaxAnnotation
(AnnotationId, string.Format("{0} {1}", type, oppositeMarkerType)))
SpecialTypeAnnotation.cs (1)
18
=>
new
(Kind, s_fromSpecialTypes.GetOrAdd(specialType, CreateFromSpecialTypes));
SymbolAnnotation.cs (1)
18
=>
new
(Kind, DocumentationCommentId.CreateReferenceId(symbol));