22 references to Arguments
Microsoft.CodeAnalysis (1)
Diagnostic\DiagnosticWithInfo.cs (1)
106get { return this.Info.Arguments; }
Microsoft.CodeAnalysis.CSharp (13)
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
589diagInfo.Arguments,
Errors\SyntaxDiagnosticInfo.cs (1)
41return new SyntaxDiagnosticInfo(offset, this.Width, (ErrorCode)this.Code, this.Arguments);
Errors\XmlSyntaxDiagnosticInfo.cs (2)
45if (this.Arguments == null || this.Arguments.Length == 0)
FlowAnalysis\DefiniteAssignment.cs (1)
626var args = diagnostic is DiagnosticWithInfo { Info: { Arguments: var arguments } } ? arguments : diagnostic.Arguments.ToArray();
Parser\Lexer.cs (1)
800AddError(info.Code, info.Arguments);
Parser\Lexer_StringLiteral.cs (1)
157this.AddError(start, TextWindow.Position - start, info.Code, info.Arguments);
Parser\SyntaxParser.cs (4)
967tokenDiagnostics[i] = new SyntaxDiagnosticInfo(d.Offset - leadingWidth, d.Width, (ErrorCode)d.Code, d.Arguments); 1020targetDiagnostics[i] = new SyntaxDiagnosticInfo(d.Offset + triviaWidth, d.Width, (ErrorCode)d.Code, d.Arguments); 1034new SyntaxDiagnosticInfo(newOffset, diagnostic.Width, (ErrorCode)diagnostic.Code, diagnostic.Arguments) 1150return AddError(node, info.Code, info.Arguments);
Symbols\FunctionPointers\FunctionPointerTypeSymbol.cs (1)
149if (fromSignature.DiagnosticInfo?.Code == (int)ErrorCode.ERR_BindToBogus && fromSignature.DiagnosticInfo.Arguments.AsSingleton() == (object)Signature)
Syntax\InternalSyntax\SyntaxFirstTokenReplacer.cs (1)
79oldSyntaxDiagnostic.Arguments);
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (7)
CommandLineTests.cs (7)
760Assert.Equal(2, errors.First().Arguments.Count()); 772Assert.Equal(2, errors.First().Arguments.Count()); 783Assert.Equal(2, errors.First().Arguments.Count()); 794Assert.Equal(2, errors.First().Arguments.Count()); 805Assert.Equal(2, errors.First().Arguments.Count()); 816Assert.Equal(2, errors.First().Arguments.Count()); 885Assert.Equal(1, errors.First().Arguments.Count());
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\DiagnosticDescription.cs (1)
166_arguments = dinfo.Info.Arguments;