3 writes to SourceReferenceResolver
Microsoft.CodeAnalysis (1)
Compilation\CompilationOptions.cs (1)
317this.SourceReferenceResolver = sourceReferenceResolver;
Microsoft.CodeAnalysis.CSharp (1)
CSharpCompilationOptions.cs (1)
579return new CSharpCompilationOptions(this) { SourceReferenceResolver = resolver };
Microsoft.CodeAnalysis.VisualBasic (1)
VisualBasicCompilationOptions.vb (1)
946Return New VisualBasicCompilationOptions(Me) With {.SourceReferenceResolver = resolver}
28 references to SourceReferenceResolver
ConfigurationSchemaGenerator (1)
RuntimeSource\Configuration.Binder\Specs\InterceptorInfo.cs (1)
192SourceReferenceResolver? sourceReferenceResolver = invocation.SemanticModel?.Compilation.Options.SourceReferenceResolver;
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
StaticRouteHandlerModel\Endpoint.cs (1)
166var filePath = operation.Syntax.SyntaxTree.GetInterceptorFilePath(operation.SemanticModel?.Compilation.Options.SourceReferenceResolver);
Microsoft.CodeAnalysis (7)
CommandLine\CommonCompiler.cs (2)
426Debug.Assert(compilation.Options.SourceReferenceResolver is object); 453ResolveEmbeddedFilesFromExternalSourceDirectives(tree, compilation.Options.SourceReferenceResolver, embeddedFileOrderedSet, diagnostics);
Compilation\CompilationOptions.cs (3)
646object.Equals(this.SourceReferenceResolver, other.SourceReferenceResolver) && 693Hash.Combine(this.SourceReferenceResolver,
Compilation\DeterministicKeyBuilder.cs (1)
503WriteType(writer, "sourceReferenceResolver", options.SourceReferenceResolver?.GetType());
Emit\CommonPEModuleBuilder.cs (1)
63DebugDocumentsBuilder = new DebugDocumentsBuilder(compilation.Options.SourceReferenceResolver, compilation.IsCaseSensitive);
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Invocation.cs (1)
1632string path = callerSourceLocation.SourceTree.GetDisplayPath(callerSourceLocation.SourceSpan, Compilation.Options.SourceReferenceResolver);
Binder\BinderFactory.cs (1)
79_buckStopsHereBinder = new BuckStopsHereBinder(compilation, FileIdentifier.Create(syntaxTree, compilation.Options.SourceReferenceResolver));
Compilation\CSharpCompilation.cs (5)
436options.SourceReferenceResolver, 660oldOptions.SourceReferenceResolver == options.SourceReferenceResolver; 677options.SourceReferenceResolver, 1071var resolver = Options.SourceReferenceResolver;
Compilation\CSharpSemanticModel.cs (1)
5232return new InterceptableLocation1(checksum, path, Compilation.Options.SourceReferenceResolver, nameSyntax.Position, lineNumberOneIndexed, characterNumberOneIndexed);
Compiler\DocumentationCommentCompiler.IncludeElementExpander.cs (1)
549Binder binder = new BuckStopsHereBinder(compilation, FileIdentifier.Create(syntaxTree, compilation.Options.SourceReferenceResolver));
CSharpCompilationOptions.cs (2)
253sourceReferenceResolver: other.SourceReferenceResolver, 574if (ReferenceEquals(resolver, this.SourceReferenceResolver))
Symbols\Source\SourceMemberContainerSymbol.cs (1)
873return FileIdentifier.Create(syntaxTree, DeclaringCompilation?.Options?.SourceReferenceResolver);
Symbols\SymbolDistinguisher.cs (1)
170string path = tree.GetDisplayPath(span, (compilation != null) ? compilation.Options.SourceReferenceResolver : null);
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (1)
222Binder result = new BuckStopsHereBinder(compilation, FileIdentifier.Create(syntaxNode.SyntaxTree, compilation.Options.SourceReferenceResolver));
Microsoft.CodeAnalysis.EditorFeatures (1)
Interactive\InteractiveSession.cs (1)
287var sourceResolver = (SourceFileResolver)compilationOptions.SourceReferenceResolver!;
Microsoft.CodeAnalysis.Rebuild.UnitTests (1)
RoundTripUtil.cs (1)
232case nameof(CompilationOptions.SourceReferenceResolver):
Microsoft.CodeAnalysis.VisualBasic (3)
Binding\Binder_Invocation.vb (1)
3152callerInfoValue = ConstantValue.Create(callerInfoOpt.SyntaxTree.GetDisplayPath(callerInfoOpt.Span, Me.Compilation.Options.SourceReferenceResolver))
VisualBasicCompilationOptions.vb (2)
326sourceReferenceResolver:=other.SourceReferenceResolver, 942If resolver Is Me.SourceReferenceResolver Then