10 references to DeclaredScope
Microsoft.CodeAnalysis.CSharp (10)
Symbols\Source\ParameterHelpers.cs (1)
194
Debug.Assert(parameter is SourceComplexParameterSymbolBase || parameter is not SourceParameterSymbol s || s.
DeclaredScope
== ScopedKind.None); // Only SourceComplexParameterSymbolBase validates 'scope'.
Symbols\Source\SourceComplexParameterSymbol.cs (2)
868
else if (
DeclaredScope
!= ScopedKind.None)
1535
if (
DeclaredScope
== ScopedKind.ScopedValue && !Type.IsErrorOrRefLikeOrAllowsRefLikeType())
Symbols\Source\SourceConstructorSymbol.cs (2)
320
if (definitionParameter.
DeclaredScope
!= implementationParameter.
DeclaredScope
)
Symbols\Source\SourceParameterSymbol.cs (3)
142
this.
DeclaredScope
);
160
this.
DeclaredScope
);
237
var declaredScope = this.
DeclaredScope
;
Symbols\Source\SourcePropertySymbol.cs (2)
763
if (definitionParameter.
DeclaredScope
!= implementationParameter.
DeclaredScope
)