14 references to SkipRef
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Deconstruct.cs (1)
751var declType = BindVariableTypeWithAnnotations(component.Designation, diagnostics, component.Type.SkipScoped(out _).SkipRef(), ref isConst, out isVar, out alias);
Binder\Binder_Expressions.cs (1)
931var declType = BindVariableTypeWithAnnotations(node.Designation, diagnostics, node.Type.SkipScoped(out _).SkipRef(), ref isConst, out isVar, out alias);
Binder\Binder_Statements.cs (1)
797TypeWithAnnotations declType = BindTypeOrVarKeyword(typeSyntax.SkipScoped(out _).SkipRef(), diagnostics, out isVar, out alias);
BoundTree\VariablePendingInference.cs (1)
70(typeOrDesignationSyntax is TypeSyntax typeSyntax ? typeSyntax.SkipScoped(out _).SkipRef() : typeOrDesignationSyntax).Location);
Symbols\Source\GlobalExpressionVariable.cs (2)
54return (typeSyntax == null || typeSyntax.SkipScoped(out _).SkipRef().IsVar) 92type = binder.BindTypeOrVarKeyword(typeSyntax.SkipScoped(out _).SkipRef(), diagnostics, out isVar);
Symbols\Source\LocalFunctionSymbol.cs (1)
253TypeWithAnnotations returnType = WithTypeParametersBinder.BindType(returnTypeSyntax.SkipScoped(out _).SkipRef(), diagnostics);
Symbols\Source\SourceLocalSymbol.cs (4)
147return closestTypeSyntax.SkipScoped(out _).SkipRef().IsVar 178return typeSyntax?.SkipScoped(out _).SkipRef().IsVar != false && kind != LocalDeclarationKind.DeclarationExpressionVariable 319TypeSyntax typeSyntax = _typeSyntax.SkipScoped(out _).SkipRef(); 355declType = typeBinder.BindTypeOrVarKeyword(_typeSyntax.SkipScoped(out _).SkipRef(), diagnostics, out isVar);
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
135returnTypeSyntax = returnTypeSyntax.SkipScoped(out _).SkipRef();
Symbols\Source\SourcePropertySymbol.cs (1)
566typeSyntax = typeSyntax.SkipScoped(out _).SkipRef();
Syntax\SyntaxFacts.cs (1)
456return node == parent?.Type.SkipScoped(out _).SkipRef();