File: Linker.Steps\LinkAttributesStep.cs
Web Access
Project: src\src\tools\illink\src\linker\Mono.Linker.csproj (illink)
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
 
using System.IO;
 
namespace Mono.Linker.Steps
{
    public class LinkAttributesStep : ProcessLinkerXmlStepBase
    {
        public LinkAttributesStep(Stream documentStream, string xmlDocumentLocation)
            : base(documentStream, xmlDocumentLocation)
        {
        }
 
        protected override void Process()
        {
            new LinkAttributesParser(Context, _documentStream, _xmlDocumentLocation).Parse(Context.CustomAttributes.PrimaryAttributeInfo);
        }
    }
}