10 references to DeclaredScope
Microsoft.CodeAnalysis.CSharp (10)
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)
868else if (DeclaredScope != ScopedKind.None) 1535if (DeclaredScope == ScopedKind.ScopedValue && !Type.IsErrorOrRefLikeOrAllowsRefLikeType())
Symbols\Source\SourceConstructorSymbol.cs (2)
320if (definitionParameter.DeclaredScope != implementationParameter.DeclaredScope)
Symbols\Source\SourceParameterSymbol.cs (3)
142this.DeclaredScope); 160this.DeclaredScope); 237var declaredScope = this.DeclaredScope;
Symbols\Source\SourcePropertySymbol.cs (2)
763if (definitionParameter.DeclaredScope != implementationParameter.DeclaredScope)