12 references to Create
Microsoft.CodeAnalysis.CodeStyle (3)
AbstractRemoveUnnecessaryCastDiagnosticAnalyzer.cs (1)
68return Diagnostic.Create(
AbstractUseAutoPropertyAnalyzer.cs (1)
339var diagnostic2 = Diagnostic.Create(
AbstractUseObjectInitializerDiagnosticAnalyzer.cs (1)
150context.ReportDiagnostic(Diagnostic.Create(
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (2)
CodeFixes\CodeFixServiceTests.vb (1)
217context.ReportDiagnostic(Diagnostic.Create(DiagDescriptor, context.Symbol.Locations.First(), context.Symbol.Locations.Skip(1)))
Diagnostics\DiagnosticServiceTests.vb (1)
1581context.ReportDiagnostic(Diagnostic.Create(DiagDescriptor, context.Symbol.Locations.First(), context.Symbol.Locations.Skip(1)))
Microsoft.CodeAnalysis.Features (3)
AbstractRemoveUnnecessaryCastDiagnosticAnalyzer.cs (1)
68return Diagnostic.Create(
AbstractUseAutoPropertyAnalyzer.cs (1)
339var diagnostic2 = Diagnostic.Create(
AbstractUseObjectInitializerDiagnosticAnalyzer.cs (1)
150context.ReportDiagnostic(Diagnostic.Create(
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\CommonDiagnosticAnalyzers.cs (1)
867Diagnostic.Create(Descriptor, Location.None, additionalLocations: new[] { _invalidLocation }) :
Microsoft.CodeAnalysis.UnitTests (1)
Diagnostics\SarifErrorLoggerTests.cs (1)
44logger.LogDiagnostic(Diagnostic.Create(descriptor, mainLocation, additionalLocations), null);
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
VisualBasicRemoveUnnecessaryByValDiagnosticAnalyzer.vb (1)
29syntaxContext.ReportDiagnostic(Diagnostic.Create(Descriptor, modifier.GetLocation(), additionalLocations:={parameterSyntax.GetLocation()}))
Microsoft.CodeAnalysis.VisualBasic.Features (1)
VisualBasicRemoveUnnecessaryByValDiagnosticAnalyzer.vb (1)
29syntaxContext.ReportDiagnostic(Diagnostic.Create(Descriptor, modifier.GetLocation(), additionalLocations:={parameterSyntax.GetLocation()}))