19 references to DisplayClassVariableKind
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (19)
CompilationContext.vb (16)
122_displayClassVariables.Values.Any(Function(v) v.Kind = DisplayClassVariableKind.Me)) 989Case DisplayClassVariableKind.Local, 990DisplayClassVariableKind.Parameter 1244Dim variableKind As DisplayClassVariableKind 1251variableKind = DisplayClassVariableKind.Local 1255variableKind = DisplayClassVariableKind.Local 1264variableKind = DisplayClassVariableKind.Local 1270variableKind = DisplayClassVariableKind.Me 1279variableKind = DisplayClassVariableKind.Local 1283If variableKind <> DisplayClassVariableKind.Me AndAlso IsGeneratedLocalName(variableName) Then 1287If variableKind = DisplayClassVariableKind.Local AndAlso parameterNames.Contains(variableName) Then 1288variableKind = DisplayClassVariableKind.Parameter 1307Debug.Assert((variableKind = DisplayClassVariableKind.Parameter) OrElse 1308(variableKind = DisplayClassVariableKind.Me)) 1310If variableKind = DisplayClassVariableKind.Parameter AndAlso GeneratedNameParser.GetKind(instance.Type.Name) = GeneratedNameKind.LambdaDisplayClass Then 1489Friend Function ToVariable(name As String, kind As DisplayClassVariableKind, field As FieldSymbol) As DisplayClassVariable
Symbols\DisplayClassVariable.vb (2)
25Friend ReadOnly Kind As DisplayClassVariableKind 31kind As DisplayClassVariableKind,
Symbols\EEDisplayClassFieldLocalSymbol.vb (1)
37Debug.Assert(Me._variable.Kind <> DisplayClassVariableKind.Me)