12 references to ERR_DefaultValueBadValueType
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1413
or ErrorCode.
ERR_DefaultValueBadValueType
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1007
diagnosticsOpt.Add(ErrorCode.
ERR_DefaultValueBadValueType
, node.Name.Location, arg.TypeInternal);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\NamedAndOptionalTests.cs (5)
1156
Diagnostic(ErrorCode.
ERR_DefaultValueBadValueType
, "DefaultParameterValue").WithArguments("int[]"),
1165
Diagnostic(ErrorCode.
ERR_DefaultValueBadValueType
, "DefaultParameterValue").WithArguments("int[]"),
1175
Diagnostic(ErrorCode.
ERR_DefaultValueBadValueType
, "DefaultParameterValue").WithArguments("int[]"),
1178
Diagnostic(ErrorCode.
ERR_DefaultValueBadValueType
, "DefaultParameterValue").WithArguments("System.Type"),
1188
Diagnostic(ErrorCode.
ERR_DefaultValueBadValueType
, "DefaultParameterValue").WithArguments("System.Type"),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5)
Symbols\SymbolErrorTests.cs (5)
16678
Diagnostic(ErrorCode.
ERR_DefaultValueBadValueType
, "DefaultParameterValue").WithArguments("int[]"),
16680
Diagnostic(ErrorCode.
ERR_DefaultValueBadValueType
, "DefaultParameterValue").WithArguments("int[]"),
16682
Diagnostic(ErrorCode.
ERR_DefaultValueBadValueType
, "DefaultParameterValue").WithArguments("int[]"));
16732
Diagnostic(ErrorCode.
ERR_DefaultValueBadValueType
, "DefaultParameterValue").WithArguments("System.Type"));
16746
Diagnostic(ErrorCode.
ERR_DefaultValueBadValueType
, "DefaultParameterValue").WithArguments("System.Type"));