17 references to VariableKind
Microsoft.VisualStudio.LanguageServices.CSharp (2)
CodeModel\MethodXml\MethodXmlBuilder.cs (2)
518
var
variableKind = GetVariableKind(symbol);
522
if (symbol != null && variableKind !=
VariableKind
.Local)
Microsoft.VisualStudio.LanguageServices.Implementation (15)
CodeModel\MethodXml\AbstractMethodXmlBuilder.cs (15)
150
private static string GetVariableKindText(
VariableKind
kind)
153
VariableKind
.Property => "property",
154
VariableKind
.Method => "method",
155
VariableKind
.Field => "field",
156
VariableKind
.Local => "local",
157
VariableKind
.Unknown => "unknown",
228
private static AttributeInfo VariableKindAttribute(
VariableKind
kind)
230
if (kind ==
VariableKind
.None)
295
protected IDisposable NameRefTag(
VariableKind
kind, string name = null, string fullName = null)
340
protected virtual
VariableKind
GetVariableKind(ISymbol symbol)
344
return
VariableKind
.Unknown;
351
return
VariableKind
.Field;
354
return
VariableKind
.Local;
356
return
VariableKind
.Method;
358
return
VariableKind
.Property;