35 references to Arguments
Microsoft.CodeAnalysis (1)
Diagnostic\DiagnosticWithInfo.cs (1)
106get { return this.Info.Arguments; }
Microsoft.CodeAnalysis.CSharp (12)
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
568diagInfo.Arguments,
Errors\SyntaxDiagnosticInfo.cs (1)
46return new SyntaxDiagnosticInfo(offset, this.Width, (ErrorCode)this.Code, this.Arguments);
Errors\XmlSyntaxDiagnosticInfo.cs (2)
66if (this.Arguments == null || this.Arguments.Length == 0)
FlowAnalysis\DefiniteAssignment.cs (1)
596var args = diagnostic is DiagnosticWithInfo { Info: { Arguments: var arguments } } ? arguments : diagnostic.Arguments.ToArray();
Parser\Lexer.cs (1)
994AddError(info.Code, info.Arguments);
Parser\SyntaxParser.cs (4)
918tokenDiagnostics[i] = new SyntaxDiagnosticInfo(d.Offset - leadingWidth, d.Width, (ErrorCode)d.Code, d.Arguments); 971targetDiagnostics[i] = new SyntaxDiagnosticInfo(d.Offset + triviaWidth, d.Width, (ErrorCode)d.Code, d.Arguments); 985new SyntaxDiagnosticInfo(newOffset, diagnostic.Width, (ErrorCode)diagnostic.Code, diagnostic.Arguments) 1096return AddError(node, info.Code, info.Arguments);
Symbols\FunctionPointers\FunctionPointerTypeSymbol.cs (1)
147if (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)
703Assert.Equal(2, errors.First().Arguments.Count()); 715Assert.Equal(2, errors.First().Arguments.Count()); 726Assert.Equal(2, errors.First().Arguments.Count()); 737Assert.Equal(2, errors.First().Arguments.Count()); 748Assert.Equal(2, errors.First().Arguments.Count()); 759Assert.Equal(2, errors.First().Arguments.Count()); 828Assert.Equal(1, errors.First().Arguments.Count());
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Parsing\StatementParsingTests.cs (2)
2526Assert.Equal("public", statement.Errors()[0].Arguments[0]); 2528Assert.Equal("readonly", statement.Errors()[1].Arguments[0]);
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\DiagnosticDescription.cs (1)
165_arguments = dinfo.Info.Arguments;
Microsoft.CodeAnalysis.VisualBasic (5)
Errors\ErrorFactories.vb (2)
147If Arguments IsNot Nothing Then 148For Each info As DiagnosticInfo In Arguments
Symbols\EventSymbol.vb (3)
209useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnreferencedAssemblyEvent3, errorInfo.Arguments(0), Me)) 217useSiteInfo = New UseSiteInfo(Of AssemblySymbol)(ErrorFactory.ErrorInfo(ERRID.ERR_UnreferencedModuleEvent3, errorInfo.Arguments(0), Me)) 220If errorInfo.Arguments(0).Equals(String.Empty) Then
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (7)
CommandLineTests.vb (7)
954Assert.Equal(2, errors.First().Arguments.Count()) 960Assert.Equal(2, errors.First().Arguments.Count()) 966Assert.Equal(2, errors.First().Arguments.Count()) 973Assert.Equal(2, errors.First().Arguments.Count()) 979Assert.Equal(2, errors.First().Arguments.Count()) 985Assert.Equal(2, errors.First().Arguments.Count()) 997Assert.Equal(1, errors.First().Arguments.Count())