15 references to GetReference
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Attributes.cs (2)
287return new SourceAttributeData(boundAttribute.Syntax.GetReference(), attributeType, attributeConstructor, hasErrors); 327boundAttribute.Syntax.GetReference(),
Lowering\ClosureConversion\ClosureConversion.Analysis.Tree.cs (1)
563var function = new NestedFunction(functionSymbol, body.Syntax.GetReference());
Symbols\FieldOrPropertyInitializer.cs (1)
34Syntax = syntax.GetReference();
Symbols\Source\GlobalExpressionVariable.cs (2)
52var syntaxReference = syntax.GetReference(); 180_nodeToBind = nodeToBind.GetReference();
Symbols\Source\LambdaSymbol.cs (1)
48base(unboundLambda.Syntax.GetReference())
Symbols\Source\SourceLocalSymbol.cs (1)
462return ImmutableArray.Create(node.GetReference());
Symbols\Symbol.cs (1)
409builder.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)
262Return 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)