2 writes to ExceptionTypes
Microsoft.CodeAnalysis.Workspaces (2)
Shared\Utilities\DocumentationComment.cs (2)
89ExceptionTypes = ImmutableArray<string>.Empty; 163_comment.ExceptionTypes = _exceptionTypesBuilder == null ? ImmutableArray<string>.Empty : _exceptionTypesBuilder.ToImmutable();
13 references to ExceptionTypes
Microsoft.CodeAnalysis.Features (2)
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (1)
246var exceptionTypes = symbol.GetDocumentationComment(GetCompilation(), expandIncludes: true, expandInheritdoc: true).ExceptionTypes;
MetadataAsSource\AbstractMetadataAsSourceService.DocCommentFormatter.cs (1)
113var exceptionTypes = docComment.ExceptionTypes;
Microsoft.CodeAnalysis.Workspaces.UnitTests (9)
UtilityTest\DocumentationCommentTests.cs (9)
47Assert.Equal("System.Exception", comment.ExceptionTypes[0]); 73Assert.Equal("System.Exception", comment.ExceptionTypes[0]); 141Assert.Equal("z", comment.ExceptionTypes[0]); 142Assert.Equal("a", comment.ExceptionTypes[1]); 143Assert.Equal("b", comment.ExceptionTypes[2]); 220Assert.Equal(2, comment.ExceptionTypes.Length); 221Assert.Equal("A", comment.ExceptionTypes[0]); 222Assert.Equal("B", comment.ExceptionTypes[1]); 246Assert.Equal(0, comment.ExceptionTypes.Length);
Microsoft.VisualStudio.LanguageServices (2)
Library\ObjectBrowser\AbstractDescriptionBuilder.cs (2)
411if (documentationComment.ExceptionTypes.Length > 0) 421foreach (var exceptionType in documentationComment.ExceptionTypes)