9 instantiations of CSDiagnostic
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder.cs (2)
531
diagnostics.Add(new
CSDiagnostic
(info, syntax.Location));
536
diagnostics.Add(new
CSDiagnostic
(info, location));
Binder\Binder_Expressions.cs (3)
7637
diagnostics.Add(new
CSDiagnostic
(diagnosticInfo, operatorToken.GetLocation()));
8046
diagnostics.Add(new
CSDiagnostic
(lookupError, name.Location));
11042
diagnostics.Add(new
CSDiagnostic
(diagnosticInfo, access.Syntax.Location));
Binder\Binder_Symbols.cs (1)
2335
diagnostics.Add(new
CSDiagnostic
(result.Error, where.Location));
Errors\DiagnosticBagExtensions.cs (2)
55
var diag = new
CSDiagnostic
(info, location);
100
diagnostics.Add(new
CSDiagnostic
(info, location));
Errors\MessageProvider.cs (1)
95
return new
CSDiagnostic
(info, Location.None);
11 references to CSDiagnostic
Microsoft.CodeAnalysis.CSharp (11)
Compiler\ClsComplianceChecker.cs (2)
1256
var
diag = new CSDiagnostic(info, location);
1263
var
diag = new CSDiagnostic(info, location);
Errors\DiagnosticBagExtensions.cs (4)
24
var
diag = new CSDiagnostic(info, location);
40
var
diag = new CSDiagnostic(info, location);
48
var
diag = new CSDiagnostic(info, location);
55
var
diag = new CSDiagnostic(info, location);
Lowering\AsyncRewriter\AsyncMethodBuilderMemberCollection.cs (3)
460
var
diagnostic = new CSDiagnostic(
518
var
badTaskProperty = new CSDiagnostic(
528
var
diagnostic = new CSDiagnostic(
Lowering\SyntheticBoundNodeFactory.cs (2)
321
var
diagnostic = new CSDiagnostic(new CSDiagnosticInfo(ErrorCode.ERR_MissingPredefinedMember, memberDescriptor.DeclaringTypeMetadataName, memberDescriptor.Name), Syntax.Location);
368
var
diagnostic = new CSDiagnostic(new CSDiagnosticInfo(ErrorCode.ERR_MissingPredefinedMember, memberDescriptor.DeclaringTypeMetadataName, memberDescriptor.Name), Syntax.Location);