19 references to ParameterSymbol
Microsoft.VisualStudio.LanguageServices (18)
ChangeSignature\ChangeSignatureDialogViewModel.cs (3)
383displayParts.AddRange(existingParameter.ParameterSymbol.ToDisplayParts(s_parameterDisplayFormat)); 497!_parametersWithoutDefaultValues.OfType<ExistingParameterViewModel>().Select(p => p.ParameterSymbol).SequenceEqual(_originalParameterConfiguration.ParametersWithoutDefaultValues.Cast<ExistingParameter>().Select(p => p.Symbol)) || 498!_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) 200if (ParameterSymbol.IsParams) 206ParameterSymbol == ChangeSignatureDialogViewModel._thisParameter.ParameterSymbol) 216public override string Type => ParameterSymbol.Type.ToDisplayString(s_parameterDisplayFormat); 218public override string ParameterName => ParameterSymbol.Name; 224if (!ParameterSymbol.HasExplicitDefaultValue) 229switch (ParameterSymbol.Language) 241return ParameterSymbol.ExplicitDefaultValue == null ? (ParameterSymbol.Type.IsReferenceType ? @null : @default) : 242ParameterSymbol.ExplicitDefaultValue is string ? "\"" + ParameterSymbol.ExplicitDefaultValue.ToString() + "\"" : 243ParameterSymbol.ExplicitDefaultValue.ToString(); 252public override bool IsRequired => !ParameterSymbol.HasExplicitDefaultValue;
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
ChangeSignature\ChangeSignatureViewModelTests.vb (1)
398Assert.Equal(expected, DirectCast(finalParameterList(index), ExistingParameterViewModel).ParameterSymbol)