6 references to Create
Microsoft.AspNetCore.App.Analyzers (2)
RouteEmbeddedLanguage\RoutePatternAnalyzer.cs (2)
60
context.ReportDiagnostic(Diagnostic.
Create
(
103
context.ReportDiagnostic(Diagnostic.
Create
(
Microsoft.CodeAnalysis (1)
Diagnostic\Diagnostic.cs (1)
120
return
Create
(descriptor, location, effectiveSeverity: descriptor.DefaultSeverity, additionalLocations, properties, messageArgs);
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\CommonDiagnosticAnalyzers.cs (1)
2542
var diagnostic = Diagnostic.
Create
(Descriptor, context.Symbol.Locations[0], _reportedSeverity, additionalLocations: null, properties: null, messageArgs: null);
Microsoft.CodeAnalysis.UnitTests (1)
Diagnostics\DiagnosticCreationTests.cs (1)
20
var diagnostic = Diagnostic.
Create
(descriptor, Location.None, effectiveSeverity, additionalLocations: null, properties: null);
Microsoft.CodeAnalysis.Workspaces (1)
Diagnostics\DiagnosticData.cs (1)
305
var diagnostic = Diagnostic.
Create
(descriptor, Location.None, effectiveSeverity, additionalLocations: null, properties: null, messageArgs: messageArguments);