19 references to IsSZArray
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder_Attributes.cs (1)
917Debug.Assert(type.IsSZArray());
Binder\Binder_Expressions.cs (1)
3565if (parameters[paramsIndex].Type.IsSZArray())
Binder\Binder_Invocation.cs (2)
681!candidate.Member.GetParameters().Last().Type.IsSZArray()) 1772if (!paramsType.IsSZArray())
Binder\Binder_Patterns.cs (1)
361if (inputType.IsSZArray())
Binder\Semantics\OverloadResolution\OverloadResolution.cs (3)
1183if ((final.IsParamsArray && final.Type.IsSZArray()) || 1184(final.IsParamsCollection && !final.Type.IsSZArray() && !disallowExpandedNonArrayParams && 1196if (binder.Flags.HasFlag(BinderFlags.AttributeArgument) && !type.IsSZArray())
Operations\CSharpOperationFactory_Methods.cs (1)
348argumentKind = argument.Type?.IsSZArray() == true ? ArgumentKind.ParamArray : ArgumentKind.ParamCollection;
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (3)
210Debug.Assert(field.Type.IsSZArray()); 232Debug.Assert(lastParam.Type.IsSZArray()); 336(!field.IsParams || field.Type.IsSZArray()); // [params T collection] is not recognized as a valid params parameter definition
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.DelegateTemplateSymbol.cs (1)
135Debug.Assert(field.Type.IsSZArray());
Symbols\Source\SourceComplexParameterSymbol.cs (2)
1509public sealed override bool IsParamsArray => (_parameterSyntaxKind & ParameterFlags.ParamsParameter) != 0 && this.Type.IsSZArray(); 1511public sealed override bool IsParamsCollection => (_parameterSyntaxKind & ParameterFlags.ParamsParameter) != 0 && !this.Type.IsSZArray();
Symbols\Synthesized\SynthesizedParameterSymbol.cs (2)
383public override bool IsParamsArray => _isParams && Type.IsSZArray(); 385public override bool IsParamsCollection => _isParams && !Type.IsSZArray();
Symbols\TypeWithAnnotations.cs (2)
901internal override bool IsSZArray(TypeSymbol typeSymbol) => typeSymbol.IsSZArray(); 974internal override bool IsSZArray(TypeSymbol typeSymbol) => typeSymbol.IsSZArray();