2 implementations of IsRef
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\LocalSymbol.cs (1)
50bool ILocalSymbol.IsRef => _underlying.IsRef;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Source\LocalSymbol.vb (1)
292Public ReadOnly Property IsRef As Boolean Implements ILocalSymbol.IsRef
14 references to IsRef
Microsoft.CodeAnalysis (1)
Operations\ControlFlowGraphBuilder.cs (1)
5877var assignment = new SimpleAssignmentOperation(isRef: localSymbol.IsRef, localRef, initializer, semanticModel: null, assignmentSyntax, localRef.Type, constantValue: null, isImplicit: true);
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (1)
594Debug.Assert(symbol is not ILocalSymbol local || !local.IsRef);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
247if (operation.Local.IsRef)
Microsoft.CodeAnalysis.CSharp (1)
SymbolDisplay\SymbolDisplayVisitor.cs (1)
243if (symbol.IsRef)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Compilation\SemanticModelAPITests.cs (2)
207Assert.True(rxSymbol.IsRef); 239Assert.True(rxSymbol.IsRef);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (2)
42Assert.True(rx.IsRef); 65Assert.True(rxLocal.IsRef);
SymbolDisplay\SymbolDisplayTests.cs (3)
6855Assert.False(local.IsRef); 6900Assert.True(local.IsRef); 6947Assert.True(local.IsRef);
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (1)
594Debug.Assert(symbol is not ILocalSymbol local || !local.IsRef);
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Source\LocalSymbol.vb (1)
292Public ReadOnly Property IsRef As Boolean Implements ILocalSymbol.IsRef
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
247if (operation.Local.IsRef)