線上看 dot Net (.NET) 原始碼 http://referencesource.microsoft.com Reference Source .NET Framework 4.6
Browse the .NET Framework source code online, with search and navigation powered by Roslyn.
See details at the .NET Framework blog.
How to configure Visual Studio for debugging .NET framework
Find type and member declarations, files, assemblies and GUIDs
Search for: Examples
Full or partial type or member name.
The string needs to be a prefix, "Builder" won't find "StringBuilder", but will find "BuilderType".
Use quotes to find exact string (turns off prefix search).
BitConverter
System.Console
Debug.Asse
"StringBuilder"
Use "assembly" prefix to search for assembly names.
assembly System.
Use a keyword to filter by member type:
assembly, type, class, struct, interface, enum, delegate, method, property, event, field, file
class Assembly
struct DateTime
interface IQueryable
Add words separated by space to filter results to only those that contain all of the words. Can also filter by assembly name.
task factory
StringBuilder mscorlib
Find .cs or .vb files.
Enumerable.cs
Find projects by path.
ndp\fx\src\data
Find GUIDs mentioned in string literals.
03973551-57A1-3900-A2B5-9083E3FF2943
Easy hyperlinks to files, types, members, projects/assemblies
When viewing the source code in a file, two links at the bottom provide shortcuts to the current file and the current assembly.
Click on a line number to get a hyperlink to that particular line.
Feature Example
Link to assembly /#System.Core
Link to file /#mscorlib/system/environment.cs
Link to line number /#mscorlib/system/environment.cs#56
Link to a type/member /mscorlib/a.html#1f55292c3174123d (right-click the definition and choose Copy Shortcut)
Link to search results /#q=Button%20PresentationFramework
Features
Feature Description
Go To Definition Click any identifier to go to definition.
Find All References Click the symbol name in definition to find all references. Find References also shows derived types, interface implementations, base members, overriding and overridden members, class instantiations and field or property writes separately.
Highlight References Click on a local variable, parameter or type parameter to highlight all references inline in source.
Document Outline In the document view, show the list of types and members in the file.
Project Explorer Display the tree view of files in the current project/assembly. References and Used By folders list dependent and depending assemblies (not available for mscorlib).
Namespace Explorer Namespaces and types in the current project/assembly.
沒有留言:
張貼留言