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