7 references to CreateForLocation
Microsoft.Interop.LibraryImportGenerator (7)
Analyzers\CustomMarshallerAttributeAnalyzer.cs (5)
652
DiagnosticReporter managedTypeReporter = DiagnosticReporter.
CreateForLocation
(managedTypeArgument.Value.Syntax.GetLocation(), context.ReportDiagnostic);
657
DiagnosticReporter managedTypeReporter = DiagnosticReporter.
CreateForLocation
(((TypeOfExpressionSyntax)managedTypeOfOp.Syntax).Type.GetLocation(), context.ReportDiagnostic);
673
DiagnosticReporter marshallerTypeReporter = DiagnosticReporter.
CreateForLocation
(marshallerTypeArgument.Value.Syntax.GetLocation(), context.ReportDiagnostic);
678
DiagnosticReporter marshallerTypeReporter = DiagnosticReporter.
CreateForLocation
(((TypeOfExpressionSyntax)marshallerTypeOfOp.Syntax).Type.GetLocation(), context.ReportDiagnostic);
692
DiagnosticReporter marshalModeReporter = DiagnosticReporter.
CreateForLocation
(marshalModeArgument.Syntax.GetLocation(), context.ReportDiagnostic);
Analyzers\NativeMarshallingAttributeAnalyzer.cs (2)
93
DiagnosticReporter diagnosticFactory = DiagnosticReporter.
CreateForLocation
(marshallerEntryPointTypeArgument.Value.Syntax.GetLocation(), context.ReportDiagnostic);
102
DiagnosticReporter.
CreateForLocation
(((TypeOfExpressionSyntax)typeOfOp.Syntax).Type.GetLocation(), context.ReportDiagnostic),