4 references to CreateDiagnostic
Microsoft.Interop.ComInterfaceGenerator (4)
Analyzers\AddGeneratedComClassAnalyzer.cs (2)
51
context.ReportDiagnostic(type.
CreateDiagnostic
(AddGeneratedComClassAttribute, type.Name));
59
context.ReportDiagnostic(type.
CreateDiagnostic
(AddGeneratedComClassAttribute, type.Name));
Analyzers\ComHostingDoesNotSupportGeneratedComInterfaceAnalyzer.cs (2)
55
context.ReportDiagnostic(context.ContainingSymbol.
CreateDiagnostic
(ComHostingDoesNotSupportGeneratedComInterface, context.ContainingSymbol.Name));
63
context.ReportDiagnostic(context.ContainingSymbol.
CreateDiagnostic
(ComHostingDoesNotSupportGeneratedComInterface, context.ContainingSymbol.Name));