142 references to ScopedRef
GenerateDocumentationAndConfigFiles (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SyntaxGeneratorInternalExtensions\SyntaxGeneratorInternal.cs (1)
107
=> symbol is { RefKind: RefKind.Ref or RefKind.In or RefKind.RefReadOnlyParameter, ScopedKind: ScopedKind.
ScopedRef
}
Microsoft.CodeAnalysis.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SyntaxGeneratorInternalExtensions\SyntaxGeneratorInternal.cs (1)
107
=> symbol is { RefKind: RefKind.Ref or RefKind.In or RefKind.RefReadOnlyParameter, ScopedKind: ScopedKind.
ScopedRef
}
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SyntaxGeneratorInternalExtensions\SyntaxGeneratorInternal.cs (1)
107
=> symbol is { RefKind: RefKind.Ref or RefKind.In or RefKind.RefReadOnlyParameter, ScopedKind: ScopedKind.
ScopedRef
}
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SyntaxGeneratorInternalExtensions\SyntaxGeneratorInternal.cs (1)
107
=> symbol is { RefKind: RefKind.Ref or RefKind.In or RefKind.RefReadOnlyParameter, ScopedKind: ScopedKind.
ScopedRef
}
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder.ValueChecks.cs (3)
1272
{ EffectiveScope: ScopedKind.
ScopedRef
} => SafeContext.CurrentMethod,
1305
var isRefScoped = parameterSymbol.EffectiveScope == ScopedKind.
ScopedRef
;
3155
return ScopedKind.
ScopedRef
;
Binder\RefSafetyAnalysis.cs (1)
449
refEscapeScope = scopedModifier == ScopedKind.
ScopedRef
?
BoundTree\UnboundLambda.cs (2)
687
scope = ScopedKind.
ScopedRef
;
765
if (((DeclaredScope(i) == ScopedKind.None && parameterScopesBuilder[i] == ScopedKind.
ScopedRef
) ||
SymbolDisplay\SymbolDisplayVisitor.cs (1)
245
if (symbol.ScopedKind == ScopedKind.
ScopedRef
)
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
851
if (symbol.ScopedKind == ScopedKind.
ScopedRef
&&
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (1)
324
(ScopedKind.
ScopedRef
, true) => true,
Symbols\FunctionPointers\FunctionPointerParameterSymbol.cs (1)
34
=> ParameterHelpers.IsRefScopedByDefault(this) ? ScopedKind.
ScopedRef
: ScopedKind.None;
Symbols\Metadata\PE\PEParameterSymbol.cs (2)
334
scope = ScopedKind.
ScopedRef
;
347
scope = ScopedKind.
ScopedRef
;
Symbols\SignatureOnlyParameterSymbol.cs (1)
59
=> ParameterHelpers.IsRefScopedByDefault(this) ? ScopedKind.
ScopedRef
: ScopedKind.None;
Symbols\Source\ParameterHelpers.cs (1)
1174
scope = (refKind == RefKind.None) ? ScopedKind.ScopedValue : ScopedKind.
ScopedRef
;
Symbols\Source\SourceLocalSymbol.cs (1)
70
? isScoped ? ScopedKind.
ScopedRef
: ScopedKind.None
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
1396
p is { EffectiveScope: ScopedKind.None, RefKind: RefKind.Ref } or { EffectiveScope: ScopedKind.
ScopedRef
, RefKind: RefKind.Out } &&
Symbols\Source\SourceParameterSymbol.cs (1)
243
return ScopedKind.
ScopedRef
;
Symbols\Source\ThisParameterSymbol.cs (1)
185
var scope = _containingType.IsStructType() ? ScopedKind.
ScopedRef
: ScopedKind.None;
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Attributes\AttributeTests_LifetimeAnnotation.cs (2)
273
Assert.Equal(ScopedKind.
ScopedRef
, parameter.EffectiveScope);
278
Assert.Equal(ScopedKind.
ScopedRef
, parameter.EffectiveScope);
Semantics\ExtensionTests.cs (1)
4133
AssertEx.Equal(ScopedKind.
ScopedRef
, m.GlobalNamespace.GetMember<MethodSymbol>("Extensions.<>E__0.<Extension>$").Parameters[0].EffectiveScope);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (113)
Semantics\RefFieldTests.cs (113)
10986
VerifyParameterSymbol(parameters[1], "scoped ref R y2", RefKind.Ref, ScopedKind.
ScopedRef
);
10990
VerifyParameterSymbol(parameters[1], "scoped in R y3", RefKind.In, ScopedKind.
ScopedRef
);
10993
VerifyParameterSymbol(parameters[0], "out R x4", RefKind.Out, useUpdatedEscapeRules ? ScopedKind.
ScopedRef
: ScopedKind.None);
10994
VerifyParameterSymbol(parameters[1], "out R y4", RefKind.Out, ScopedKind.
ScopedRef
);
11030
VerifyParameterSymbol(comp.GetMember<NamedTypeSymbol>("A").Constructors.Single(c => !c.IsImplicitlyDeclared).Parameters[0], "scoped ref T t", RefKind.Ref, ScopedKind.
ScopedRef
);
11031
VerifyParameterSymbol(comp.GetMember<PropertySymbol>("A.this[]").GetMethod.Parameters[0], "scoped in System.Object o", RefKind.In, ScopedKind.
ScopedRef
);
11093
VerifyParameterSymbol(localFunctions[1].Parameters[1], "scoped ref System.Int32 y2", RefKind.Ref, ScopedKind.
ScopedRef
);
11095
VerifyParameterSymbol(localFunctions[2].Parameters[1], "scoped in System.Int32 y3", RefKind.In, ScopedKind.
ScopedRef
);
11096
VerifyParameterSymbol(localFunctions[3].Parameters[0], "out System.Int32 x4", RefKind.Out, useUpdatedEscapeRules ? ScopedKind.
ScopedRef
: ScopedKind.None);
11097
VerifyParameterSymbol(localFunctions[3].Parameters[1], "out System.Int32 y4", RefKind.Out, ScopedKind.
ScopedRef
);
11099
VerifyParameterSymbol(localFunctions[4].Parameters[1], "scoped ref R y5", RefKind.Ref, ScopedKind.
ScopedRef
);
11101
VerifyParameterSymbol(localFunctions[5].Parameters[1], "scoped in R y6", RefKind.In, ScopedKind.
ScopedRef
);
11102
VerifyParameterSymbol(localFunctions[6].Parameters[0], "out R x7", RefKind.Out, useUpdatedEscapeRules ? ScopedKind.
ScopedRef
: ScopedKind.None);
11103
VerifyParameterSymbol(localFunctions[6].Parameters[1], "out R y7", RefKind.Out, ScopedKind.
ScopedRef
);
11166
verifyParameter(delegateTypesAndLambdas[1], 1, "scoped ref System.Int32", "y2", RefKind.Ref, ScopedKind.
ScopedRef
, false, false);
11168
verifyParameter(delegateTypesAndLambdas[2], 1, "scoped in System.Int32", "y3", RefKind.In, ScopedKind.
ScopedRef
, false, false);
11169
verifyParameter(delegateTypesAndLambdas[3], 0, "out System.Int32", "x4", RefKind.Out, useUpdatedEscapeRules ? ScopedKind.
ScopedRef
: ScopedKind.None, false, false);
11170
verifyParameter(delegateTypesAndLambdas[3], 1, "out System.Int32", "y4", RefKind.Out, ScopedKind.
ScopedRef
, false, false);
11173
verifyParameter(delegateTypesAndLambdas[4], 1, "scoped ref R", "y5", RefKind.Ref, ScopedKind.
ScopedRef
, false, false);
11175
verifyParameter(delegateTypesAndLambdas[5], 1, "scoped in R", "y6", RefKind.In, ScopedKind.
ScopedRef
, false, false);
11176
verifyParameter(delegateTypesAndLambdas[6], 0, "out R", "x7", RefKind.Out, useUpdatedEscapeRules ? ScopedKind.
ScopedRef
: ScopedKind.None, false, false);
11177
verifyParameter(delegateTypesAndLambdas[6], 1, "out R", "y7", RefKind.Out, ScopedKind.
ScopedRef
, false, false);
11221
VerifyParameterSymbol(comp.GetMember<NamedTypeSymbol>("D2").DelegateInvokeMethod.Parameters[0], "scoped ref R r2", RefKind.Ref, ScopedKind.
ScopedRef
);
11309
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("Program.F3").Parameters[0], "scoped ref R r", RefKind.Ref, ScopedKind.
ScopedRef
);
11310
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("Program.F6").Parameters[0], "scoped in R r", RefKind.In, ScopedKind.
ScopedRef
);
11311
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("Program.F9").Parameters[0], "out R r", RefKind.Out, ScopedKind.
ScopedRef
);
11425
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("Program.F4").Parameters[0], "scoped ref scoped s", RefKind.Ref, ScopedKind.
ScopedRef
);
11427
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("Program.F7").Parameters[0], "scoped in scoped s", RefKind.In, ScopedKind.
ScopedRef
);
11428
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("Program.F8").Parameters[0], "out scoped s", RefKind.Out, ScopedKind.
ScopedRef
);
11429
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("Program.FA").Parameters[0], "out scoped s", RefKind.Out, ScopedKind.
ScopedRef
);
11504
VerifyParameterSymbol(comp.GetMember<PEMethodSymbol>("A.F1").Parameters[0], "out System.Int32 i", RefKind.Out, ScopedKind.
ScopedRef
);
11541
VerifyParameterSymbol(parameters[3], "out R d", RefKind.Out, ScopedKind.
ScopedRef
);
11575
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("Program.ReturnRef").Parameters[0], "scoped ref R r", RefKind.Ref, ScopedKind.
ScopedRef
);
11618
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("S1..ctor").ThisParameter, "out S1 this", RefKind.Out, ScopedKind.
ScopedRef
);
11619
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("S1.F1").ThisParameter, "ref S1 this", RefKind.Ref, ScopedKind.
ScopedRef
);
11620
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("S1.F2").ThisParameter, "in S1 this", RefKind.In, ScopedKind.
ScopedRef
);
11621
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("R1..ctor").ThisParameter, "out R1 this", RefKind.Out, ScopedKind.
ScopedRef
);
11622
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("R1.F1").ThisParameter, "ref R1 this", RefKind.Ref, ScopedKind.
ScopedRef
);
11623
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("R1.F2").ThisParameter, "in R1 this", RefKind.In, ScopedKind.
ScopedRef
);
11624
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("S2..ctor").ThisParameter, "out S2 this", RefKind.Out, ScopedKind.
ScopedRef
);
11625
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("S2.F1").ThisParameter, "in S2 this", RefKind.In, ScopedKind.
ScopedRef
);
11626
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("S2.F2").ThisParameter, "in S2 this", RefKind.In, ScopedKind.
ScopedRef
);
11627
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("R2..ctor").ThisParameter, "out R2 this", RefKind.Out, ScopedKind.
ScopedRef
);
11628
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("R2.F1").ThisParameter, "in R2 this", RefKind.In, ScopedKind.
ScopedRef
);
11629
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("R2.F2").ThisParameter, "in R2 this", RefKind.In, ScopedKind.
ScopedRef
);
11633
VerifyParameterSymbol(thisParameter, "ref S1 this", RefKind.Ref, ScopedKind.
ScopedRef
);
11672
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("Extensions.F3").Parameters[0], "scoped ref T t", RefKind.Ref, ScopedKind.
ScopedRef
);
12018
VerifyParameterSymbol(method.Parameters[1], "scoped in System.Int32 y", RefKind.In, ScopedKind.
ScopedRef
);
12052
VerifyParameterSymbol(method.Parameters[1], "scoped in System.Int32 y", RefKind.In, ScopedKind.
ScopedRef
);
12132
VerifyLocalSymbol(locals[1], "scoped ref R r2", RefKind.Ref, ScopedKind.
ScopedRef
);
12133
VerifyLocalSymbol(locals[2], "scoped ref readonly R r5", RefKind.RefReadOnly, ScopedKind.
ScopedRef
);
12135
VerifyLocalSymbol(locals[4], "scoped ref R r21", RefKind.Ref, ScopedKind.
ScopedRef
);
12136
VerifyLocalSymbol(locals[5], "scoped ref readonly R r51", RefKind.RefReadOnly, ScopedKind.
ScopedRef
);
12269
VerifyLocalSymbol(locals[1], "scoped ref R r2", RefKind.Ref, ScopedKind.
ScopedRef
);
12270
VerifyLocalSymbol(locals[2], "scoped ref readonly R r5", RefKind.RefReadOnly, ScopedKind.
ScopedRef
);
13225
VerifyLocalSymbol(locals[4], "scoped ref scoped s5", RefKind.Ref, ScopedKind.
ScopedRef
);
13226
VerifyLocalSymbol(locals[5], "scoped ref scoped s6", RefKind.Ref, ScopedKind.
ScopedRef
);
13280
VerifyLocalSymbol(locals[4], "scoped ref scoped s5", RefKind.Ref, ScopedKind.
ScopedRef
);
13281
VerifyLocalSymbol(locals[5], "scoped ref scoped s6", RefKind.Ref, ScopedKind.
ScopedRef
);
13516
VerifyLocalSymbol(locals[1], "scoped ref R<System.Int32> r3", RefKind.Ref, ScopedKind.
ScopedRef
);
13580
VerifyLocalSymbol(locals[1], "scoped ref R<System.Int32> r3", RefKind.Ref, ScopedKind.
ScopedRef
);
14425
VerifyLocalSymbol(locals[0], "scoped ref R r2", RefKind.Ref, ScopedKind.
ScopedRef
);
14426
VerifyLocalSymbol(locals[1], "scoped ref R r5", RefKind.Ref, ScopedKind.
ScopedRef
);
14467
VerifyLocalSymbol(locals[0], "scoped ref R r2", RefKind.Ref, ScopedKind.
ScopedRef
);
14468
VerifyLocalSymbol(locals[1], "scoped ref R r5", RefKind.Ref, ScopedKind.
ScopedRef
);
14599
VerifyLocalSymbol(locals[6], "scoped ref R r41", RefKind.Ref, ScopedKind.
ScopedRef
);
14600
VerifyLocalSymbol(locals[7], "scoped ref R r42", RefKind.Ref, ScopedKind.
ScopedRef
);
14669
VerifyLocalSymbol(locals[1], "scoped ref R r2", RefKind.Ref, ScopedKind.
ScopedRef
);
14670
VerifyLocalSymbol(locals[2], "scoped ref readonly R r5", RefKind.RefReadOnly, ScopedKind.
ScopedRef
);
15125
VerifyLocalSymbol(locals[4], "scoped ref scoped s5", RefKind.Ref, ScopedKind.
ScopedRef
);
15126
VerifyLocalSymbol(locals[5], "scoped ref scoped s6", RefKind.Ref, ScopedKind.
ScopedRef
);
15209
VerifyLocalSymbol(locals[1], "scoped ref R<System.Int32> r3", RefKind.Ref, ScopedKind.
ScopedRef
);
18018
VerifyParameterSymbol(delegateInvokeMethods[1].Parameters[1], "scoped ref System.Int32 arg2", RefKind.Ref, ScopedKind.
ScopedRef
);
23443
VerifyParameterSymbol(type.GetMethod("Get").ThisParameter, "ref R1<System.Int32> this", RefKind.Ref, ScopedKind.
ScopedRef
, expectedHasUnscopedRefAttribute: false);
23444
VerifyParameterSymbol(type.GetMethod("get_Item").ThisParameter, "ref R1<System.Int32> this", RefKind.Ref, ScopedKind.
ScopedRef
, expectedHasUnscopedRefAttribute: false);
23512
VerifyParameterSymbol(type.GetMethod("Get").ThisParameter, "ref R1<System.Int32> this", RefKind.Ref, ScopedKind.
ScopedRef
, expectedHasUnscopedRefAttribute: false);
23513
VerifyParameterSymbol(type.GetMethod("get_Item").ThisParameter, "ref R1<System.Int32> this", RefKind.Ref, ScopedKind.
ScopedRef
, expectedHasUnscopedRefAttribute: false);
23666
VerifyParameterSymbol(parameters[1], "scoped ref R x", RefKind.Ref, ScopedKind.
ScopedRef
);
23730
VerifyParameterSymbol(baseType.GetMethod("F2A").Parameters[0], "scoped ref R<System.Int32> r2", RefKind.Ref, ScopedKind.
ScopedRef
);
23953
VerifyParameterSymbol(parameters[1], "out System.Int32 x", RefKind.Out, ScopedKind.
ScopedRef
, expectedHasUnscopedRefAttribute: false);
24012
VerifyParameterSymbol(baseType.GetMethod("F1A").Parameters[0], "out System.Int32 t1", RefKind.Out, ScopedKind.
ScopedRef
, expectedHasUnscopedRefAttribute: false);
24013
VerifyParameterSymbol(baseType.GetMethod("F2A").Parameters[0], "out System.Int32 t2", RefKind.Out, ScopedKind.
ScopedRef
, expectedHasUnscopedRefAttribute: false);
24078
VerifyParameterSymbol(baseType.GetMethod("F2A").Parameters[0], "scoped ref System.Int32 t2", RefKind.Ref, ScopedKind.
ScopedRef
, expectedHasUnscopedRefAttribute: false);
24144
VerifyParameterSymbol(baseType.GetMethod("F2A").Parameters[0], "scoped in System.Int32 t2", RefKind.In, ScopedKind.
ScopedRef
, expectedHasUnscopedRefAttribute: false);
24510
VerifyParameterSymbol(lambdas[0].Parameters[0], "out System.Int32 i1", RefKind.Out, ScopedKind.
ScopedRef
, expectedHasUnscopedRefAttribute: false);
24512
VerifyParameterSymbol(lambdas[2].Parameters[0], "out System.Object o1", RefKind.Out, ScopedKind.
ScopedRef
, expectedHasUnscopedRefAttribute: false);
24583
VerifyParameterSymbol(lambdas[0].Parameters[0], "scoped ref R<System.Int32> r1", RefKind.Ref, ScopedKind.
ScopedRef
, expectedHasUnscopedRefAttribute: false);
24585
VerifyParameterSymbol(lambdas[2].Parameters[0], "scoped ref R<System.Object> r1", RefKind.Ref, ScopedKind.
ScopedRef
, expectedHasUnscopedRefAttribute: false);
25007
VerifyParameterSymbol(typeA.GetMethod("NoAttributes").Parameters[0], "out System.Int32 i", RefKind.Out, ScopedKind.
ScopedRef
, expectedHasUnscopedRefAttribute: false);
25008
VerifyParameterSymbol(typeA.GetMethod("ScopedRefOnly").Parameters[0], "out System.Int32 i", RefKind.Out, ScopedKind.
ScopedRef
, expectedHasUnscopedRefAttribute: false);
25110
VerifyParameterSymbol(typeA.GetMethod("ScopedRefOnly").Parameters[0], "scoped ref R x", RefKind.Ref, ScopedKind.
ScopedRef
, expectedHasUnscopedRefAttribute: false);
25218
VerifyParameterSymbol(typeA.GetMethod("ScopedRefOnly").Parameters[0], "scoped in R x", RefKind.In, ScopedKind.
ScopedRef
, expectedHasUnscopedRefAttribute: false);
25275
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("S1.F1").ThisParameter, "ref S1 this", RefKind.Ref, ScopedKind.
ScopedRef
);
25276
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("S2.F2").ThisParameter, "in S2 this", RefKind.In, ScopedKind.
ScopedRef
);
25277
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("A.F3").Parameters[0], "out System.Int32 i3", RefKind.Out, useUpdatedRules ? ScopedKind.
ScopedRef
: ScopedKind.None);
25318
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("S1.F1").ThisParameter, "ref S1 this", RefKind.Ref, ScopedKind.
ScopedRef
);
25319
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("S2.F2").ThisParameter, "in S2 this", RefKind.In, ScopedKind.
ScopedRef
);
25320
VerifyParameterSymbol(comp.GetMember<MethodSymbol>("A.F3").Parameters[0], "out System.Int32 i3", RefKind.Out, useUpdatedRules ? ScopedKind.
ScopedRef
: ScopedKind.None);
25352
verifyParameter(delegateTypesAndLambdas[0], 0, "out System.Int32", "i1", RefKind.Out, useUpdatedRules ? ScopedKind.
ScopedRef
: ScopedKind.None);
25356
verifyParameter(delegateTypesAndLambdas[4], 0, "out R", "r5", RefKind.Out, useUpdatedRules ? ScopedKind.
ScopedRef
: ScopedKind.None);
25402
VerifyParameterSymbol(getFunctionPointerMethod(comp, "A.F1").Parameters[0], "out modreq(System.Runtime.InteropServices.OutAttribute) System.Int32", RefKind.Out, useUpdatedRules ? ScopedKind.
ScopedRef
: ScopedKind.None);
25406
VerifyParameterSymbol(getFunctionPointerMethod(comp, "A.F5").Parameters[0], "out modreq(System.Runtime.InteropServices.OutAttribute) R", RefKind.Out, useUpdatedRules ? ScopedKind.
ScopedRef
: ScopedKind.None);
25471
var scopedRefInCSharp10 = languageVersion == LanguageVersion.CSharp11 ? ScopedKind.None : ScopedKind.
ScopedRef
;
27047
VerifyParameterSymbol(method.Parameters[0], "out System.Int32 i", RefKind.Out, version == 11 ? ScopedKind.
ScopedRef
: ScopedKind.None);
27175
VerifyParameterSymbol(method.Parameters[0], "out T t", RefKind.Out, expectedUseUpdatedEscapeRules ? ScopedKind.
ScopedRef
: ScopedKind.None);
27668
VerifyLocalSymbol(locals[1], "scoped ref R r2", RefKind.Ref, ScopedKind.
ScopedRef
);
27669
VerifyLocalSymbol(locals[2], "scoped ref readonly R r5", RefKind.RefReadOnly, ScopedKind.
ScopedRef
);
27758
VerifyLocalSymbol(locals[1], "scoped ref R r2", RefKind.Ref, ScopedKind.
ScopedRef
);
27759
VerifyLocalSymbol(locals[2], "scoped ref readonly R r5", RefKind.RefReadOnly, ScopedKind.
ScopedRef
);
27881
VerifyLocalSymbol(locals[4], "scoped ref scoped s5", RefKind.Ref, ScopedKind.
ScopedRef
);
27882
VerifyLocalSymbol(locals[5], "scoped ref scoped s6", RefKind.Ref, ScopedKind.
ScopedRef
);
27982
VerifyLocalSymbol(locals[4], "scoped ref scoped s5", RefKind.Ref, ScopedKind.
ScopedRef
);
27983
VerifyLocalSymbol(locals[5], "scoped ref scoped s6", RefKind.Ref, ScopedKind.
ScopedRef
);
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SyntaxGeneratorInternalExtensions\SyntaxGeneratorInternal.cs (1)
107
=> symbol is { RefKind: RefKind.Ref or RefKind.In or RefKind.RefReadOnlyParameter, ScopedKind: ScopedKind.
ScopedRef
}
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SyntaxGeneratorInternalExtensions\SyntaxGeneratorInternal.cs (1)
107
=> symbol is { RefKind: RefKind.Ref or RefKind.In or RefKind.RefReadOnlyParameter, ScopedKind: ScopedKind.
ScopedRef
}
Roslyn.Diagnostics.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SyntaxGeneratorInternalExtensions\SyntaxGeneratorInternal.cs (1)
107
=> symbol is { RefKind: RefKind.Ref or RefKind.In or RefKind.RefReadOnlyParameter, ScopedKind: ScopedKind.
ScopedRef
}
Text.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\SyntaxGeneratorInternalExtensions\SyntaxGeneratorInternal.cs (1)
107
=> symbol is { RefKind: RefKind.Ref or RefKind.In or RefKind.RefReadOnlyParameter, ScopedKind: ScopedKind.
ScopedRef
}