1 write to IsParams
Microsoft.CodeAnalysis.CSharp (1)
Symbols\AnonymousTypes\AnonymousTypeField.cs (1)
52this.IsParams = isParams;
12 references to IsParams
Microsoft.CodeAnalysis.CSharp (12)
Symbols\AnonymousTypes\AnonymousTypeField.cs (3)
58return new AnonymousTypeField(Name, Location, type, RefKind, Scope, DefaultValue, IsParams, HasUnscopedRefAttribute); 67&& x.IsParams == y.IsParams
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (4)
206if (field.IsParams) 230if (fields is [.., { IsParams: true } lastParam, _]) 331needsIndexedName = needsIndexedName || field.IsParams || field.DefaultValue is not null; 336(!field.IsParams || field.Type.IsSZArray()); // [params T collection] is not recognized as a valid params parameter definition
Symbols\AnonymousTypes\PublicSymbols\AnonymousType.DelegatePublicSymbol.cs (1)
62new SynthesizedDelegateInvokeMethod.ParameterDescription(field.TypeWithAnnotations, field.RefKind, field.Scope, field.DefaultValue, isParams: field.IsParams, hasUnscopedRefAttribute: field.HasUnscopedRefAttribute));
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.DelegateTemplateSymbol.cs (4)
110hasParamsArray: typeDescr.Fields is [.., { IsParams: true }, _]); 133if (field.IsParams) 141new SynthesizedDelegateInvokeMethod.ParameterDescription(type, field.RefKind, field.Scope, field.DefaultValue, isParams: field.IsParams, hasUnscopedRefAttribute: field.HasUnscopedRefAttribute)); 202new SynthesizedDelegateInvokeMethod.ParameterDescription(typeMap.SubstituteType(field.Type), field.RefKind, field.Scope, field.DefaultValue, isParams: field.IsParams, hasUnscopedRefAttribute: field.HasUnscopedRefAttribute));