4 references to new
Microsoft.Interop.LibraryImportGenerator (4)
Analyzers\CustomMarshallerAttributeAnalyzer.cs (3)
729
DiagnosticReporter trackingReporter = new
DiagnosticReporter
((descriptor, properties, args) =>
977
return new
DiagnosticReporter
((descriptor, properties, args) => trackingReporter.CreateAndReportDiagnostic(DefaultMarshalModeDiagnostics.GetDefaultMarshalModeDiagnostic(descriptor), properties, args));
1023
DiagnosticReporter trackingReporter = new
DiagnosticReporter
((descriptor, properties, args) =>
Analyzers\DiagnosticReporter.cs (1)
19
public static DiagnosticReporter CreateForLocation(Location location, Action<Diagnostic> reportDiagnostic) =>
new
((descriptor, properties, args) => reportDiagnostic(location.CreateDiagnosticInfo(descriptor, properties, args).ToDiagnostic()));