1 write to Data
Microsoft.CodeAnalysis (1)
Syntax\SyntaxAnnotation.cs (1)
46this.Data = data;
17 references to Data
Microsoft.CodeAnalysis (1)
Syntax\SyntaxAnnotation.cs (1)
51return string.Format("Annotation: Kind='{0}' Data='{1}'", this.Kind ?? "", this.Data ?? "");
Microsoft.CodeAnalysis.CodeStyle (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\AliasAnnotation.cs (1)
16=> annotation.Data!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SpecialTypeAnnotation.cs (1)
21=> s_toSpecialTypes.GetOrAdd(annotation.Data!, CreateToSpecialTypes);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SymbolAnnotation.cs (2)
24=> annotation.Data is null 26: DocumentationCommentId.GetSymbolsForReferenceId(annotation.Data, compilation);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AnnotationTable.cs (2)
103Contract.ThrowIfNull(ra.Data); 104if (_annotationMap.TryGetValue(ra.Data, out var annotation))
Microsoft.CodeAnalysis.Workspaces (10)
CodeActions\Annotations\ConflictAnnotation.cs (1)
18=> annotation.Data;
CodeActions\Annotations\WarningAnnotation.cs (1)
18=> annotation.Data;
CodeCleanup\AbstractCodeCleanerService.cs (2)
668Contract.ThrowIfNull(annotation.Data); 670var types = annotation.Data.Split(s_separators).Select(s => (SpanMarkerType)Enum.Parse(typeof(SpanMarkerType), s)).ToArray();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\AliasAnnotation.cs (1)
16=> annotation.Data!;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SpecialTypeAnnotation.cs (1)
21=> s_toSpecialTypes.GetOrAdd(annotation.Data!, CreateToSpecialTypes);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Simplification\SymbolAnnotation.cs (2)
24=> annotation.Data is null 26: DocumentationCommentId.GetSymbolsForReferenceId(annotation.Data, compilation);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AnnotationTable.cs (2)
103Contract.ThrowIfNull(ra.Data); 104if (_annotationMap.TryGetValue(ra.Data, out var annotation))