12 references to ERR_DefaultValueBadValueType
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1414or ErrorCode.ERR_DefaultValueBadValueType
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1014diagnosticsOpt.Add(ErrorCode.ERR_DefaultValueBadValueType, node.Name.Location, arg.TypeInternal);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\NamedAndOptionalTests.cs (5)
1156Diagnostic(ErrorCode.ERR_DefaultValueBadValueType, "DefaultParameterValue").WithArguments("int[]"), 1165Diagnostic(ErrorCode.ERR_DefaultValueBadValueType, "DefaultParameterValue").WithArguments("int[]"), 1175Diagnostic(ErrorCode.ERR_DefaultValueBadValueType, "DefaultParameterValue").WithArguments("int[]"), 1178Diagnostic(ErrorCode.ERR_DefaultValueBadValueType, "DefaultParameterValue").WithArguments("System.Type"), 1188Diagnostic(ErrorCode.ERR_DefaultValueBadValueType, "DefaultParameterValue").WithArguments("System.Type"),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5)
Symbols\SymbolErrorTests.cs (5)
16689Diagnostic(ErrorCode.ERR_DefaultValueBadValueType, "DefaultParameterValue").WithArguments("int[]"), 16691Diagnostic(ErrorCode.ERR_DefaultValueBadValueType, "DefaultParameterValue").WithArguments("int[]"), 16693Diagnostic(ErrorCode.ERR_DefaultValueBadValueType, "DefaultParameterValue").WithArguments("int[]")); 16743Diagnostic(ErrorCode.ERR_DefaultValueBadValueType, "DefaultParameterValue").WithArguments("System.Type")); 16757Diagnostic(ErrorCode.ERR_DefaultValueBadValueType, "DefaultParameterValue").WithArguments("System.Type"));