12 references to Create
ILLink.RoslynAnalyzer (4)
DynamicallyAccessedMembersAnalyzer.cs (3)
195
context.ReportDiagnostic (Diagnostic.
Create
(
217
context.ReportDiagnostic (Diagnostic.
Create
(
241
context.ReportDiagnostic (Diagnostic.
Create
(
TrimAnalysis\DiagnosticContext.cs (1)
81
return Diagnostic.
Create
(DiagnosticDescriptors.GetDiagnosticDescriptor (id), Location, sourceLocation, DAMArgument?.ToImmutableDictionary (), args);
Microsoft.CodeAnalysis (3)
Diagnostic\Diagnostic.cs (3)
51
return
Create
(descriptor, location, null, null, messageArgs);
72
return
Create
(descriptor, location, null, properties, messageArgs);
93
return
Create
(descriptor, location, additionalLocations, properties: null, messageArgs: messageArgs);
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\Formatting\AbstractFormattingAnalyzer.cs (1)
98
context.ReportDiagnostic(Diagnostic.
Create
(
src\Analyzers\Core\Analyzers\UseAutoProperty\AbstractUseAutoPropertyAnalyzer.cs (1)
671
context.ReportDiagnostic(Diagnostic.
Create
(
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\Analyzers\Formatting\AbstractFormattingAnalyzer.cs (1)
98
context.ReportDiagnostic(Diagnostic.
Create
(
src\Analyzers\Core\Analyzers\UseAutoProperty\AbstractUseAutoPropertyAnalyzer.cs (1)
671
context.ReportDiagnostic(Diagnostic.
Create
(
Microsoft.Interop.SourceGeneration (1)
DiagnosticExtensions.cs (1)
89
Diagnostic.
Create
(descriptor, firstLocation, additionalLocations: additionalLocations, properties: properties, messageArgs: args);