18 references to ParameterSymbol
Microsoft.VisualStudio.LanguageServices (18)
ChangeSignature\ChangeSignatureDialogViewModel.cs (3)
367displayParts.AddRange(existingParameter.ParameterSymbol.ToDisplayParts(s_parameterDisplayFormat)); 481!_parametersWithoutDefaultValues.OfType<ExistingParameterViewModel>().Select(p => p.ParameterSymbol).SequenceEqual(_originalParameterConfiguration.ParametersWithoutDefaultValues.Cast<ExistingParameter>().Select(p => p.Symbol)) || 482!_parametersWithDefaultValues.OfType<ExistingParameterViewModel>().Select(p => p.ParameterSymbol).SequenceEqual(_originalParameterConfiguration.RemainingEditableParameters.Cast<ExistingParameter>().Select(p => p.Symbol));
ChangeSignature\ChangeSignatureDialogViewModel.ParameterViewModels.cs (15)
178switch (ParameterSymbol.Language) 190switch (ParameterSymbol.RefKind) 202if (ParameterSymbol.IsParams) 208ParameterSymbol == ChangeSignatureDialogViewModel._thisParameter.ParameterSymbol) 218public override string Type => ParameterSymbol.Type.ToDisplayString(s_parameterDisplayFormat); 220public override string ParameterName => ParameterSymbol.Name; 226if (!ParameterSymbol.HasExplicitDefaultValue) 231switch (ParameterSymbol.Language) 243return ParameterSymbol.ExplicitDefaultValue == null ? (ParameterSymbol.Type.IsReferenceType ? @null : @default) : 244ParameterSymbol.ExplicitDefaultValue is string ? "\"" + ParameterSymbol.ExplicitDefaultValue.ToString() + "\"" : 245ParameterSymbol.ExplicitDefaultValue.ToString(); 254public override bool IsRequired => !ParameterSymbol.HasExplicitDefaultValue;