2 writes to TypeSymbol
Microsoft.VisualStudio.LanguageServices (2)
ChangeSignature\AddParameterDialogViewModel.cs (2)
192
TypeSymbol
= null;
199
TypeSymbol
= Document.SemanticModel.GetSpeculativeTypeInfo(PositionForTypeBinding, languageService.GetTypeNode(typeName), SpeculativeBindingOption.BindAsTypeOrNamespace).Type;
7 references to TypeSymbol
Microsoft.VisualStudio.LanguageServices (7)
ChangeSignature\AddParameterDialogViewModel.cs (6)
54
public string? TypeName =>
TypeSymbol
?.ToDisplayString(s_symbolDisplayFormat);
56
public bool TypeBinds => !
TypeSymbol
!.IsErrorType();
135
if (
TypeSymbol
== null || !IsParameterTypeSyntacticallyValid(VerbatimTypeName))
201
if (
TypeSymbol
is { SpecialType: SpecialType.System_Void })
209
else if (!IsParameterTypeSyntacticallyValid(typeName) ||
TypeSymbol
== null)
218
var parameterTypeBinds = DoesTypeFullyBind(
TypeSymbol
);
ChangeSignature\ChangeSignatureDialog.xaml.cs (1)
170
addParameterViewModel.
TypeSymbol
,