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