// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.usingMicrosoft.CodeAnalysis.CSharp.Syntax;namespaceMicrosoft.CodeAnalysis.Editor.CSharp.Outlining.MetadataAsSource{internalclassTypeDeclarationOutliner:AbstractMetadataAsSourceOutliner<TypeDeclarationSyntax>{protectedoverrideSyntaxTokenGetEndToken(TypeDeclarationSyntaxnode){returnnode.Modifiers.Count>0?node.Modifiers.First():node.Keyword;}protectedoverrideSyntaxTokenGetHintTextEndToken(TypeDeclarationSyntaxnode){returnnode.OpenBraceToken.GetPreviousToken();}}}