dotnet/roslyn
It looks like LocalRewriter.BuildParamsArray doesn't handle a case of bad or missing int type.
Aperta
#19.383 aperta il 10 mag 2017
Area-CompilersBugLanguage-C#help wanted
Metriche repository
- Star
- (20.414 stelle)
- Metriche merge PR
- (Merge medio 6g 17h) (256 PR mergiate in 30 g)
Descrizione
var int32Type = methodOrIndexer.ContainingAssembly.GetPrimitiveType(Microsoft.Cci.PrimitiveTypeCode.Int32);
return new BoundArrayCreation(
syntax,
ImmutableArray.Create(
MakeLiteral(syntax, ConstantValue.Create(arrayArgs.Length), int32Type)),
new BoundArrayInitialization(syntax, arrayArgs),
paramArrayType);