14 references to GetReference
Microsoft.CodeAnalysis.CSharp (9)
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (1)
582var function = new NestedFunction(functionSymbol, body.Syntax.GetReference());
Symbols\FieldOrPropertyInitializer.cs (1)
34Syntax = syntax.GetReference();
Symbols\RangeVariableSymbol.cs (1)
66return ImmutableArray.Create(node.GetReference());
Symbols\Source\GlobalExpressionVariable.cs (2)
53var syntaxReference = syntax.GetReference(); 181_nodeToBind = nodeToBind.GetReference();
Symbols\Source\LambdaSymbol.cs (1)
50base(unboundLambda.Syntax.GetReference())
Symbols\Source\SourceLocalSymbol.cs (1)
461return ImmutableArray.Create(node.GetReference());
Symbols\Symbol.cs (1)
541builder.Add(found.GetReference());
Symbols\Synthesized\SynthesizedLocal.cs (1)
150get { return (_syntaxOpt == null) ? ImmutableArray<SyntaxReference>.Empty : ImmutableArray.Create(_syntaxOpt.GetReference()); }
Microsoft.CodeAnalysis.VisualBasic (5)
Symbols\Source\LambdaSymbol.vb (1)
266Return ImmutableArray.Create(_syntaxNode.GetReference())
Symbols\Source\LocalSymbol.vb (1)
588Return ImmutableArray.Create(_identifierToken.Parent.GetReference())
Symbols\Source\SourceLabelSymbol.vb (1)
64Return ImmutableArray.Create(Of SyntaxReference)(DirectCast(parentNode.GetReference(), SyntaxReference))
Symbols\SynthesizedSymbols\SynthesizedLocal.vb (1)
42Return If(_syntaxOpt Is Nothing, ImmutableArray(Of SyntaxReference).Empty, ImmutableArray.Create(_syntaxOpt.GetReference()))
Symbols\SynthesizedSymbols\SynthesizedMethod.vb (1)
193Return ImmutableArray.Create(Of SyntaxReference)(node.GetReference)