-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Labels
authoringRelated to authoring feature workRelated to authoring feature workbugSomething isn't workingSomething isn't workingcswinmd
Milestone
Description
The generator will try adding ExclusiveTo
but pass a string (class name) instead of a Type
CsWinRT/src/Authoring/WinRT.SourceGenerator/WinRTTypeWriter.cs
Lines 1566 to 1579 in ad6adcb
private void AddExclusiveToAttribute(EntityHandle interfaceHandle, string className) | |
{ | |
List<ITypeSymbol> types = new List<ITypeSymbol> | |
{ | |
Model.Compilation.GetTypeByMetadataName("System.Type") | |
}; | |
List<object> arguments = new List<object> | |
{ | |
className | |
}; | |
AddCustomAttributes("Windows.Foundation.Metadata.ExclusiveToAttribute", types, arguments, interfaceHandle); | |
} |
Metadata
Metadata
Assignees
Labels
authoringRelated to authoring feature workRelated to authoring feature workbugSomething isn't workingSomething isn't workingcswinmd